{"adoption": {"forks": 148, "observed_at": "2026-08-28T04:05:48.734805+00:00", "stars": 1882}, "canonical_url": "https://ross.abutalabs.com/products/observing-pre-commit", "card": {"archived": false, "artifact_type": "library", "description": "Automatically installs a git pre-commit script in your git repository which runs your `npm test` on pre-commit", "domain": ["developer-tools", "version-control", "testing"], "enriched": true, "function": ["testing", "developer-tools", "cli"], "health_score": 68, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["observing/pre-commit"], "name": "observing/pre-commit", "platform": ["cli", "cross-platform"], "pushed_at": "2026-04-28T14:32:47+00:00", "repo": "observing/pre-commit", "stars": 1882, "tags": ["git-hooks", "pre-commit", "npm-scripts", "linting", "ci", "automation", "nodejs"], "topics": [], "urls": [], "use_cases": ["run tests before every git commit", "block commits that fail linting or coverage checks", "install pre-commit hooks for npm modules", "run multiple npm scripts in order on commit", "enforce code style checks before committing"], "what_it_is": "An npm package that automatically installs a git pre-commit hook into your repository, running your npm test or other package. scripts before each commit. It is configured entirely through your package. and can be bypassed with git commit --no-verify.", "when_to_avoid": ["you use Husky or a more modern git hooks manager", "your project is not Node.js/npm based", "you need shared hooks across many languages or monorepo tooling"], "when_to_choose": ["you have a Node.js project using npm scripts and want commit-time checks", "you want zero-config git hooks driven by package.", "you need to back up and replace existing pre-commit hooks safely"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/observing-pre-commit", "repo": "observing/pre-commit", "role": "main", "score": 58}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.734805+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:13:47.932931+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52faed76ce983215d45979886363c44bc781a5efd45f6475c193fbcbbc5bdd3e", "fetched_at": "2026-08-28T04:05:48.734805+00:00", "kind": "readme", "missing": false, "url": "https://github.com/observing/pre-commit"}, {"content_hash": "2a265a8bc3abfe3c9c6812af7eea736ed7458561a9bb04da3db56b675a25ad8a", "fetched_at": "2026-08-29T10:53:19.692324+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/pre-commit"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.734805+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:13:47.932931+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52faed76ce983215d45979886363c44bc781a5efd45f6475c193fbcbbc5bdd3e", "fetched_at": "2026-08-28T04:05:48.734805+00:00", "kind": "readme", "missing": false, "url": "https://github.com/observing/pre-commit"}, {"content_hash": "2a265a8bc3abfe3c9c6812af7eea736ed7458561a9bb04da3db56b675a25ad8a", "fetched_at": "2026-08-29T10:53:19.692324+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/pre-commit"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:13:47.932931+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52faed76ce983215d45979886363c44bc781a5efd45f6475c193fbcbbc5bdd3e", "fetched_at": "2026-08-28T04:05:48.734805+00:00", "kind": "readme", "missing": false, "url": "https://github.com/observing/pre-commit"}, {"content_hash": "2a265a8bc3abfe3c9c6812af7eea736ed7458561a9bb04da3db56b675a25ad8a", "fetched_at": "2026-08-29T10:53:19.692324+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/pre-commit"}], "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:48.734805+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.734805+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.734805+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:13:47.932931+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52faed76ce983215d45979886363c44bc781a5efd45f6475c193fbcbbc5bdd3e", "fetched_at": "2026-08-28T04:05:48.734805+00:00", "kind": "readme", "missing": false, "url": "https://github.com/observing/pre-commit"}, {"content_hash": "2a265a8bc3abfe3c9c6812af7eea736ed7458561a9bb04da3db56b675a25ad8a", "fetched_at": "2026-08-29T10:53:19.692324+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/pre-commit"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.734805+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.734805+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:13:47.932931+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52faed76ce983215d45979886363c44bc781a5efd45f6475c193fbcbbc5bdd3e", "fetched_at": "2026-08-28T04:05:48.734805+00:00", "kind": "readme", "missing": false, "url": "https://github.com/observing/pre-commit"}, {"content_hash": "2a265a8bc3abfe3c9c6812af7eea736ed7458561a9bb04da3db56b675a25ad8a", "fetched_at": "2026-08-29T10:53:19.692324+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/pre-commit"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.734805+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.734805+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.734805+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:13:47.932931+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52faed76ce983215d45979886363c44bc781a5efd45f6475c193fbcbbc5bdd3e", "fetched_at": "2026-08-28T04:05:48.734805+00:00", "kind": "readme", "missing": false, "url": "https://github.com/observing/pre-commit"}, {"content_hash": "2a265a8bc3abfe3c9c6812af7eea736ed7458561a9bb04da3db56b675a25ad8a", "fetched_at": "2026-08-29T10:53:19.692324+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/pre-commit"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.734805+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:48.734805+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:13:47.932931+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52faed76ce983215d45979886363c44bc781a5efd45f6475c193fbcbbc5bdd3e", "fetched_at": "2026-08-28T04:05:48.734805+00:00", "kind": "readme", "missing": false, "url": "https://github.com/observing/pre-commit"}, {"content_hash": "2a265a8bc3abfe3c9c6812af7eea736ed7458561a9bb04da3db56b675a25ad8a", "fetched_at": "2026-08-29T10:53:19.692324+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/pre-commit"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:13:47.932931+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52faed76ce983215d45979886363c44bc781a5efd45f6475c193fbcbbc5bdd3e", "fetched_at": "2026-08-28T04:05:48.734805+00:00", "kind": "readme", "missing": false, "url": "https://github.com/observing/pre-commit"}, {"content_hash": "2a265a8bc3abfe3c9c6812af7eea736ed7458561a9bb04da3db56b675a25ad8a", "fetched_at": "2026-08-29T10:53:19.692324+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/pre-commit"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:13:47.932931+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52faed76ce983215d45979886363c44bc781a5efd45f6475c193fbcbbc5bdd3e", "fetched_at": "2026-08-28T04:05:48.734805+00:00", "kind": "readme", "missing": false, "url": "https://github.com/observing/pre-commit"}, {"content_hash": "2a265a8bc3abfe3c9c6812af7eea736ed7458561a9bb04da3db56b675a25ad8a", "fetched_at": "2026-08-29T10:53:19.692324+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/pre-commit"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:13:47.932931+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "52faed76ce983215d45979886363c44bc781a5efd45f6475c193fbcbbc5bdd3e", "fetched_at": "2026-08-28T04:05:48.734805+00:00", "kind": "readme", "missing": false, "url": "https://github.com/observing/pre-commit"}, {"content_hash": "2a265a8bc3abfe3c9c6812af7eea736ed7458561a9bb04da3db56b675a25ad8a", "fetched_at": "2026-08-29T10:53:19.692324+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/pre-commit"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 79, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4893, "days_push": 127, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 58, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}