How do you add a new dependency to a file package.json?

Experience Level: Junior
Tags: npm

Answer

Oops, we don't have the answer yet...

Ask our expert directly

Comments

Anonymous
I would use npm install <nameOfPackage> --save
npm for beginners
npm for beginners

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

Test yourself