AbsoluteJS

absolute env

See exactly which environment variables your app reads — and which ones are missing — before they bite you.

#Usage

absolute env scans your source for getEnv() calls and reports each variable as set or missing, with the files that reference it. Pass --check to exit non-zero when any are missing — drop it in CI so a missing secret fails the build instead of the deploy. --json for scripting.

BASH
# Report the env vars the app reads via getEnv()
absolute env

# Fail (exit 1) if any are missing — for CI
absolute env --check
absolute env
$ absolute env
✓ DATABASE_URL set 2 files ✗ OAUTH2_CALLBACK_URI missing 1 file 2 referenced · 1 missing