console-reader
TypeScript icon, indicating that this package has built-in type declarations

1.0.11 • Public • Published

SimpleConsoleReader

Simple console reader!

Usage

const reader = require("console-reader").Static;

reader.readLine().then(message => {
    console.log("You typed: " + message + "!");

    reader.readKey().then(key => {
        console.log("You pressed " + key + "!");
    });
});

Readme

Keywords

none

Package Sidebar

Install

npm i console-reader

Weekly Downloads

1

Version

1.0.11

License

MIT

Unpacked Size

10.3 kB

Total Files

5

Last publish

Collaborators

  • oguzhanumutlu