https://github.com/unisharp/n
A nodejs stdin handler for pipeline command.
https://github.com/unisharp/n
Last synced: 15 days ago
JSON representation
A nodejs stdin handler for pipeline command.
- Host: GitHub
- URL: https://github.com/unisharp/n
- Owner: UniSharp
- License: mit
- Created: 2017-02-18T08:52:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-25T10:34:02.000Z (over 9 years ago)
- Last Synced: 2025-11-22T08:12:44.910Z (7 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Using javascript in *nix pipeline.
## Usage
```
echo 'hello world' | n '.split(" ").join(",")'
cat z.diff | n '.match(/^\+/) && console.log(line)';
```