Check out a free preview of the full Creating an Open Source JavaScript Library on Github course:
The "NPM Configuration and NPM Init" Lesson is part of the full, Creating an Open Source JavaScript Library on Github course featured in this preview video. Here's what you'd learn in this lesson:

The “npm init” command will initialize a project and create the package.json file. There are a few questions asked by NPM each time the “init” command is run so Kent demonstrates how to update the .npmrc file with pre-populated default values. He then completes the initialization of the star-wars-names project. The code for this example can be found on the FEM/03.0-add-data branch. - http://slides.com/kentcdodds/write-oss#/5/1

Get Unlimited Access Now