doctoc 2.5.0
Generates TOC for markdown files of local git repo.
doctoc@2.5.0 was published on 2026-06-12. Its manifest declares 5 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.
All doctoc versions · Permanent reference to 2.5.0 · Latest release
Package specifications
| Version | 2.5.0 |
|---|---|
| License declaration | MIT |
| Published | 2026-06-12T18:21:22.805Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| Runtime dependency count | 5 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 40.64 KiB |
| Published file count | 8 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | doctoc.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 72 |
| Repository stars | 4470 |
| Repository forks | 482 |
Install doctoc 2.5.0
npm install doctoc@2.5.0 pnpm add doctoc@2.5.0 yarn add doctoc@2.5.0
Runtime dependencies
- @textlint/markdown-to-ast ^15.6.0
- anchor-markdown-header ^0.8.4
- htmlparser2 ^7.2.0
- loglevel ^1.9.2
- minimist ^1.2.6
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @textlint/ast-node-types@15.8.0 — indirect
- @textlint/markdown-to-ast@15.8.0 — direct
- @types/mdast@3.0.15 — indirect
- @types/unist@2.0.11 — indirect
- anchor-markdown-header@0.8.4 — direct
- bail@1.0.5 — indirect
- boundary@2.0.0 — indirect
- ccount@1.1.0 — indirect
- character-entities@1.2.4 — indirect
- character-entities-legacy@1.1.4 — indirect
- character-reference-invalid@1.1.4 — indirect
- debug@4.4.3 — indirect
- dom-serializer@1.4.1 — indirect
- domelementtype@2.3.0 — indirect
- domhandler@4.3.1 — indirect
- domutils@2.8.0 — indirect
- emoji-regex@10.6.0 — indirect
- entities@2.2.0 — indirect
- entities@3.0.1 — indirect
- escape-string-regexp@4.0.0 — indirect
- extend@3.0.2 — indirect
- fault@1.0.4 — indirect
- format@0.2.2 — indirect
- htmlparser2@7.2.0 — direct
- is-alphabetical@1.0.4 — indirect
- is-alphanumerical@1.0.4 — indirect
- is-buffer@2.0.5 — indirect
- is-decimal@1.0.4 — indirect
- is-hexadecimal@1.0.4 — indirect
- is-plain-obj@2.1.0 — indirect
- loglevel@1.9.2 — direct
- longest-streak@2.0.4 — indirect
- markdown-table@2.0.0 — indirect
- mdast-util-find-and-replace@1.1.1 — indirect
- mdast-util-footnote@0.1.7 — indirect
- mdast-util-from-markdown@0.8.5 — indirect
- mdast-util-frontmatter@0.2.0 — indirect
- mdast-util-gfm@0.1.2 — indirect
- mdast-util-gfm-autolink-literal@0.1.3 — indirect
- mdast-util-gfm-strikethrough@0.2.3 — indirect
- mdast-util-gfm-table@0.1.6 — indirect
- mdast-util-gfm-task-list-item@0.1.6 — indirect
- mdast-util-to-markdown@0.6.5 — indirect
- mdast-util-to-string@2.0.0 — indirect
- micromark@2.11.4 — indirect
- micromark-extension-footnote@0.3.2 — indirect
- micromark-extension-frontmatter@0.2.2 — indirect
- micromark-extension-gfm@0.3.3 — indirect
- micromark-extension-gfm-autolink-literal@0.5.7 — indirect
- micromark-extension-gfm-strikethrough@0.6.5 — indirect
- micromark-extension-gfm-table@0.4.3 — indirect
- micromark-extension-gfm-tagfilter@0.3.0 — indirect
- micromark-extension-gfm-task-list-item@0.3.3 — indirect
- minimist@1.2.8 — direct
- ms@2.1.3 — indirect
- neotraverse@0.6.18 — indirect
- parse-entities@2.0.0 — indirect
- remark-footnotes@3.0.0 — indirect
- remark-frontmatter@3.0.0 — indirect
- remark-gfm@1.0.0 — indirect
- remark-parse@9.0.0 — indirect
- remove-markdown@0.6.4 — indirect
- repeat-string@1.6.1 — indirect
- structured-source@4.0.0 — indirect
- trough@1.0.5 — indirect
- unified@9.2.2 — indirect
- unist-util-is@4.1.0 — indirect
- unist-util-stringify-position@2.0.3 — indirect
- unist-util-visit-parents@3.1.1 — indirect
- vfile@4.2.1 — indirect
- vfile-message@2.0.4 — indirect
- zwitch@1.0.5 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 10/10 — all changesets reviewed |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Maintained | 10/10 — 17 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Signed-Releases | 0/10 — Project has not signed or included provenance with any releases. |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| Security-Policy | 0/10 — security policy file not detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/doctoc/2.5.0 — retrieved 2026-10-29T20:09:03.757Z
- https://api.deps.dev/v3/systems/npm/packages/doctoc/versions/2.5.0:dependencies — retrieved 2026-10-29T19:42:26.185Z
- https://api.deps.dev/v3/projects/github.com%2Fthlorenz%2Fdoctoc — retrieved 2026-10-29T19:42:26.333Z
- https://api.deps.dev/v3/systems/npm/packages/doctoc/versions/2.5.0 — retrieved 2026-10-29T19:42:26.159Z (stale snapshot; refresh pending)