A local package is a package installed locally into your project.
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.
yarn add package
npm install package
- 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
The node_modules directory in the current directory.
in the same directory as your package.json file.
No output ! https://docs.npmjs.com/cli/outdated