title: Use a different node_modules directory for different versions of Node.js
body: <p>When using NVM, or otherwise switching between Node.js versions, node_modules has to be rebuilt for each Node version. Would it be possible somehow use a different node_modules directory for each version, instead of having to rebuild the contents everytime you switch between versions?</p>
  
  <p>something like:</p>
  
  <pre><code>node_modules_v8/
  node_modules_v7/
  node_modules_v6/
  </code></pre>
  
  <p>Maybe there is a better way to do this, not sure.</p>