
NPM (Node package manager)
18.09.2024
14
0
0
0
Is a package manager for the JavaScript programming language, primarily used for managing packages (libraries and tools) that are part of the Node.js ecosystem. It enables developers to easily share and reuse code, manage project dependencies, and streamline the process of installing and maintaining libraries.
NPM consist from the next parts:
- A website -> https://docs.npmjs.com
- CLI tool
- registry
NPM used for:
- Adapting code packages for your applications
- Downloading a standalone tools
- Running packages without downloads using npx.
- Managing multiple versions of packages
- Updating applications
Some basics commands:
Installing new package with a specific version
Package updating with a specific version
Run a task