#npm
Posts tagged with “npm”.
4 posts
01
npm vs Yarn vs pnpm: Which Package Manager to Use
The three Node package managers differ in speed, disk usage and strictness. Learn the trade-offs and how to choose for a project.
02
package.json Explained: Every Field That Matters
The manifest of a Node project. Learn the fields that affect resolution, the scripts, the exports map, and the version ranges.
03
Semantic Versioning Explained: MAJOR.MINOR.PATCH
What MAJOR.MINOR.PATCH actually promises, when a breaking change has to bump the major version, and why caret and tilde ranges behave the way they do.
04
Creating CLI Tools in Node.js
Build and publish Node.js command-line tools: shebang, package.json bin, commander.js arguments, colored output, prompts, testing, and npm publishing.