What format does the package.json file use?

Experience Level: Junior
Tags: npm

Answer

The file extension .json is saying it all. A package.json contains data in JSON format.

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