Skip to content

Instantly share code, notes, and snippets.

@arnoldc
Last active October 5, 2023 19:09
Show Gist options
  • Save arnoldc/3f4c8fae4d141c342238ff0d6f6807f6 to your computer and use it in GitHub Desktop.
Save arnoldc/3f4c8fae4d141c342238ff0d6f6807f6 to your computer and use it in GitHub Desktop.
[npm] npm tips
npm ls -all
- to see all the dependencies of the project
npm ls <package-name>
- to see the dependencies of a specific package
npx depcheck
- to see which dependencies are not used in the project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment