NodeJS: Difference between revisions

174 bytes added ,  17 August 2019
no edit summary
No edit summary
No edit summary
Line 24: Line 24:
<code>npm install</code> installs the latest dependencies listed in <code>package.json</code> subject to the requirements listed in that file. It also updates <code>package-lock.json</code>.<br>
<code>npm install</code> installs the latest dependencies listed in <code>package.json</code> subject to the requirements listed in that file. It also updates <code>package-lock.json</code>.<br>
<code>npm ci</code> installs exact versions from the <code>package-lock.json</code>.
<code>npm ci</code> installs exact versions from the <code>package-lock.json</code>.
==Useful Packages==
===fs-extra===
[https://www.npmjs.com/package/fs-extra fs-extra] adds additional commands for accessing the filesystem such as copying and moving files.