Npm allows multiple types of dependencies, two of which are
dependencies
and peerDependencies
. Semantically, they refer to different things:
peerDependencies
expresses the compatibility of a package with a host tool or library, usually
referred to as a plugin, while dependencies
expresses dependencies in the general sense.
This is a companion discussion topic for the original entry at https://8hob.io/posts/difference-between-effects-of-dependencies-peerdependencies-npm-v7/