npm
Installation
SKILL.md
npm
npm is the default package manager for Node.js, providing dependency resolution, workspace management, security auditing, and publishing workflows for JavaScript ecosystems.
When to Use
- JavaScript / TypeScript Package Management: Installing, publishing, and managing npm modules and dependencies.
- Multi-Package Monorepos (npm Workspaces): Coordinating interconnected local packages with unified dependency resolution.
- Supply Chain Security & Provenance: Publishing packages with cryptographically verifiable build provenance.
- Vulnerability Auditing & Dependency Overrides: Resolving transitively vulnerable packages using
overrides.
Quick Start
npm init -y
npm install lodash
npm install --save-dev jest