readline-sync : Synchronous Readline for interactively running to have a conversation with the user via a console(TTY).. You can installing readline-sync npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install readline-sync $ sudo npm install -g readline-sync
If want to update the readline-sync package execute the command as below,
$ sudo npm update readline-sync
Update package globally,
$ npm install -g readline-sync
$ sudo git clone https://github.com/rektide/readline-sync.git
$ sudo npm install -g ./readline-sync
readline-sync@1.4.7 /usr/lib/node_modules/readline-sync
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall readline-sync
| Package Name | readline-sync |
| Version | 1.4.7 |
| Description | Synchronous Readline for interactively running to have a conversation with the user via a console(TTY). |
| Released Date | 2017-03-18T13:49:01.999Z |
| Published by | anseki |
| How to Learn | https://www.npmjs.com/package/readline-sync/tutorial |