3.0.1 • Published 6 years ago
customshells v3.0.1
customshells
A library to simplify the use of shells in Node.js
npm install customshells
Example Usage:
const customshells = require('customshells');
const shell = customshells.create();
// Run a Node.js module
// at every node in
// a directory tree.
// Pipe all output
// to 'example/output.txt'.
shell
.node('myModule.js')
.tree('example/root/node')
.toFile('example/output.txt')
.run();