What is a package.json file?

Experience Level: Junior
Tags: npm

Answer

A package.json file contains information (metadata) describing Node.js project (package).

A package.json file is stored in the root folder of the project and data it contains is used by npm to download project dependencies - packages hat the project needs to run.

Comments

No Comments Yet.
Be the first to tell us what you think.
npm for beginners
npm for beginners

Are you learning npm ? Try our test we designed to help you progress faster.

Test yourself