{"id":14077407,"name":"@zag-js/toc","ecosystem":"npm","description":"Core logic for the table of contents widget implemented as a state machine","homepage":"https://github.com/chakra-ui/zag#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/chakra-ui/zag","keywords_array":["js","machine","xstate","statechart","component","chakra-ui","toc","table-of-contents","scroll-spy"],"namespace":"zag-js","versions_count":7,"first_release_published_at":"2026-03-16T21:01:39.043Z","latest_release_published_at":"2026-04-11T18:00:44.701Z","latest_release_number":"1.40.0","last_synced_at":"2026-05-12T18:02:09.075Z","created_at":"2026-03-19T04:29:08.124Z","updated_at":"2026-05-12T18:02:09.075Z","registry_url":"https://www.npmjs.com/package/@zag-js/toc","install_command":"npm install @zag-js/toc","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.40.0"}},"repo_metadata":{"id":36998611,"uuid":"383777434","full_name":"chakra-ui/zag","owner":"chakra-ui","description":"Build your design system in React, Solid, Vue or Svelte. Powered by finite state machines","archived":false,"fork":false,"pushed_at":"2026-04-05T19:01:10.000Z","size":88049,"stargazers_count":5037,"open_issues_count":6,"forks_count":247,"subscribers_count":16,"default_branch":"main","last_synced_at":"2026-04-05T20:35:31.409Z","etag":null,"topics":["a11y","accessibility","agnostic","component","design-systems","headless","headlessui","library","primitives","react","solid","state-machines","svelte","sveltejs","ui","ui-components","ui-kit","universal","vue","xstate"],"latest_commit_sha":null,"homepage":"http://zagjs.com","language":"TypeScript","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/chakra-ui.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null},"funding":{"patreon":"segunadebayo","open_collective":"chakra-ui","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2021-07-07T11:38:07.000Z","updated_at":"2026-04-05T19:01:13.000Z","dependencies_parsed_at":"2023-09-29T17:48:29.275Z","dependency_job_id":"d52a6337-1512-4cb4-b474-eea83bb6f3bf","html_url":"https://github.com/chakra-ui/zag","commit_stats":{"total_commits":3714,"total_committers":81,"mean_commits":"45.851851851851855","dds":0.3982229402261712,"last_synced_commit":"c664689b9324d09319fd41d11f9b375e6fd428cb"},"previous_names":["chakra-ui/ui-machines"],"tags_count":17365,"template":false,"template_full_name":null,"purl":"pkg:github/chakra-ui/zag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chakra-ui%2Fzag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chakra-ui%2Fzag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chakra-ui%2Fzag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chakra-ui%2Fzag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chakra-ui","download_url":"https://codeload.github.com/chakra-ui/zag/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chakra-ui%2Fzag/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31689762,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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"},"owner_record":{"login":"chakra-ui","name":"Chakra UI","uuid":"54212428","kind":"organization","description":"Building tools that help you ship accessible websites and apps with speed ⚡️","email":null,"website":"chakra-ui.com","location":"https://opencollective.com/chakra-ui","twitter":"chakra_ui","company":null,"icon_url":"https://avatars.githubusercontent.com/u/54212428?v=4","repositories_count":25,"last_synced_at":"2024-04-15T07:28:15.946Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/chakra-ui","funding_links":["https://github.com/sponsors/chakra-ui"],"total_stars":50951,"followers":822,"following":0,"created_at":"2022-11-02T16:31:57.754Z","updated_at":"2024-04-15T07:28:23.674Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chakra-ui","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chakra-ui/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-04-11T18:03:02.849Z","dependent_packages_count":0,"downloads":null,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":22.40941024303714,"dependent_packages_count":32.301555319200475,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":27.35548278111881},"purl":"pkg:npm/%40zag-js/toc","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@zag-js/toc","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@zag-js/toc","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@zag-js/toc/dependencies","status":null,"funding_links":["https://patreon.com/segunadebayo","https://opencollective.com/chakra-ui","https://github.com/sponsors/chakra-ui"],"critical":null,"issue_metadata":{"last_synced_at":"2026-04-11T12:19:26.775Z","issues_count":472,"pull_requests_count":2365,"avg_time_to_close_issue":1050158.5767045454,"avg_time_to_close_pull_request":348462.18922783603,"issues_closed_count":352,"pull_requests_closed_count":2096,"pull_request_authors_count":111,"issue_authors_count":294,"avg_comments_per_issue":1.1080508474576272,"avg_comments_per_pull_request":2.592389006342495,"merged_pull_requests_count":1464,"bot_issues_count":6,"bot_pull_requests_count":1763,"past_year_issues_count":130,"past_year_pull_requests_count":288,"past_year_avg_time_to_close_issue":302712.2625,"past_year_avg_time_to_close_pull_request":389723.8686868687,"past_year_issues_closed_count":80,"past_year_pull_requests_closed_count":198,"past_year_pull_request_authors_count":35,"past_year_issue_authors_count":90,"past_year_avg_comments_per_issue":0.8,"past_year_avg_comments_per_pull_request":1.565972222222222,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":168,"past_year_merged_pull_requests_count":167,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/chakra-ui%2Fzag/issues","maintainers":[{"login":"anubra266","count":132,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/anubra266"},{"login":"segunadebayo","count":92,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/segunadebayo"},{"login":"TylerAPfledderer","count":15,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/TylerAPfledderer"},{"login":"cschroeter","count":9,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/cschroeter"},{"login":"Shyrro","count":8,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Shyrro"},{"login":"nelsonlaidev","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/nelsonlaidev"},{"login":"GelsonMR","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/GelsonMR"},{"login":"markpinnock","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/markpinnock"},{"login":"larsll","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/larsll"}],"active_maintainers":[{"login":"segunadebayo","count":21,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/segunadebayo"},{"login":"anubra266","count":20,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/anubra266"},{"login":"nelsonlaidev","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/nelsonlaidev"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@zag-js%2Ftoc/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@zag-js%2Ftoc/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@zag-js%2Ftoc/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@zag-js%2Ftoc/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@zag-js%2Ftoc/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@zag-js%2Ftoc/codemeta","maintainers":[{"uuid":"segunadebayo","login":"segunadebayo","name":null,"email":"joseshegs@gmail.com","url":null,"packages_count":390,"html_url":"https://www.npmjs.com/~segunadebayo","role":null,"created_at":"2026-03-19T04:29:13.400Z","updated_at":"2026-03-19T04:29:13.400Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/segunadebayo/packages"}]}