About
A local package is a package installed locally into your project.
As opposed to global where your package is available on the whole system (computer)
Articles Related
Management
npm install will create the node_modules directory in the current directory (if one doesn't exist yet), and will download the package to that directory.
Install
- Yarn
yarn add package
- Npm
npm install package
Dev Dependency
- Install and add as dev dependency in package.json
npm install --save-dev <package_name>
- Uninstalling removing dev dependency in package.json
npm uninstall --save-dev <package_name>
See npm install doc
Location
The node_modules directory in the current directory.
Update
in the same directory as your package.json file.
npm update
Outdated
npm outdated
No output ! https://docs.npmjs.com/cli/outdated
Size
https://bundlephobia.com - https://github.com/pastelsky/bundlephobia