For questions related to portable implementation of Unix shell commands for Node.js.
ShellJS is a portable (Windows/Linux/OS X) implementation of Unix shell-commands on top of the node.js
Usage
Install it using npm
$ npm install -g shelljs
And run scripts
$ shjs your_script_file
See also