THE REQUESTS, UNDER CONTROL. v—

Every request,
under control.

From your first Fetch call to production workflows.
Type safety, streaming and composable resilience in one lightweight client.

Try it live ↗

0 runtime dependenciesTS type firstFetch native core
NEWReal responses. Reusable test fixtures.
● ● ●your-next-request.tsTypeScript
import { createClient } from '@npora/request/core'
import { retryPlugin } from
  '@npora/request/plugins/retry'

const api = createClient({ baseURL: '/api' })
  .use(retryPlugin({ retries: 2 }))

// Less boilerplate. More certainty.
interface User { id: number; name: string }
const user = await api.get<User>('/user')
console.log(user.name)
EXAMPLE RESPONSE{ "id": 1, "name": "Npora" }
200 OK
BUILT ON THE PLATFORM YOU KNOW
TypeScriptFetch APIStandard SchemaWeb Streams
YOUR FIRST REQUEST

Install. Run. Meet your response.

  1. Install in a Node.js 22+ project.npm i @npora/request
  2. Save the example as first-request.mjs.
  3. Run it from the same project.node first-request.mjs

This Node.js example uses our public demo API. In a browser app, use your own same-origin /api or a backend that allows your origin through CORS.

Continue with TypeScript and validation ↗
first-request.mjsNode.js 22+
import { createClient } from '@npora/request/core'

const api = createClient({
  baseURL: 'https://www.npora.live/api',
  timeout: 5000
})

const user = await api.get('/user')
console.log(user.name)

LIVE PLAYGROUND / 01—10

See your requests in action.

Every click sends real requests. Watch failures, recovery and each chunk as it arrives.

Same-origin Cloudflare API

Not started
Example codeTypeScript
Live outputREADY
Run a scenario to see real responses.
Ready

Requests 0

Actual network requests from this test
Method / pathStatusDuration
Actual requests will appear here after you run a scenario.

This demo deliberately triggers failures: schema rejection, timeouts and rate limits are expected. Uploads use a 1 MiB sample (2 MiB maximum per request); uploaded files are not stored.

MEASURED, NOT ASSUMED

Choose the right client.

A transparent snapshot against current stable clients, measured on November 20, 2026.

Client / versionGET JSON · req/s64 KiB JSON · req/sBrowser gzip
@npora/request 1.23.314,5104,26914.8 KB
Axios 1.21.1 · Fetch8,2143,30822.3 KB
Ky 2.2.011,6043,93011.7 KB
ofetch 1.5.114,6243,8594.1 KB

Npora 1.23.3 · Node 24.18.0 · Apple M3 · loopback HTTP · concurrency 32 · six rotated rounds. Retries and configurable timeouts disabled. Browser bundles: esbuild 0.28.2, ES2020, gzip level 9. These results do not rank production or browser network performance.

Ky also supports Standard Schema, QUERY and transfer progress. Npora focuses on incremental SSE/NDJSON validation and composed request lifecycles. Got and Undici target Node transport needs; SuperAgent offers mature forms and transfers. They were reviewed, not benchmarked here.

Methodology and raw results ↗
SMALL CORE. SOLID FOUNDATIONS.

Less glue code. More building.

The essentials fit together, from a single call to your whole application.

Explore the API ↗
01 / TYPES

Make boundaries explicit.

Generics describe expectations. Standard Schema validates real data. Errors include stable codes and specific field paths.

02 / STREAMS

Consume data as it arrives.

Consume SSE and NDJSON incrementally, with async iteration, cancellation and backpressure built on web standards.

03 / PLUGINS

Compose what you need.

Add retries, authentication, circuit breakers and traffic control through optional plugins around a lightweight core.

REAL TRAFFIC → TEST FIXTURES

A real response. Your next test.

Capture a demo response and turn it into a reusable MockAdapter fixture. Less time writing sample JSON, more time testing what matters.

  1. 01
    Record

    A real request to the public demo API.

  2. 02
    Review

    Common credentials and wire headers are filtered.

  3. 03
    Replay

    Copy a replyOnce fixture into your test.

Read the recording guide ↗
your-next-test.tsMOCK ADAPTER
const mock = new MockAdapter({
  record: { adapter: new FetchAdapter() }
})

// Record a response to generate your fixture.

Demo data only. Kept in this tab. Nothing is saved to a file.