# chapterize-js

> Automatic, accessible table of contents and scroll spy for any page: add data-chapter to a nav and it builds the links, highlights the current section and glides a marker. Zero dependencies, zero JS config, works in every framework.

Latest version **0.1.0** (published 2026-10-28) · MIT license · 0 weekly downloads

_The full health report (score, vulnerabilities, README, dependency tree, version history) is being computed; this document will grow once it lands._

## Install

```sh
npm install chapterize-js
pnpm add chapterize-js
yarn add chapterize-js
bun add chapterize-js
```

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2026-10-28 |
| First published | 2026-10-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 143.5 KB |
| Author | Byron Johnson |
| Maintainers | byronjohnson |
| Keywords | chapterize, scrollspy, scroll-spy, table-of-contents, toc, tocbot-alternative, gumshoe-alternative, intersection-observer, accessibility, aria-current, vanilla-js, zero-dependencies, framework-agnostic |

## Links

- npm: https://www.npmjs.com/package/chapterize-js
- Repository: https://github.com/byronjohnson/chapterize-js
- Homepage: https://github.com/byronjohnson/chapterize-js#readme
- npm.io page: https://npm.io/package/chapterize-js

---
_Source: https://npm.io/package/chapterize-js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
