callapi
A lightweight fetching library packed with essential features - retries, interceptors, request deduplication and much more, all while still retaining a similar API surface with regular Fetch
What XERJ indexed
Snapshot
Only .changeset, .github/workflows, apps/dev, apps/docs, packages/callapi, packages/callapi-plugins at commit e52ae529a0 (2026-09-24). main is 12 commits ahead.
Selected work

“🏷️ feat(callapi): introduce CallApiContext Symbol-tagged type system …”. 40 files, 1,271 lines in packages/callapi, apps/dev, the project root.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-24. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
fetch-wrapperinterceptorsretriesrequest-dedupefetchparamspluginsquery
Example questions
- How does callapi implement fetch-wrapper?
- What does packages/callapi do in callapi?
- Show the interceptors code in callapi.
Inside the indexed corpus
- Languages by size: TypeScript 78.9%, MDX 20.1%, CSS 0.5%, JavaScript 0.4%, HTML 0%.
- On GitHub since 2024-06-16, last push 2026-10-24, 1,201 commits on main.
- The pin is 12 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for zayne-labs/callapi on 2026-10-31, and the LICENSE file at commit e52ae529a0 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Ryan Zayne (@ryan-zayne) has 1 selected repository on the hub.
Using XERJ with callapi
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- Ask questions about a GitHub repo without cloning it
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
The prompt
Paste it into your AI agent. It clones zayne-labs/callapi at the pinned commit and indexes it on your machine.
Search the GitHub repository zayne-labs/callapi with XERJ (https://hub.xerj.org/corpus/zayne-labs--callapi). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/zayne-labs/callapi callapi && git -C callapi checkout e52ae529a092d2c6263dd0c02a00f7f6009d15e4 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./callapi --url http://127.0.0.1:9200 --prefix callapi --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MIT. Keep the copyright notice and credit the authors.
Related
Ryan ZayneAPI design and specification corporacueprismasyncapi-studioopen-circle/formischnimaebra/eslint-plugin-valibotdwoolworth/goodm
Stats: GitHub API, fetched 2026-10-31. Selected work and consent: the XERJ registry.