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());