Developer Tools
Safeguard articles tagged "Developer Tools" — guides, analysis, and best practices for software supply chain and application security.
2876 articles
npmrc basics: scoped registries and tokens that stay on one host
Route a package scope to a private registry with one npmrc line and scope the auth token to that host so npm never sends it to the wrong place.
npm workspaces: install and run commands for one package
How npm workspaces link packages, and the exact commands to add a dependency, run a script or test one package or all of them in a monorepo.
npm workspaces explained: one repo, many packages, one install
How npm workspaces link local packages, where the lockfile lives, and how to run commands in one, several or all workspaces without surprises.
npm peer dependencies explained: what changed in npm 7 and why
Peer dependencies state which host package a plugin works with. Since npm 7 they install by default. Learn optional peers and how to write a sane range.
npm overrides: how to force a version of a transitive dependency
How npm overrides work in package.json: root only scope, nesting, version keys, the dollar reference and the error when you override a direct dependency.
npm outdated explained: Current, Wanted and Latest columns
What the Current, Wanted and Latest columns in npm outdated mean, why Wanted can differ from Latest, and what the red and yellow colours tell you.
Should you set npm ignore-scripts on your developer machine?
Setting ignore-scripts to true stops install-time scripts from running. It helps on a laptop, breaks some packages and does not cover code that runs later.
package.json engines is advisory by default: how to enforce it
The engines field in package.json only warns unless engine-strict is set. Learn what it does, where it matters, and how to pin your runtime in CI.
npm says a package is deprecated. What should you do?
A deprecation notice is a maintainer's warning, not a ban. Read the message, decide if you are affected, and plan a replacement before it becomes a problem.
npm dedupe and find-dupes: cleaning up duplicate packages
Why the same package appears at several versions in node_modules, what npm dedupe changes, and how find-dupes previews it before you touch anything.
npm ci vs npm install: which one belongs in your pipeline?
npm ci installs exactly what the lockfile says and fails on drift, while npm install can change it. Why that difference matters for supply chain safety.
npm ci vs npm install when AI edits your dependencies
Why CI should use npm ci, how it catches a manifest and lockfile mismatch, and how that limits what an AI-edited package.json can quietly change.
Self-healing security runs on Safeguard.
Your first fix PR is minutes away.
No sales call required, even your agent can complete the purchase over MCP.