{"adoption": {"forks": 68, "observed_at": "2026-08-28T04:05:07.992988+00:00", "stars": 1588}, "canonical_url": "https://ross.abutalabs.com/products/envalid", "card": {"archived": false, "artifact_type": "library", "description": "Environment variable validation for Node, Bun, and other compatible JS runtimes", "domain": ["developer-tools", "backend"], "enriched": true, "function": ["form-handling", "configuration-management", "developer-tools"], "health_score": 98, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["af/envalid"], "name": "af/envalid", "platform": ["bun", "cross-platform"], "pushed_at": "2026-08-21T13:33:57+00:00", "repo": "af/envalid", "stars": 1588, "tags": ["environment-variables", "env-validation", "typescript", "dotenv", "zero-dependency", "nodejs"], "topics": ["node", "nodejs", "environment", "validation", "javascript", "bun"], "urls": [], "use_cases": ["validate environment variables in a node app", "fail fast when required env vars are missing", "parse env vars into typed values like booleans and numbers", "enforce allowed choices for NODE_ENV", "load and validate .env config with dotenv", "get type-safe access to process.env in TypeScript"], "what_it_is": "Envalid is a small TypeScript library for validating and accessing environment variables in Node.js, Bun, and other compatible JavaScript runtimes. It ensures programs only run when required environment variables are present and valid, providing a type-safe, immutable API for env access.", "when_to_avoid": ["you need full config management beyond environment variables", "you're not on a JavaScript runtime", "you only need simple dotenv loading without validation"], "when_to_choose": ["you want zero-dependency, type-safe env validation for Node or Bun", "you need executable documentation of your app's environment requirements", "you want immutable, sanitized env objects with custom validators and reporters"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/envalid", "repo": "af/envalid", "role": "main", "score": 83}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.992988+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:54:59.923698+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ca431a72ef3b62d842b87246d76f12fb4e5492cde6b73b8eefcd20bec8f7f986", "fetched_at": "2026-08-28T04:05:07.992988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/af/envalid"}, {"content_hash": "ab212b359312487babc8941677b15317866352f9e814163ba93b271d756d1f03", "fetched_at": "2026-08-29T11:25:56.006360+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/envalid"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.992988+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:54:59.923698+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ca431a72ef3b62d842b87246d76f12fb4e5492cde6b73b8eefcd20bec8f7f986", "fetched_at": "2026-08-28T04:05:07.992988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/af/envalid"}, {"content_hash": "ab212b359312487babc8941677b15317866352f9e814163ba93b271d756d1f03", "fetched_at": "2026-08-29T11:25:56.006360+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/envalid"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:54:59.923698+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ca431a72ef3b62d842b87246d76f12fb4e5492cde6b73b8eefcd20bec8f7f986", "fetched_at": "2026-08-28T04:05:07.992988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/af/envalid"}, {"content_hash": "ab212b359312487babc8941677b15317866352f9e814163ba93b271d756d1f03", "fetched_at": "2026-08-29T11:25:56.006360+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/envalid"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.992988+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.992988+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.992988+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:54:59.923698+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ca431a72ef3b62d842b87246d76f12fb4e5492cde6b73b8eefcd20bec8f7f986", "fetched_at": "2026-08-28T04:05:07.992988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/af/envalid"}, {"content_hash": "ab212b359312487babc8941677b15317866352f9e814163ba93b271d756d1f03", "fetched_at": "2026-08-29T11:25:56.006360+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/envalid"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.992988+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.992988+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:54:59.923698+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ca431a72ef3b62d842b87246d76f12fb4e5492cde6b73b8eefcd20bec8f7f986", "fetched_at": "2026-08-28T04:05:07.992988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/af/envalid"}, {"content_hash": "ab212b359312487babc8941677b15317866352f9e814163ba93b271d756d1f03", "fetched_at": "2026-08-29T11:25:56.006360+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/envalid"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.992988+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.992988+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.992988+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:54:59.923698+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ca431a72ef3b62d842b87246d76f12fb4e5492cde6b73b8eefcd20bec8f7f986", "fetched_at": "2026-08-28T04:05:07.992988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/af/envalid"}, {"content_hash": "ab212b359312487babc8941677b15317866352f9e814163ba93b271d756d1f03", "fetched_at": "2026-08-29T11:25:56.006360+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/envalid"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.992988+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:07.992988+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:54:59.923698+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ca431a72ef3b62d842b87246d76f12fb4e5492cde6b73b8eefcd20bec8f7f986", "fetched_at": "2026-08-28T04:05:07.992988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/af/envalid"}, {"content_hash": "ab212b359312487babc8941677b15317866352f9e814163ba93b271d756d1f03", "fetched_at": "2026-08-29T11:25:56.006360+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/envalid"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:54:59.923698+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ca431a72ef3b62d842b87246d76f12fb4e5492cde6b73b8eefcd20bec8f7f986", "fetched_at": "2026-08-28T04:05:07.992988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/af/envalid"}, {"content_hash": "ab212b359312487babc8941677b15317866352f9e814163ba93b271d756d1f03", "fetched_at": "2026-08-29T11:25:56.006360+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/envalid"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:54:59.923698+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ca431a72ef3b62d842b87246d76f12fb4e5492cde6b73b8eefcd20bec8f7f986", "fetched_at": "2026-08-28T04:05:07.992988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/af/envalid"}, {"content_hash": "ab212b359312487babc8941677b15317866352f9e814163ba93b271d756d1f03", "fetched_at": "2026-08-29T11:25:56.006360+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/envalid"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:54:59.923698+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ca431a72ef3b62d842b87246d76f12fb4e5492cde6b73b8eefcd20bec8f7f986", "fetched_at": "2026-08-28T04:05:07.992988+00:00", "kind": "readme", "missing": false, "url": "https://github.com/af/envalid"}, {"content_hash": "ab212b359312487babc8941677b15317866352f9e814163ba93b271d756d1f03", "fetched_at": "2026-08-29T11:25:56.006360+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/envalid"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 100, "rhythm": 55}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5025, "days_push": 12, "days_rel": 85, "gap_med": 332, "n_releases_24m": 2}, "score": 83, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}