🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

async-stdin-read

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-stdin-read

Asynchronously read all input from stdin.

1.0.0
latest
Source
npm
Version published
Maintainers
1
Created
Source

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.

Keywords

async

FAQs

Package last updated on 13 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts