js-shell

0.0.1 • Public • Published

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

/js-shell/

    Package Sidebar

    Install

    npm i js-shell

    Weekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • eirikb