ShellJS
Portable Unix shell commands for Node.js
... and writing your own ShellJS commands in the wiki. The most important thing is to require the most recent version of ShellJS as a peer-dependency. If you want to add unit tests for your plugin as well, you'll probably want it as a dev-dependency too.