{"adoption": {"forks": 108, "observed_at": "2026-08-28T04:09:11.765078+00:00", "stars": 5178}, "canonical_url": "https://ross.abutalabs.com/products/wretch", "card": {"archived": false, "artifact_type": "library", "description": "A tiny wrapper built around fetch with an intuitive syntax. :candy:", "domain": ["web-development", "frontend", "backend", "apis", "developer-tools"], "enriched": true, "function": ["http-client", "serialization", "middleware"], "health_score": 92, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["elbywan/wretch"], "name": "elbywan/wretch", "platform": ["bun", "browser", "cross-platform"], "pushed_at": "2026-06-19T06:54:58+00:00", "repo": "elbywan/wretch", "stars": 5178, "tags": ["fetch-wrapper", "ajax", "promise-based", "immutable-api", "tiny-library", "isomorphic", "nodejs", "deno", "typescript", "javascript"], "topics": ["fetch", "request", "json", "formdata", "http-client", "typescript", "javascript", "nodejs", "http", "ajax", "http-request", "promise"], "urls": [], "use_cases": ["make http requests with a cleaner syntax than raw fetch", "handle json responses and errors from fetch calls", "send formdata or file uploads via http", "reuse and configure http request instances immutably", "add interceptors or middlewares to fetch requests", "use one http client across browser and node.js"], "what_it_is": "Wretch is a tiny (~1.8KB gzipped) TypeScript wrapper around the fetch API with an intuitive, chainable syntax for making HTTP requests. It handles error handling, headers, and (de)serialization, and is extensible via addons and middlewares.", "when_to_avoid": ["you need advanced features like request cancellation, caching layers, or retries out of the box without addons", "you prefer a full-featured client like axios with interceptors and instance defaults built in", "you target environments without fetch support and no polyfill"], "when_to_choose": ["you want a lightweight fetch wrapper under 2KB", "you prefer chainable, promise-based request building", "you need isomorphic http requests in browsers, Node.js, Deno, or Bun", "you want built-in error handling and serialization with strong TypeScript types"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/wretch", "repo": "elbywan/wretch", "role": "main", "score": 91}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.765078+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:01:48.853278+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "01cd5e8368f0754d91e04dbcefcf369a85511ad26075d53686d3031a1d38b381", "fetched_at": "2026-08-28T04:09:11.765078+00:00", "kind": "readme", "missing": false, "url": "https://github.com/elbywan/wretch"}, {"content_hash": "4938d73b2549012c85086029c348e2292c8fb10cd73c7bcd80c7aadc05527161", "fetched_at": "2026-08-29T08:55:52.799145+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/wretch"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.765078+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:01:48.853278+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "01cd5e8368f0754d91e04dbcefcf369a85511ad26075d53686d3031a1d38b381", "fetched_at": "2026-08-28T04:09:11.765078+00:00", "kind": "readme", "missing": false, "url": "https://github.com/elbywan/wretch"}, {"content_hash": "4938d73b2549012c85086029c348e2292c8fb10cd73c7bcd80c7aadc05527161", "fetched_at": "2026-08-29T08:55:52.799145+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/wretch"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:01:48.853278+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "01cd5e8368f0754d91e04dbcefcf369a85511ad26075d53686d3031a1d38b381", "fetched_at": "2026-08-28T04:09:11.765078+00:00", "kind": "readme", "missing": false, "url": "https://github.com/elbywan/wretch"}, {"content_hash": "4938d73b2549012c85086029c348e2292c8fb10cd73c7bcd80c7aadc05527161", "fetched_at": "2026-08-29T08:55:52.799145+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/wretch"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.765078+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.765078+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.765078+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:01:48.853278+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "01cd5e8368f0754d91e04dbcefcf369a85511ad26075d53686d3031a1d38b381", "fetched_at": "2026-08-28T04:09:11.765078+00:00", "kind": "readme", "missing": false, "url": "https://github.com/elbywan/wretch"}, {"content_hash": "4938d73b2549012c85086029c348e2292c8fb10cd73c7bcd80c7aadc05527161", "fetched_at": "2026-08-29T08:55:52.799145+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/wretch"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.765078+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.765078+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:01:48.853278+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "01cd5e8368f0754d91e04dbcefcf369a85511ad26075d53686d3031a1d38b381", "fetched_at": "2026-08-28T04:09:11.765078+00:00", "kind": "readme", "missing": false, "url": "https://github.com/elbywan/wretch"}, {"content_hash": "4938d73b2549012c85086029c348e2292c8fb10cd73c7bcd80c7aadc05527161", "fetched_at": "2026-08-29T08:55:52.799145+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/wretch"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.765078+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.765078+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.765078+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:01:48.853278+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "01cd5e8368f0754d91e04dbcefcf369a85511ad26075d53686d3031a1d38b381", "fetched_at": "2026-08-28T04:09:11.765078+00:00", "kind": "readme", "missing": false, "url": "https://github.com/elbywan/wretch"}, {"content_hash": "4938d73b2549012c85086029c348e2292c8fb10cd73c7bcd80c7aadc05527161", "fetched_at": "2026-08-29T08:55:52.799145+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/wretch"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.765078+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:11.765078+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:01:48.853278+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "01cd5e8368f0754d91e04dbcefcf369a85511ad26075d53686d3031a1d38b381", "fetched_at": "2026-08-28T04:09:11.765078+00:00", "kind": "readme", "missing": false, "url": "https://github.com/elbywan/wretch"}, {"content_hash": "4938d73b2549012c85086029c348e2292c8fb10cd73c7bcd80c7aadc05527161", "fetched_at": "2026-08-29T08:55:52.799145+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/wretch"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:01:48.853278+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "01cd5e8368f0754d91e04dbcefcf369a85511ad26075d53686d3031a1d38b381", "fetched_at": "2026-08-28T04:09:11.765078+00:00", "kind": "readme", "missing": false, "url": "https://github.com/elbywan/wretch"}, {"content_hash": "4938d73b2549012c85086029c348e2292c8fb10cd73c7bcd80c7aadc05527161", "fetched_at": "2026-08-29T08:55:52.799145+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/wretch"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:01:48.853278+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "01cd5e8368f0754d91e04dbcefcf369a85511ad26075d53686d3031a1d38b381", "fetched_at": "2026-08-28T04:09:11.765078+00:00", "kind": "readme", "missing": false, "url": "https://github.com/elbywan/wretch"}, {"content_hash": "4938d73b2549012c85086029c348e2292c8fb10cd73c7bcd80c7aadc05527161", "fetched_at": "2026-08-29T08:55:52.799145+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/wretch"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:01:48.853278+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "01cd5e8368f0754d91e04dbcefcf369a85511ad26075d53686d3031a1d38b381", "fetched_at": "2026-08-28T04:09:11.765078+00:00", "kind": "readme", "missing": false, "url": "https://github.com/elbywan/wretch"}, {"content_hash": "4938d73b2549012c85086029c348e2292c8fb10cd73c7bcd80c7aadc05527161", "fetched_at": "2026-08-29T08:55:52.799145+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/wretch"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 88, "longevity": 100, "rhythm": 89}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3276, "days_push": 75, "days_rel": 75, "gap_med": 16, "n_releases_24m": 14}, "score": 91, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}