Wretch
Wrapper around the fetch API with a chainable syntax for HTTP requests, response parsing and error handling.
elbywan.github.io/wretchrepositorydocs
Wretch is a wrapper around the fetch API, written in TypeScript. It adds a chainable syntax for building a request, handling error responses and parsing the response body. The API reference is generated and hosted on a separate site.
Worth knowing
The current major line targets modern browsers and recent Node.js releases. The README points users of older Node.js versions and older browsers to earlier major lines.
Identity
- Status
- Active
- Maintainer
- Julien Elbaz3
- Maintained by
- Individual3
- First release
- 20174
Rendering and deploy
- Install with
- npm, deno, bun1
Releases
Adoption
Sources
- 2026-11-17: links, Categories, Runtime, Install with
github.com/elbywan/wretch/blob/master/README.md - 2026-11-17: links, Written in, License, GitHub stars
api.github.com/repos/elbywan/wretch - 2026-11-17: Maintainer, Maintained by
raw.githubusercontent.com/elbywan/wretch/master/LICENSE - 2026-11-17: First release
registry.npmjs.org/wretch - 2026-11-17: Minimum runtime
github.com/elbywan/wretch/blob/3.0.9/package.json - 2026-11-17: Current major version, Last release
api.github.com/repos/elbywan/wretch/releases/latest - 2026-11-17: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/wretch - 2026-11-17: Contributors
api.github.com/repos/elbywan/wretch/contributors?per_page=1 - 2026-11-17: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/wretch