title: How to make a package.json from hacked node_modules folder
body: <p>So I installed some modules with npm and others I just copied and pasted into the node_modules folder.  One module I had to hack.</p>
  
  <p>Now when I perform npm install for a new module, it deletes some of the modules and overwrites the hacked one to its original state.</p>
  
  <p>It feels like I didn't run npm init early enough in development to properly set my package.json file from the start and now when I do run npm init it only picks up some of the modules.</p>
  
  <p>How can I get everything synced up again?  Is there a way to take a node_modules folder and get npm to become familiar with all the modules again?  Also, is there any way to prevent the hacked one from going back to its original state?</p>
  
  <p>Thank you!</p>