js-shell
v0.0.1
Published
Pipe terminal commands into JavaScript
Downloads
5
Readme
js-shell (js)
Pipe terminal commands into JavaScript
Install
$ npm i -g js-shell
Usage
$ ls | js 'lines.map(line => line.toUpperCase())'
Examples
Find all files larger than 10K
Parse JSON (similar to jq)
Stringify JSON (similar to jo)
Related
Similar to iostreamer-X/Awkward except this is meant to be used between pipes of other commands, e.g., while doing bash scripting.
License
MIT © Eirik Brandtzæg