Skip to content

List actually resolved dependencies in node_modules

License

Notifications You must be signed in to change notification settings

harttle/real-ls

Repository files navigation

real-ls

Behaves similar to npm-ls but resolves dependencies by enhanced-resolve instead of reading lockfiles (as in loadVirtual) or reading node_modules (as in loadActual). This makes it somewhat:

  • universal as it doesn't make assumptions about how node_modules are organized, works for pnpm and rush.
  • useful for debugging build issues in webpack/rollup/etc., as it points out the actual resolved dependencies.

Usage

Using npx:

npx real-ls lodash
npx real-ls [email protected]

Install globally:

npm install -g real-ls
real-ls lodash

Arguments

real-ls --help

About

List actually resolved dependencies in node_modules

Resources

License

Stars

Watchers

Forks

Packages

No packages published