title: How to run a script before installing any npm module?
body: <p>I am trying to make a test for npm packages for my project such that every time I try to install a module i.e run <code>npm install &lt;module&gt;</code>  a script must be run before that module is installed. The preinstall script only works with <code>npm install</code> and not with <code>npm install &lt;module&gt;</code>.</p>
  
  <p>eg :- If run <code>npm install request</code> . It should run a script which shows me all the dependencies of the request module before installing the module. Thanks in advance. </p>