{"adoption": {"forks": 267, "observed_at": "2026-08-28T04:09:44.901620+00:00", "stars": 6524}, "canonical_url": "https://ross.abutalabs.com/products/cross-env", "card": {"archived": true, "artifact_type": "cli-tool", "description": "🔀 Cross platform setting of environment scripts", "domain": ["developer-tools", "cross-platform"], "enriched": true, "function": ["cli", "configuration-management", "developer-tools"], "health_score": 10, "homepage": "https://www.npmjs.com/package/cross-env", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["kentcdodds/cross-env"], "name": "kentcdodds/cross-env", "platform": ["cross-platform", "windows", "cli"], "pushed_at": "2025-11-16T14:11:37+00:00", "repo": "kentcdodds/cross-env", "stars": 6524, "tags": ["npm-scripts", "environment-variables", "cross-spawn", "nodejs", "command-line", "automation", "macos", "linux"], "topics": ["environment", "variables", "cross-platform", "windows", "unix", "macos", "cross-env"], "urls": [], "use_cases": ["set NODE_ENV=production in npm scripts that work on Windows", "run cross-platform build scripts with environment variables", "use $VAR syntax in scripts on Windows", "set multiple environment variables in a single npm script", "share environment variables between parent and child npm scripts", "avoid Windows cmd syntax differences in CI scripts"], "what_it_is": "cross-env is an npm-distributed CLI tool that lets developers set and use environment variables in npm scripts with POSIX syntax, working identically on Windows, macOS, and Linux. It is feature-complete and in maintenance mode, with no new features planned.", "when_to_avoid": ["you only target POSIX systems and can set env vars natively", "you need new features - the project is done and in maintenance mode", "you are on Node.js 18 or lower and need version 7 instead"], "when_to_choose": ["your npm scripts set environment variables and must run on Windows and Unix", "you want one script syntax instead of per-platform workarounds", "you need POSIX-style $VAR expansion in cross-platform shell commands"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/cross-env", "repo": "kentcdodds/cross-env", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:44.901620+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:44:25.001288+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5abc00a34988b549c2f49fd44acc6283f3059e60fac62ac3abe080435eda37f5", "fetched_at": "2026-08-28T04:09:44.901620+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/cross-env"}, {"content_hash": "6d294ca6294c5846691cf6196d2ca63e86f3f59733d7b54eb30a9e13a885f707", "fetched_at": "2026-08-29T08:40:48.174002+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/cross-env"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:44.901620+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:44:25.001288+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5abc00a34988b549c2f49fd44acc6283f3059e60fac62ac3abe080435eda37f5", "fetched_at": "2026-08-28T04:09:44.901620+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/cross-env"}, {"content_hash": "6d294ca6294c5846691cf6196d2ca63e86f3f59733d7b54eb30a9e13a885f707", "fetched_at": "2026-08-29T08:40:48.174002+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/cross-env"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:44:25.001288+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5abc00a34988b549c2f49fd44acc6283f3059e60fac62ac3abe080435eda37f5", "fetched_at": "2026-08-28T04:09:44.901620+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/cross-env"}, {"content_hash": "6d294ca6294c5846691cf6196d2ca63e86f3f59733d7b54eb30a9e13a885f707", "fetched_at": "2026-08-29T08:40:48.174002+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/cross-env"}], "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:09:44.901620+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:44.901620+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:44.901620+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:44:25.001288+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5abc00a34988b549c2f49fd44acc6283f3059e60fac62ac3abe080435eda37f5", "fetched_at": "2026-08-28T04:09:44.901620+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/cross-env"}, {"content_hash": "6d294ca6294c5846691cf6196d2ca63e86f3f59733d7b54eb30a9e13a885f707", "fetched_at": "2026-08-29T08:40:48.174002+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/cross-env"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:44.901620+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:44.901620+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:44:25.001288+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5abc00a34988b549c2f49fd44acc6283f3059e60fac62ac3abe080435eda37f5", "fetched_at": "2026-08-28T04:09:44.901620+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/cross-env"}, {"content_hash": "6d294ca6294c5846691cf6196d2ca63e86f3f59733d7b54eb30a9e13a885f707", "fetched_at": "2026-08-29T08:40:48.174002+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/cross-env"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:44.901620+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:44.901620+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:44.901620+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:44:25.001288+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5abc00a34988b549c2f49fd44acc6283f3059e60fac62ac3abe080435eda37f5", "fetched_at": "2026-08-28T04:09:44.901620+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/cross-env"}, {"content_hash": "6d294ca6294c5846691cf6196d2ca63e86f3f59733d7b54eb30a9e13a885f707", "fetched_at": "2026-08-29T08:40:48.174002+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/cross-env"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:44.901620+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:44.901620+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:44:25.001288+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5abc00a34988b549c2f49fd44acc6283f3059e60fac62ac3abe080435eda37f5", "fetched_at": "2026-08-28T04:09:44.901620+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/cross-env"}, {"content_hash": "6d294ca6294c5846691cf6196d2ca63e86f3f59733d7b54eb30a9e13a885f707", "fetched_at": "2026-08-29T08:40:48.174002+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/cross-env"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:44:25.001288+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5abc00a34988b549c2f49fd44acc6283f3059e60fac62ac3abe080435eda37f5", "fetched_at": "2026-08-28T04:09:44.901620+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/cross-env"}, {"content_hash": "6d294ca6294c5846691cf6196d2ca63e86f3f59733d7b54eb30a9e13a885f707", "fetched_at": "2026-08-29T08:40:48.174002+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/cross-env"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:44:25.001288+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5abc00a34988b549c2f49fd44acc6283f3059e60fac62ac3abe080435eda37f5", "fetched_at": "2026-08-28T04:09:44.901620+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/cross-env"}, {"content_hash": "6d294ca6294c5846691cf6196d2ca63e86f3f59733d7b54eb30a9e13a885f707", "fetched_at": "2026-08-29T08:40:48.174002+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/cross-env"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:44:25.001288+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "5abc00a34988b549c2f49fd44acc6283f3059e60fac62ac3abe080435eda37f5", "fetched_at": "2026-08-28T04:09:44.901620+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/cross-env"}, {"content_hash": "6d294ca6294c5846691cf6196d2ca63e86f3f59733d7b54eb30a9e13a885f707", "fetched_at": "2026-08-29T08:40:48.174002+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/cross-env"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 52, "longevity": 100, "rhythm": 38}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3989, "days_push": 290, "days_rel": 338, "gap_med": 65, "n_releases_24m": 2}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}