title: How generate nodejs express dependencies package.json
body: <p>As I started to develop my first nodejs express application, I added many packages with npm. </p>
  
  <p>I would like to know if there is a way to generate a <code>package.json</code> file containing all the current dependencies or the list of the current packages under the <code>nodes_modules</code> directory.</p>