{"adoption": {"forks": 276, "observed_at": "2026-08-28T04:10:20.085493+00:00", "stars": 8291}, "canonical_url": "https://ross.abutalabs.com/products/ni", "card": {"archived": false, "artifact_type": "cli-tool", "description": "💡 Use the right package manager", "domain": ["developer-tools", "web-development"], "enriched": true, "function": ["cli", "package-manager", "developer-tools"], "health_score": 98, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["antfu-collective/ni"], "name": "antfu-collective/ni", "platform": ["cli", "cross-platform"], "pushed_at": "2026-08-06T02:29:51+00:00", "repo": "antfu-collective/ni", "stars": 8291, "tags": ["npm", "yarn", "pnpm", "bun", "deno", "monorepo", "javascript", "command-line", "nodejs"], "topics": ["cli", "package-manager", "npm", "yarn", "pnpm"], "urls": [], "use_cases": ["run npm install in a yarn project without errors", "install dependencies without knowing which package manager the repo uses", "run scripts with a single command across npm/yarn/pnpm/bun projects", "add dev dependencies with consistent syntax across package managers", "clean-install with frozen lockfile in CI", "manage pnpm workspace catalogs when adding packages"], "what_it_is": "ni is a CLI tool that detects the correct JavaScript package manager (npm, yarn, pnpm, bun, deno, etc.) for a project and translates a single unified command into the right one. It provides commands like ni, nr, nx, and nu for installing, running, and upgrading dependencies without memorizing manager-specific syntax.", "when_to_avoid": ["you only ever use a single package manager", "you need fine-grained control over manager-specific flags not covered by ni", "you work outside the JavaScript/Node ecosystem"], "when_to_choose": ["you switch between JavaScript projects using different package managers", "you want one consistent command set for install/run/upgrade across teams", "you work in monorepos with pnpm or yarn workspaces and catalogs"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/ni", "repo": "antfu-collective/ni", "role": "main", "score": 97}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:20.085493+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:28:05.773593+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52176c659afab51177673e6e31fce3f783908867194a1999550f33fd6fa85ddf", "fetched_at": "2026-08-28T04:10:20.085493+00:00", "kind": "readme", "missing": false, "url": "https://github.com/antfu-collective/ni"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:20.085493+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:28:05.773593+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52176c659afab51177673e6e31fce3f783908867194a1999550f33fd6fa85ddf", "fetched_at": "2026-08-28T04:10:20.085493+00:00", "kind": "readme", "missing": false, "url": "https://github.com/antfu-collective/ni"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:28:05.773593+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52176c659afab51177673e6e31fce3f783908867194a1999550f33fd6fa85ddf", "fetched_at": "2026-08-28T04:10:20.085493+00:00", "kind": "readme", "missing": false, "url": "https://github.com/antfu-collective/ni"}], "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:10:20.085493+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:20.085493+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:20.085493+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:28:05.773593+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52176c659afab51177673e6e31fce3f783908867194a1999550f33fd6fa85ddf", "fetched_at": "2026-08-28T04:10:20.085493+00:00", "kind": "readme", "missing": false, "url": "https://github.com/antfu-collective/ni"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:20.085493+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:20.085493+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:28:05.773593+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52176c659afab51177673e6e31fce3f783908867194a1999550f33fd6fa85ddf", "fetched_at": "2026-08-28T04:10:20.085493+00:00", "kind": "readme", "missing": false, "url": "https://github.com/antfu-collective/ni"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:20.085493+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:20.085493+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:20.085493+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:28:05.773593+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52176c659afab51177673e6e31fce3f783908867194a1999550f33fd6fa85ddf", "fetched_at": "2026-08-28T04:10:20.085493+00:00", "kind": "readme", "missing": false, "url": "https://github.com/antfu-collective/ni"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:20.085493+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:20.085493+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:28:05.773593+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52176c659afab51177673e6e31fce3f783908867194a1999550f33fd6fa85ddf", "fetched_at": "2026-08-28T04:10:20.085493+00:00", "kind": "readme", "missing": false, "url": "https://github.com/antfu-collective/ni"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:28:05.773593+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52176c659afab51177673e6e31fce3f783908867194a1999550f33fd6fa85ddf", "fetched_at": "2026-08-28T04:10:20.085493+00:00", "kind": "readme", "missing": false, "url": "https://github.com/antfu-collective/ni"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:28:05.773593+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52176c659afab51177673e6e31fce3f783908867194a1999550f33fd6fa85ddf", "fetched_at": "2026-08-28T04:10:20.085493+00:00", "kind": "readme", "missing": false, "url": "https://github.com/antfu-collective/ni"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:28:05.773593+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52176c659afab51177673e6e31fce3f783908867194a1999550f33fd6fa85ddf", "fetched_at": "2026-08-28T04:10:20.085493+00:00", "kind": "readme", "missing": false, "url": "https://github.com/antfu-collective/ni"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 96, "longevity": 100, "rhythm": 96}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2127, "days_push": 28, "days_rel": 28, "gap_med": 15, "n_releases_24m": 28}, "score": 97, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}