https://github.com/raineorshine/get-stdin-promise
Return stdin as a promise.
https://github.com/raineorshine/get-stdin-promise
Last synced: 1 day ago
JSON representation
Return stdin as a promise.
- Host: GitHub
- URL: https://github.com/raineorshine/get-stdin-promise
- Owner: raineorshine
- License: isc
- Created: 2014-12-10T01:23:21.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-10T01:28:31.000Z (almost 11 years ago)
- Last Synced: 2025-09-30T04:41:31.714Z (8 days ago)
- Language: JavaScript
- Homepage:
- Size: 113 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# get-stdin-promise
[](https://travis-ci.org/metaraine/get-stdin-promise)
[](http://badge.fury.io/js/get-stdin-promise)> Promise version of [get-stdin](https://github.com/sindresorhus/get-stdin)
## Install
```sh
$ npm install --save get-stdin-promise
```## Usage
```js
var stdin = require('get-stdin-promise')stdin.then(function (text) {
console.log(text + '!!!')
})```
## License
ISC © [Raine Lourie](https://github.com/metaraine)