docspack v1.2.0

curated source

Cloudflare Developers

Workers, Pages, R2, D1, KV and the rest of the developer platform.

edgeworkersserverlesscdn

What docspack can build from it

Cloudflare Developers publishes an llms.txt index and a single-file llms-full.txt, so the whole corpus arrives in one request and the mirror needs no page-by-page crawl.

$ npx docspack build cloudflare \
    --name @cloudflare-docs/docspack \
    --pkg-version 2026.1.0

That writes .llms/manifest.json, .llms/chunks/*.md and an llms.txt table of contents — an ordinary npm package you can publish to your registry or keep inside the monorepo that uses it.

Then an agent asks it

$ pnpm add -D @cloudflare-docs/docspack
$ npx docspack sync
$ npx docspack ask "edge"

The answer is scoped to the version in your lockfile, capped at 3,000 tokens, and read from a local SQLite index — no network request at query time.

Before you mirror someone else's docs

A mirror is a snapshot you own and version, not a live feed: it reflects Cloudflare Developers's documentation at the moment you ran build, and it goes stale unless you rebuild. Pick a --pkg-version scheme that says when it was taken rather than one that implies it tracks their releases. And their documentation is their copyright — check the terms before publishing a mirror publicly; a private package inside your own registry raises no such question.

Source links

Related sources

Curated sources sharing a topic with Cloudflare Developers.

← All 27 curated sources

The same ranking docspack search uses, over the same 13 documents.