npm.io
1.0.3 • Published 9 years ago

native-console

Licence
ISC
Version
1.0.3
Deps
0
Vulns
0
Weekly
0
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)

How to install

$ npm install native-console

How to use

//To import module
var c = require("native-console");

//To write
c.write("Hello World!");

//To read from keyboard
var input = c.read();

Example

var c = require("native-console");
c.write("Write something: ");
var text = c.read();
c.write("You wrote: "+text);

Keywords