Node.js · Junior · Question 21 of 75

What is package.json?

Explanation

It is the project manifest. npm init creates it. Fields like type, exports and engines also tell Node.js and npm how to treat the package.

Further reading

Problem with a question

Node.js · Junior · question 21

Test yourself

Take the Node.js · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz