{"id":822588,"name":"@atomictech/rehype-toc","ecosystem":"npm","description":"A rehype plugin that adds a table of contents (TOC) to the page","homepage":"https://jstools.dev/rehype-toc","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/JS-DevTools/rehype-toc","keywords_array":["unified","rehype","plugin","rehype-plugin","table-of-contents","toc","html"],"namespace":"atomictech","versions_count":4,"first_release_published_at":"2021-01-07T23:46:45.777Z","latest_release_published_at":"2021-03-30T17:37:22.359Z","latest_release_number":"3.1.3","last_synced_at":"2026-04-26T15:24:40.650Z","created_at":"2022-04-07T13:50:05.265Z","updated_at":"2026-04-26T15:24:40.650Z","registry_url":"https://www.npmjs.com/package/@atomictech/rehype-toc","install_command":"npm install @atomictech/rehype-toc","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"3.1.3"}},"repo_metadata":{"id":38455182,"uuid":"192908382","full_name":"JS-DevTools/rehype-toc","owner":"JS-DevTools","description":"A rehype plugin that adds a table of contents (TOC) to the page","archived":false,"fork":false,"pushed_at":"2024-07-29T17:11:53.000Z","size":227,"stargazers_count":83,"open_issues_count":12,"forks_count":17,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-15T04:28:29.011Z","etag":null,"topics":["html","html5","javascript","nodejs","rehype","rehype-plugin","table-of-contents","toc","unified"],"latest_commit_sha":null,"homepage":"https://jstools.dev/rehype-toc/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JS-DevTools.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-06-20T11:33:48.000Z","updated_at":"2026-04-01T17:33:46.000Z","dependencies_parsed_at":"2024-06-18T14:08:04.018Z","dependency_job_id":"a7427a38-8164-4695-928f-317792cdebdf","html_url":"https://github.com/JS-DevTools/rehype-toc","commit_stats":{"total_commits":80,"total_committers":2,"mean_commits":40.0,"dds":"0.012499999999999956","last_synced_commit":"195e8ace40e38564f0ba886c93debc95ff1cc08d"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":"JS-DevTools/template-node-typescript","purl":"pkg:github/JS-DevTools/rehype-toc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JS-DevTools%2Frehype-toc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JS-DevTools%2Frehype-toc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JS-DevTools%2Frehype-toc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JS-DevTools%2Frehype-toc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JS-DevTools","download_url":"https://codeload.github.com/JS-DevTools/rehype-toc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JS-DevTools%2Frehype-toc/sbom","scorecard":{"id":69183,"data":{"date":"2025-08-11","repo":{"name":"github.com/JS-DevTools/rehype-toc","commit":"195e8ace40e38564f0ba886c93debc95ff1cc08d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 1/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/CI-CD.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI-CD.yaml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/JS-DevTools/rehype-toc/CI-CD.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI-CD.yaml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/JS-DevTools/rehype-toc/CI-CD.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/CI-CD.yaml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/JS-DevTools/rehype-toc/CI-CD.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/CI-CD.yaml:68: update your workflow using https://app.stepsecurity.io/secureworkflow/JS-DevTools/rehype-toc/CI-CD.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI-CD.yaml:82: update your workflow using https://app.stepsecurity.io/secureworkflow/JS-DevTools/rehype-toc/CI-CD.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/CI-CD.yaml:85: update your workflow using https://app.stepsecurity.io/secureworkflow/JS-DevTools/rehype-toc/CI-CD.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/CI-CD.yaml:94: update your workflow using https://app.stepsecurity.io/secureworkflow/JS-DevTools/rehype-toc/CI-CD.yaml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/CI-CD.yaml:105: update your workflow using https://app.stepsecurity.io/secureworkflow/JS-DevTools/rehype-toc/CI-CD.yaml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned","Info:   2 out of   2 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"31 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm","Warn: Project is vulnerable to: GHSA-2j2x-2gpw-g8fm","Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-g6ww-v8xp-vmwg","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-hxcc-f52p-wc94","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-g3ch-rx76-35fx","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-15T03:24:42.614Z","repository_id":38455182,"created_at":"2025-08-15T03:24:42.614Z","updated_at":"2025-08-15T03:24:42.614Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32302766,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"tags":[]},"repo_metadata_updated_at":"2026-04-26T15:24:40.221Z","dependent_packages_count":2,"downloads":1567,"downloads_period":"last-month","dependent_repos_count":4,"rankings":{"downloads":2.8176645211960407,"dependent_repos_count":5.562332727499011,"dependent_packages_count":20.911788993680194,"stargazers_count":5.821005883988555,"forks_count":5.738059284288817,"docker_downloads_count":null,"average":8.170170282130524},"purl":"pkg:npm/%40atomictech/rehype-toc","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@atomictech/rehype-toc","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@atomictech/rehype-toc","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@atomictech/rehype-toc/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-02-10T08:21:08.835Z","issues_count":11,"pull_requests_count":5,"avg_time_to_close_issue":12155.5,"avg_time_to_close_pull_request":1599387.5,"issues_closed_count":2,"pull_requests_closed_count":2,"pull_request_authors_count":5,"issue_authors_count":10,"avg_comments_per_issue":1.9090909090909092,"avg_comments_per_pull_request":5.0,"merged_pull_requests_count":1,"bot_issues_count":0,"bot_pull_requests_count":1,"past_year_issues_count":1,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":1.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/JS-DevTools%2Frehype-toc/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@atomictech%2Frehype-toc/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@atomictech%2Frehype-toc/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@atomictech%2Frehype-toc/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@atomictech%2Frehype-toc/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@atomictech%2Frehype-toc/codemeta","maintainers":[{"uuid":"chabou-san","login":"chabou-san","name":null,"email":"chabou@live.com","url":null,"packages_count":5,"html_url":"https://www.npmjs.com/~chabou-san","role":null,"created_at":"2022-11-15T06:15:24.053Z","updated_at":"2022-11-15T06:15:24.053Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/chabou-san/packages"},{"uuid":"jule-","login":"jule-","name":null,"email":"jule@createrocks.com","url":null,"packages_count":5,"html_url":"https://www.npmjs.com/~jule-","role":null,"created_at":"2022-11-15T06:15:24.066Z","updated_at":"2022-11-15T06:15:24.066Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jule-/packages"},{"uuid":"typedef","login":"typedef","name":null,"email":"yann.torres@gmail.com","url":null,"packages_count":7,"html_url":"https://www.npmjs.com/~typedef","role":null,"created_at":"2022-11-15T06:15:24.074Z","updated_at":"2022-11-15T06:15:24.074Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/typedef/packages"}]}