node.js api for n (https://www.npmjs.org/package/n)