Tutorial by Examples

npm init This will initialize a new NPM project for you - just press enter until it stops asking you questions. Now you'll notice that you have a new file called package.json. This file will, among other things, keep track of which packages or modules you've installed in your project.

Page 1 of 1