A very simple asynchronous stdin reader.
npm install -P async-stdin-read
const read_stdin = require( 'async-stdin-read' );
async function some_async_function() {
const input = await read_stdin();
console.log( "here is what we read from stdin:" );
console.log( input );
}
The MIT License (MIT)
This module was developed at Oportun, Inc.