Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 327 Bytes

File metadata and controls

16 lines (12 loc) · 327 Bytes

node-scanner

A simple node.js Scanner based on Java Scanner class

How to use

First install it:

npm install input-scanner

then you can use it like this example:

const Scanner = require('input-scanner');
const scanner = new Scanner();
console.log(scanner.next());
console.log(scanner.nextNumber());