node.js api for running "n" commands