/get-stdin-promise

Return stdin as a promise.

Primary LanguageJavaScriptISC LicenseISC

get-stdin-promise

Build Status NPM version

Promise version of get-stdin

Install

$ npm install --save get-stdin-promise

Usage

var stdin = require('get-stdin-promise')

stdin.then(function (text) {
	console.log(text + '!!!')
})

License

ISC © Raine Lourie