An Interest In:
Web News this Week
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
- March 26, 2024
- March 25, 2024
- March 24, 2024
June 13, 2019 11:03 am GMT
Original Link: https://dev.to/kojikanao/npm-commands-you-may-not-know-anj
npm commands you may not know, but useful!!!
npm home packageName
This command open package's home page.
$ npm home express
npm ls --depth 0
List packages you installed
$ npm ls --depth 0
npm prune
This command will remove packages which are not in package.json
, so this will be helpful to keep your project clean.
$ npm prune
npm outdated
This command checks the latest version of packages you installed
$ npm outdatedstyled-components 4.2.0 4.3.1 4.3.1 project_namestylelint 10.0.1 10.1.0 10.1.0 project_namethree 0.104.0 0.104.0 0.105.2 project_namets-loader 5.4.5 5.4.5 6.0.2 project_name
Original Link: https://dev.to/kojikanao/npm-commands-you-may-not-know-anj
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To