Languages
[Edit]
EN

npm - create package.json file

9 points
Created by:
Kadeem-Craig
516

In this short article, we would like to show how to create package.json file with npm.

Quick solution (run in the command line in the project directory):

Note: the command carries user through the steps setting basic configuration.

 

Usage example

Edit

To run npm init we should create some directory for our new project.

Result:

 

Alternative titles

  1. JavaScript - create new empty npm project
1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join