User Tools

Site Tools


node_cheat_sheet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
node_cheat_sheet [2025/09/29 03:29] stephennode_cheat_sheet [2025/09/29 03:54] (current) stephen
Line 16: Line 16:
 | ''<nowiki>npm view <package-name>@1.3.1 dependencies</nowiki>'' | List the dependencies of a particular version of a package. | | ''<nowiki>npm view <package-name>@1.3.1 dependencies</nowiki>'' | List the dependencies of a particular version of a package. |
 | ''<nowiki>npm info <package-name></nowiki>'' | List a shit ton of info about package. | | ''<nowiki>npm info <package-name></nowiki>'' | List a shit ton of info about package. |
 +| ''<nowiki>Remove-Item -Recurse -Force node_modules</nowiki>'' | Clear the project node modules directory. |
 +| ''<nowiki>npm config get cache</nowiki>'' | Find the npm cache directory. |
 +| ''<nowiki>Remove-Item -Recurse -Force "$env:AppData\npm-cache"</nowiki>'' | Clear the project node modules directory. |
  
 ===== NVM (Node Version Manager) Commands ===== ===== NVM (Node Version Manager) Commands =====
node_cheat_sheet.txt · Last modified: 2025/09/29 03:54 by stephen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki