
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
driftcheck-cli
Advanced tools
Semantic diffing of config files (.env, JSON, YAML, TOML) across environments — typed drift detection with a CI exit-code gate.
Semantic diffing of structured config files across environments.
Compares .env, JSON, YAML, and TOML files by meaning — key paths and typed
values — instead of lines. Key reordering and formatting churn are invisible;
a silently diverged timeout, missing key, or stale feature flag is not.

$ driftcheck compare dev.env prod.env
dev.env <-> prod.env
MISSING IN prod.env (2)
- DEBUG "true"
- FEATURE_NEW_CHECKOUT "true"
VALUE DRIFT (2)
~ API_KEY [redacted] -> [redacted]
~ CACHE_TTL "60" -> "300"
TYPE DRIFT (1)
! server.port "8080" (string) -> 8080 (int)
npm install -g driftcheck-cli
This installs the driftcheck command as a prebuilt native binary (the CLI
is written in Go). Ships macOS and Linux, arm64 and x64 — including the
GitHub Actions / GitLab CI runners this tool is designed to gate. Elsewhere,
build from source and point DRIFTCHECK_BIN at the binary.
driftcheck compare <fileA> <fileB> # two files, any mix of formats
driftcheck compare-dir <dirA> <dirB> # recursive, pairs files by relative path
Flags: --json (CI output), --verbose, --show-secrets, --strict
(parse warnings fail the run), --fail-on missing,value,type,files,
--format env|json|yaml|toml (stdin / extension-less files),
--config PATH, --no-color.
Exit codes — designed as a CI gate: 0 no unexpected drift, 1 drift
found, 2 error.
Highlights:
"8080" vs 8080 is reported as type drift, distinct
from value drift — usually a quoting/templating bug.API_KEY, *_TOKEN,
*_SECRET, PASSWORD, … are compared on real values but printed
[redacted], in both human and --json output.env:, ports:) are
matched by their name/key/id field — inserting one element is one
drift, not a misaligned cascade..driftcheck.yaml ignore_values: forgives per-
environment value differences (DATABASE_URL) while still failing if the
key goes missing; ignore_files: silences expected per-env overlay files.Full documentation: https://github.com/adamsjack711-ux/driftcheck
MIT
FAQs
Semantic diffing of config files (.env, JSON, YAML, TOML) across environments — typed drift detection with a CI exit-code gate.
The npm package driftcheck-cli receives a total of 7 weekly downloads. As such, driftcheck-cli popularity was classified as not popular.
We found that driftcheck-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.