Compiled a list of differences between different types of dependencies supported by NPM. If you are someone like who doesn't change package.json
often but needs something for a quick reference then the below table might be helpful.
| Dimension | Direct | Dev | Peer | Optional | Bundled | |-----------------------------|---------------------------------------|-------------------------------------------------|------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------