Open source · DevOps & Release

Feature Flag Expiry Auditor

Find feature flags past their planned removal date and owner.

v0.1.0 · Node.js 22+ · MIT

Browse the public repository · View releases

Offline, read-only audit of exported feature flags and a separately exported local-code reference index. It never edits, disables, or deletes a flag or source file. Node.js 22+, zero dependencies. src/index.mjs exports auditFlags(flagsDoc, referencesDoc, policy, {now, deadline}) and TOOLID.

This walkthrough uses the tool's public README and checked-in example files. Run the command from a repository checkout with Node.js 22+.

Run the checked-in example

node bin/feature-flag-expiry-auditor.mjs --root examples --policy policy.json --flags passing-flags.json --references references.json
node bin/feature-flag-expiry-auditor.mjs --root examples --policy policy.json --flags failing-flags.json --references references.json

Read the result

The synthetic examples exit 0 and 1. --help prints usage to stderr; a bounded human summary goes to stderr on normal runs. Stdout is exclusively the v1 JSON report.