Skip to content

Install Fetcher ​

The core package supports Node >=18.20.8. Create an independent directory so the example does not rely on this repository's workspace links:

bash
mkdir fetcher-first-request
cd fetcher-first-request

Create package.json with ESM enabled:

json
{
  "name": "fetcher-first-request",
  "private": true,
  "type": "module"
}

Install the published client and TypeScript:

bash
pnpm add @ahoo-wang/fetcher
pnpm add -D typescript

This is a consumer setup. Contributors to this repository instead need Node >=22.12.0, pnpm 10.34.5, and the commands in Development.

Continue with Your first request.

React and Viewer starting points ​

For an existing React application, follow the React example peer installation and mounting steps. For a table on the 5.x line, use your first data view. These UI paths require additional peers beyond the core HTTP installation; choose your starting point first.

Packages in the Wow repository ​

The Wow client, the Wow React hooks, the generator and the data-view components moved to the Wow repository. Their successors are on npm from Wow 9.2.0 — @ahoo-wang/wow-client, @ahoo-wang/wow-react, @ahoo-wang/wow-generator and @ahoo-wang/wow-view-engine — and from Wow 9.2.1 they accept fetcher 6; see wow.ahoo.me and packages that moved.

Released under the Apache License 2.0.