xdhmoore xdhmoore - 1 year ago 49
Node.js Question

How do I find all installed packages that depend on a given package in NPM?

I have a npm package that i want to update. I can update my package.json, but I don't want to break something. Is there a way to list all of the installed packages that depend on it?

Answer Source

Just do it, nothing will break. If two packages depend on different versions of the same package, npm will just grab both and put them in respective node_modules directory.