Try and execute npm-flatten on node.js projects