/node-bash-pipe

Parse bash commands with n pipes

Primary LanguageJavaScriptMIT LicenseMIT

node-bash-pipe

Parse bash commands with n pipes in nodeJS. Just for fun. shellJS is the real deal. Inspired by child_process.spawn. Kinda cool how you can write data to a stream that has no handler for data yet. Note: Left out error handlers for brevity.

usage

$ node parser.js "cat LICENSE | grep -iw is | head -n1"

licence

MIT