npm-cp-prune Copy and prune node_modules to a new directory Install $ npm install --save npm-cp-prune Usage npm-cp-prune ./destination -- --production Flags to npm prune can be passed afer a --. License MIT © Ben Drucker