# Doc-chunk > Local document chunking for RAG: turn PDFs, Office files, Markdown, and text into chunks ready for embedding. - The npm package is `docchunk`. It runs on Node.js 22.12 or later, and on Bun. - All sizes are in characters, not tokens. - Everything runs locally. There is no OCR, so scanned PDFs give no chunks. ## Documentation Sets - [Abridged documentation](https://thismesandeep.github.io/docchunk/llms-small.txt): a compact version of the documentation for Doc-chunk, with non-essential content removed - [Complete documentation](https://thismesandeep.github.io/docchunk/llms-full.txt): the full documentation for Doc-chunk - [Getting started and guides](https://thismesandeep.github.io/docchunk/_llms-txt/getting-started-and-guides.txt): what Doc-chunk is, installation, and how to use chunkDocument and chunkDocuments - [Strategies](https://thismesandeep.github.io/docchunk/_llms-txt/strategies.txt): the 11 chunking strategies, their options, and examples - [Reference](https://thismesandeep.github.io/docchunk/_llms-txt/reference.txt): functions, options, types, warnings, error codes, and formats ## Notes - The complete documentation includes all content from the official documentation - The content is automatically generated from the same source as the official documentation ## Optional - [Agent skill](https://thismesandeep.github.io/docchunk/skill/SKILL.md): a SKILL.md file with install steps, a strategy table, examples, and pitfalls