# Wretch

Wrapper around the fetch API with a chainable syntax for HTTP requests, response parsing and error handling.


Source: https://findsoftware.frbit.cloud/wretch/
Last reviewed: 2026-11-17
Listed since: 2026-11-17

## Record

### Links

- home: https://elbywan.github.io/wretch
- repository: https://github.com/elbywan/wretch
- docs: https://elbywan.github.io/wretch/api/

### Identity

- status: active
- maintainer: Julien Elbaz
- maintainerType: individual
- parent: unknown
- firstRelease: 2017
- hqCountry: unknown

### Kind

- category: library
- hosting: node, deno, bun
- language: javascript
- runtime: node, deno, bun
- runtimeMin: node 22
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: npm, deno, bun

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 3
- latestReleaseDate: 2026-06-19

### Adoption

- githubStargazers: 5179
- packagistDownloads: not applicable
- npmWeeklyDownloads: 319602
- contributors: 21
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 556
- dependentPackages: 107

### Sources

- urls: https://github.com/elbywan/wretch/blob/master/README.md (read 2026-11-17)
- urls: https://api.github.com/repos/elbywan/wretch (read 2026-11-17)
- urls: https://github.com/elbywan/wretch/blob/master/README.md (read 2026-11-17)
- maintainer: https://raw.githubusercontent.com/elbywan/wretch/master/LICENSE (read 2026-11-17)
- maintainerType: https://raw.githubusercontent.com/elbywan/wretch/master/LICENSE (read 2026-11-17)
- firstRelease: https://registry.npmjs.org/wretch (read 2026-11-17)
- category: https://github.com/elbywan/wretch/blob/master/README.md (read 2026-11-17)
- language: https://api.github.com/repos/elbywan/wretch (read 2026-11-17)
- runtime: https://github.com/elbywan/wretch/blob/master/README.md (read 2026-11-17)
- runtimeMin: https://github.com/elbywan/wretch/blob/3.0.9/package.json (read 2026-11-17)
- license: https://api.github.com/repos/elbywan/wretch (read 2026-11-17)
- installMethod: https://github.com/elbywan/wretch/blob/master/README.md (read 2026-11-17)
- installMethod: https://github.com/elbywan/wretch/blob/master/README.md (read 2026-11-17)
- installMethod: https://github.com/elbywan/wretch/blob/master/README.md (read 2026-11-17)
- currentMajor: https://api.github.com/repos/elbywan/wretch/releases/latest (read 2026-11-17)
- latestReleaseDate: https://api.github.com/repos/elbywan/wretch/releases/latest (read 2026-11-17)
- npmWeeklyDownloads: https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/wretch (read 2026-11-17)
- githubStargazers: https://api.github.com/repos/elbywan/wretch (read 2026-11-17)
- contributors: https://api.github.com/repos/elbywan/wretch/contributors?per_page=1 (read 2026-11-17)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/wretch (read 2026-11-17)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/wretch (read 2026-11-17)

## Notes

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](https://elbywan.github.io/wretch/api/) 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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
