upfetch

Installation
SKILL.md

upfetch

Use up-fetch when you need a reusable fetch client with request-scoped defaults, automatic request/response shaping, runtime validation, retries, and lifecycle hooks.

Mental model

  • up(fetchFn, getDefaultOptions?) creates the reusable client.
  • getDefaultOptions(input, options, ctx) runs on every request.
  • upfetch(input, options?, ctx?) performs one request.
  • Keep SKILL.md high-level; load the relevant file under references/ for details.

Minimum pattern

import { up } from 'up-fetch'
import { z } from 'zod'
Installs
22
GitHub Stars
1.4K
First Seen
Mar 9, 2026