1.0.0 • Published 5 years ago

async-stdin-read v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

async-stdin-read

A very simple asynchronous stdin reader.

Installation

npm install -P async-stdin-read

Usage

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

License

The MIT License (MIT)

Thanks

This module was developed at Oportun, Inc.