real-ls
v1.2.1
Published
List actually resolved dependencies in node_modules
Readme
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 lodashArguments
real-ls --help