June 2018
Intermediate to advanced
348 pages
8h 19m
English
NPM is installed and configured; now it's time to start working. There are two ways to install NPM packages. Our choice will depend on how we want to use the package. The options are as listed:
With this in mind, type the following command to install a new package:
$ npm install <package-name>
This instruction will create a folder called node_modules, where we will download all the packages we need. We can ensure that we have the package downloaded, entering the folder and checking the existence of a folder with a name similar to our package name. Run the ...
Read now
Unlock full access