TIL: What does npm uninstall do?
$ npm uninstall localtunnel
removed 22 packages, and audited 1 package in 126ms
found 0 vulnerabilities
npm uninstall
removes the package from yourpackage.json
.npm uninstall
deletes thenode_modules/localtunnel
directory and localtunnel's dependencies innode_modules
.
Reference:
Uninstall a Package with npm
`npm uninstall` lets you uninstall a package that you previously installed, including all of the package’s dependencies. Here’s what you need to know.
