diff --git a/.eslintrc b/.eslintrc.json similarity index 96% rename from .eslintrc rename to .eslintrc.json index 120cb42..9b7834a 100644 --- a/.eslintrc +++ b/.eslintrc.json @@ -1,4 +1,5 @@ { + "root": true, "extends": "../../../_common/eslintrc.json", "env": {"node": true}, "rules": { diff --git a/README.md b/README.md index 071ea12..054e1c7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # readlineSync +[![npm](https://img.shields.io/npm/v/readline-sync.svg)](https://www.npmjs.com/package/readline-sync) [![GitHub issues](https://img.shields.io/github/issues/anseki/readline-sync.svg)](https://github.com/anseki/readline-sync/issues) [![dependencies](https://img.shields.io/badge/dependencies-No%20dependency-brightgreen.svg)](package.json) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE-MIT) + Synchronous [Readline](http://nodejs.org/api/readline.html) for interactively running to have a conversation with the user via a console(TTY). readlineSync tries to let your script have a conversation with the user via a console, even when the input/output stream is redirected like `your-script bar.log`. diff --git a/package.json b/package.json index 0f66e91..d13b77e 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,14 @@ "keywords": [ "readline", "synchronous", + "interactive", "prompt", "question", "password", + "cli", + "tty", + "command", + "repl", "keyboard", "wait", "block"