node.js / npm - override local default modules directory (node_modules)
<p>Let's say I don't want to install my local (per project) packages in node_modules - I'd like to have it under <code>sources/node_modules</code> instead of just <code>node_modules</code>. Is it possible to override it just like you can do in bower?</p>

<p>In bower you provide <code>.bowerrc</code> file with <code>directory</code> option, see <a href="http://bower.io/docs/config/" rel="nofollow">docs</a>. It works exactly as if you had <code>bower_components locally</code> - no additional files, loaders, nothing at all - just the container dir is different.</p>