How do I create a JSON file?

Ngô Quốc Huy

New member
How do I create a JSON file?
Answer
json file using npm init , but you can also create one automatically. Creating a package. json file is typically the first step in a Node project, and you need one to install dependencies in npm.

…

Create package. json
  1. Enter the root folder of your project.
  2. Run npm init.
  3. Fill out the prompts to create your package. json.
 

Tìm kiếm

Back
Top