0.0.1 • Published 7 years ago

js-shell v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

js-shell (js)Build Status

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 Imgur

Parse JSON (similar to jq) Imgur

Stringify JSON (similar to jo) Imgur

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