{"adoption": {"forks": 486, "observed_at": "2026-08-28T04:08:50.724619+00:00", "stars": 4462}, "canonical_url": "https://ross.abutalabs.com/products/doctoc", "card": {"archived": false, "artifact_type": "cli-tool", "description": "📜 Generates table of contents for markdown files inside local git repository. Links are compatible with anchors generated by github or other sites.", "domain": ["documentation", "developer-tools"], "enriched": true, "function": ["markdown", "documentation", "parser", "cli"], "health_score": 97, "homepage": "https://www.npmjs.com/package/doctoc", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["thlorenz/doctoc"], "name": "thlorenz/doctoc", "platform": ["cli", "cross-platform"], "pushed_at": "2026-08-04T16:02:57+00:00", "repo": "thlorenz/doctoc", "stars": 4462, "tags": ["table-of-contents", "markdown-toc", "github-anchors", "git-hook", "npm-package", "command-line", "nodejs"], "topics": [], "urls": [], "use_cases": ["add a table of contents to my README", "generate TOC for all markdown files in a repo", "check that docs table of contents is up to date in CI", "update existing doctoc TOCs automatically", "use a git hook to keep markdown TOCs current", "generate GitHub-compatible anchor links for headings"], "what_it_is": "DocToc is a Node.js command-line tool that generates and maintains table of contents sections in Markdown files within a local git repository. The generated links are compatible with anchor formats used by GitHub, GitLab, Bitbucket, and other sites.", "when_to_avoid": ["you need TOCs for non-markdown formats like reStructuredText or AsciiDoc", "you want a GUI or in-editor TOC tool rather than a CLI", "you need fully custom TOC rendering beyond the provided renderers"], "when_to_choose": ["you maintain markdown documentation in a git repository and want navigable TOCs", "you need TOC links that work on GitHub/GitLab/Bitbucket", "you want to enforce up-to-date TOCs in CI via dry-run exit codes"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/doctoc", "repo": "thlorenz/doctoc", "role": "main", "score": 90}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.724619+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:20:41.552166+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "de5547551ee562c319041ca2dfb32342ff8450d839a7e5c896f3acd729ef3d42", "fetched_at": "2026-08-28T04:08:50.724619+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thlorenz/doctoc"}, {"content_hash": "fa8364be4241e1a637450dd23908328860bcb96968d04ae883e8a79b6e776df8", "fetched_at": "2026-08-29T09:07:41.413064+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/doctoc"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.724619+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:20:41.552166+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "de5547551ee562c319041ca2dfb32342ff8450d839a7e5c896f3acd729ef3d42", "fetched_at": "2026-08-28T04:08:50.724619+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thlorenz/doctoc"}, {"content_hash": "fa8364be4241e1a637450dd23908328860bcb96968d04ae883e8a79b6e776df8", "fetched_at": "2026-08-29T09:07:41.413064+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/doctoc"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:20:41.552166+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "de5547551ee562c319041ca2dfb32342ff8450d839a7e5c896f3acd729ef3d42", "fetched_at": "2026-08-28T04:08:50.724619+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thlorenz/doctoc"}, {"content_hash": "fa8364be4241e1a637450dd23908328860bcb96968d04ae883e8a79b6e776df8", "fetched_at": "2026-08-29T09:07:41.413064+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/doctoc"}], "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:50.724619+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.724619+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.724619+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:20:41.552166+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "de5547551ee562c319041ca2dfb32342ff8450d839a7e5c896f3acd729ef3d42", "fetched_at": "2026-08-28T04:08:50.724619+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thlorenz/doctoc"}, {"content_hash": "fa8364be4241e1a637450dd23908328860bcb96968d04ae883e8a79b6e776df8", "fetched_at": "2026-08-29T09:07:41.413064+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/doctoc"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.724619+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.724619+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:20:41.552166+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "de5547551ee562c319041ca2dfb32342ff8450d839a7e5c896f3acd729ef3d42", "fetched_at": "2026-08-28T04:08:50.724619+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thlorenz/doctoc"}, {"content_hash": "fa8364be4241e1a637450dd23908328860bcb96968d04ae883e8a79b6e776df8", "fetched_at": "2026-08-29T09:07:41.413064+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/doctoc"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.724619+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.724619+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.724619+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:20:41.552166+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "de5547551ee562c319041ca2dfb32342ff8450d839a7e5c896f3acd729ef3d42", "fetched_at": "2026-08-28T04:08:50.724619+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thlorenz/doctoc"}, {"content_hash": "fa8364be4241e1a637450dd23908328860bcb96968d04ae883e8a79b6e776df8", "fetched_at": "2026-08-29T09:07:41.413064+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/doctoc"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.724619+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:50.724619+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:20:41.552166+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "de5547551ee562c319041ca2dfb32342ff8450d839a7e5c896f3acd729ef3d42", "fetched_at": "2026-08-28T04:08:50.724619+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thlorenz/doctoc"}, {"content_hash": "fa8364be4241e1a637450dd23908328860bcb96968d04ae883e8a79b6e776df8", "fetched_at": "2026-08-29T09:07:41.413064+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/doctoc"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:20:41.552166+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "de5547551ee562c319041ca2dfb32342ff8450d839a7e5c896f3acd729ef3d42", "fetched_at": "2026-08-28T04:08:50.724619+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thlorenz/doctoc"}, {"content_hash": "fa8364be4241e1a637450dd23908328860bcb96968d04ae883e8a79b6e776df8", "fetched_at": "2026-08-29T09:07:41.413064+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/doctoc"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:20:41.552166+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "de5547551ee562c319041ca2dfb32342ff8450d839a7e5c896f3acd729ef3d42", "fetched_at": "2026-08-28T04:08:50.724619+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thlorenz/doctoc"}, {"content_hash": "fa8364be4241e1a637450dd23908328860bcb96968d04ae883e8a79b6e776df8", "fetched_at": "2026-08-29T09:07:41.413064+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/doctoc"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:20:41.552166+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "de5547551ee562c319041ca2dfb32342ff8450d839a7e5c896f3acd729ef3d42", "fetched_at": "2026-08-28T04:08:50.724619+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thlorenz/doctoc"}, {"content_hash": "fa8364be4241e1a637450dd23908328860bcb96968d04ae883e8a79b6e776df8", "fetched_at": "2026-08-29T09:07:41.413064+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/doctoc"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 96, "longevity": 100, "rhythm": 76}, "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": 5212, "days_push": 29, "days_rel": 82, "gap_med": 45, "n_releases_24m": 4}, "score": 90, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}