Simulator
Package Manager Explorer
Anatomy of package.json, semver ranges decoded, and a simulated npm terminal — watch installs mutate the manifest in real time.
package.jsonhover or click a field
"dependencies"Packages your code needs at runtime in production — express, database drivers, etc. Installed with `npm install <pkg>`. When others install your package, these come along.
Simulated terminal
Click a command above. Start with npm init -y.
Semver range decoder
Version specs in dependencies aren't exact versions — they're ranges. Try ^4.18.2, ~4.18.2, or 4.18.2.
^ caret — allow minor and patch updates. Matches >=4.18.2 and <5.0.0. This is npm's default: new features are OK, breaking changes are not.
dependencies runtime
Needed when your app runs: express, pg, zod… Installed everywhere, including production. If you require() it in app code, it belongs here.
devDependencies development only
Needed only while building: nodemon, eslint, typescript, test runners. Production installs skip them with npm install --omit=dev — smaller images and fewer moving parts in prod.