What is a package.json file?

Experience Level: Junior
Tags: npm


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.

Related npm job interview questions
npm for beginners
npm for beginners

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

Test yourself