Add manifest files to npm packages using npm init

Trevor Miller
InstructorTrevor Miller

Share this video with your friends

Send Tweet

We can create a package.json automatically by running npm init and answering the questions it gives. This becomes the “manifest” file for our package; it is used to populate the published npm page as well as to help the package manager to know how to install the package in consuming projects.