What's the difference between dependencies, devDependencies and peerDependencies in npm package.json file?
Asked 07 September, 2021
Viewed 2.2K times
  • 57
Votes

This documentation answers my question very poorly. I didn't understand those explanations. Can someone say in simpler words? Maybe with examples if it's hard to choose simple words?

EDIT also added peerDependencies, which is closely related and might cause confusion.

14 Answer