1.2.1 • Published 8 months ago
real-ls v1.2.1
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 lodash@4.17.21Install globally:
npm install -g real-ls
real-ls lodashArguments
real-ls --help