{"adoption": {"forks": 143, "observed_at": "2026-08-28T04:08:36.593888+00:00", "stars": 4157}, "canonical_url": "https://ross.abutalabs.com/products/cosmiconfig", "card": {"archived": false, "artifact_type": "library", "description": "Find and load configuration from a package.json property, rc file, TypeScript module, and more!", "domain": ["developer-tools", "web-development", "backend"], "enriched": true, "function": ["configuration-management", "parser", "developer-tools"], "health_score": 94, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["cosmiconfig/cosmiconfig"], "name": "cosmiconfig/cosmiconfig", "platform": ["cross-platform"], "pushed_at": "2026-08-02T10:57:43+00:00", "repo": "cosmiconfig/cosmiconfig", "stars": 4157, "tags": ["config-loading", "rc-files", "package-json", "config-discovery", "javascript-tooling", "npm", "automation", "nodejs", "javascript", "typescript"], "topics": [], "urls": [], "use_cases": ["load configuration from package.json property", "find and load rc files for a CLI tool", "support multiple config file formats (json, yaml, js, ts)", "search up the directory tree for a config file", "add configurable settings to a JavaScript library", "load TypeScript config modules"], "what_it_is": "Cosmiconfig is a Node.js library that searches for and loads configuration files for JavaScript tools and applications. It supports conventional locations like package.json properties, rc files, and JS/TS config modules, with flexible search strategies and caching.", "when_to_avoid": ["you need environment-variable-only configuration", "you're not in the Node.js/JavaScript ecosystem", "you need a full config validation schema system (combine with a validator instead)"], "when_to_choose": ["you're building an npm tool or library that needs user configuration", "you want to support the standard JS ecosystem config conventions out of the box", "you need flexible config file discovery with caching"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/cosmiconfig", "repo": "cosmiconfig/cosmiconfig", "role": "main", "score": 77}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.593888+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:22:51.286313+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c749ad54ad7c10b0f4b0064e38f626a3cbfcd5d06b5ded8cb7876178616404c8", "fetched_at": "2026-08-28T04:08:36.593888+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cosmiconfig/cosmiconfig"}, {"content_hash": "57f57f47a33e6057359bfe09bf2b6953d784f5aebded2d48a03f28155ed01e4a", "fetched_at": "2026-08-29T09:13:54.177666+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/cosmiconfig"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.593888+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:22:51.286313+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c749ad54ad7c10b0f4b0064e38f626a3cbfcd5d06b5ded8cb7876178616404c8", "fetched_at": "2026-08-28T04:08:36.593888+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cosmiconfig/cosmiconfig"}, {"content_hash": "57f57f47a33e6057359bfe09bf2b6953d784f5aebded2d48a03f28155ed01e4a", "fetched_at": "2026-08-29T09:13:54.177666+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/cosmiconfig"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:22:51.286313+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c749ad54ad7c10b0f4b0064e38f626a3cbfcd5d06b5ded8cb7876178616404c8", "fetched_at": "2026-08-28T04:08:36.593888+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cosmiconfig/cosmiconfig"}, {"content_hash": "57f57f47a33e6057359bfe09bf2b6953d784f5aebded2d48a03f28155ed01e4a", "fetched_at": "2026-08-29T09:13:54.177666+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/cosmiconfig"}], "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:08:36.593888+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.593888+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.593888+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:22:51.286313+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c749ad54ad7c10b0f4b0064e38f626a3cbfcd5d06b5ded8cb7876178616404c8", "fetched_at": "2026-08-28T04:08:36.593888+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cosmiconfig/cosmiconfig"}, {"content_hash": "57f57f47a33e6057359bfe09bf2b6953d784f5aebded2d48a03f28155ed01e4a", "fetched_at": "2026-08-29T09:13:54.177666+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/cosmiconfig"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.593888+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.593888+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:22:51.286313+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c749ad54ad7c10b0f4b0064e38f626a3cbfcd5d06b5ded8cb7876178616404c8", "fetched_at": "2026-08-28T04:08:36.593888+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cosmiconfig/cosmiconfig"}, {"content_hash": "57f57f47a33e6057359bfe09bf2b6953d784f5aebded2d48a03f28155ed01e4a", "fetched_at": "2026-08-29T09:13:54.177666+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/cosmiconfig"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.593888+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.593888+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.593888+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:22:51.286313+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c749ad54ad7c10b0f4b0064e38f626a3cbfcd5d06b5ded8cb7876178616404c8", "fetched_at": "2026-08-28T04:08:36.593888+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cosmiconfig/cosmiconfig"}, {"content_hash": "57f57f47a33e6057359bfe09bf2b6953d784f5aebded2d48a03f28155ed01e4a", "fetched_at": "2026-08-29T09:13:54.177666+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/cosmiconfig"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.593888+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:36.593888+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:22:51.286313+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c749ad54ad7c10b0f4b0064e38f626a3cbfcd5d06b5ded8cb7876178616404c8", "fetched_at": "2026-08-28T04:08:36.593888+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cosmiconfig/cosmiconfig"}, {"content_hash": "57f57f47a33e6057359bfe09bf2b6953d784f5aebded2d48a03f28155ed01e4a", "fetched_at": "2026-08-29T09:13:54.177666+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/cosmiconfig"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:22:51.286313+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c749ad54ad7c10b0f4b0064e38f626a3cbfcd5d06b5ded8cb7876178616404c8", "fetched_at": "2026-08-28T04:08:36.593888+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cosmiconfig/cosmiconfig"}, {"content_hash": "57f57f47a33e6057359bfe09bf2b6953d784f5aebded2d48a03f28155ed01e4a", "fetched_at": "2026-08-29T09:13:54.177666+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/cosmiconfig"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:22:51.286313+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c749ad54ad7c10b0f4b0064e38f626a3cbfcd5d06b5ded8cb7876178616404c8", "fetched_at": "2026-08-28T04:08:36.593888+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cosmiconfig/cosmiconfig"}, {"content_hash": "57f57f47a33e6057359bfe09bf2b6953d784f5aebded2d48a03f28155ed01e4a", "fetched_at": "2026-08-29T09:13:54.177666+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/cosmiconfig"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:22:51.286313+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c749ad54ad7c10b0f4b0064e38f626a3cbfcd5d06b5ded8cb7876178616404c8", "fetched_at": "2026-08-28T04:08:36.593888+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cosmiconfig/cosmiconfig"}, {"content_hash": "57f57f47a33e6057359bfe09bf2b6953d784f5aebded2d48a03f28155ed01e4a", "fetched_at": "2026-08-29T09:13:54.177666+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/cosmiconfig"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 95, "longevity": 100, "rhythm": 40}, "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": 3952, "days_push": 31, "days_rel": 184, "gap_med": null, "n_releases_24m": 1}, "score": 77, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}