Package Manager (NPM)
Installing a Package Locally
The packages which are installed locally are placed inside the node_modules directory of the project and recorded in the package.json. This approach ensures that the every project maintains its own set of dependencies, avoiding conflicts between the different projects that may require different versions of the same package.