Package Exports
- get-stdin
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (get-stdin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
get-stdin 
Easier stdin
Install
$ npm install --save get-stdinUsage
// example.js
var stdin = require('get-stdin');
stdin(function (data) {
console.log(data);
//=> unicorns
});$ echo unicorns | node example.js
unicornsAPI
stdin(callback)
Get stdin as a string.
stdin.buffer(callback)
Get stdin as a buffer.
License
MIT © Sindre Sorhus