typed-fetch

Installation

Install and set up typed-fetch in your project

Installation

Package Managers

Install typed-fetch using your preferred package manager:

npm

npm install @phumudzo/typed-fetch

pnpm

pnpm add @phumudzo/typed-fetch

yarn

yarn add @phumudzo/typed-fetch

Requirements

  • Node.js 18+ required
  • TypeScript 4.5+ (optional, for TypeScript support)
  • Modern browser with fetch support (for browser usage)

Initial Setup

After installation, initialize your project:

npx typed-fetch init

This generates a typed-fetch.config.json configuration file with sensible defaults for your project.

Next: Basic Usage

Head over to Basic Usage to start using typedFetch in your code.

On this page