Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jakeburden/clap-stream
don't 👏 write 👏 these 👏 manually, 👏 painstakingly 👏 use 👏 clap-stream 👏
https://github.com/jakeburden/clap-stream
Last synced: 17 days ago
JSON representation
don't 👏 write 👏 these 👏 manually, 👏 painstakingly 👏 use 👏 clap-stream 👏
- Host: GitHub
- URL: https://github.com/jakeburden/clap-stream
- Owner: jakeburden
- Created: 2018-04-02T21:09:27.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-07T17:00:39.000Z (over 6 years ago)
- Last Synced: 2024-12-19T16:51:35.964Z (about 1 month ago)
- Language: JavaScript
- Homepage: https://clap.sh
- Size: 6.84 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# clap-stream
> streams 👏 text 👏 to 👏 claps 👏
## Usage
```js
var clap = require('clap-stream')
var stream = clap()
stream.pipe(process.stdout)
stream.end('streams text to claps')
// yields 'streams 👏 text 👏 to 👏 claps 👏'
```> if installed globally (-g)
```bash
cat agile_manifesto.txt | clap-stream
```> or use npx
```bash
cat agile_manifesto.txt | npx clap-stream
```## Install
With [npm](https://npmjs.org/) installed, run
```
$ npm install clap-stream
```## License
MIT