JSPM

recker

1.0.14
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1313
  • Score
    100M100P100Q117902F
  • License MIT

AI & DevX focused HTTP client for Node.js 18+

Package Exports

  • recker
  • recker/ai
  • recker/client
  • recker/dns
  • recker/package.json
  • recker/plugins/auth
  • recker/plugins/cache
  • recker/plugins/circuit-breaker
  • recker/plugins/compression
  • recker/plugins/cookie-jar
  • recker/plugins/dedup
  • recker/plugins/graphql
  • recker/plugins/grpc-web
  • recker/plugins/har-player
  • recker/plugins/har-recorder
  • recker/plugins/hls
  • recker/plugins/http2-push
  • recker/plugins/http3
  • recker/plugins/interface-rotator
  • recker/plugins/jsonrpc
  • recker/plugins/logger
  • recker/plugins/odata
  • recker/plugins/pagination
  • recker/plugins/proxy-rotator
  • recker/plugins/retry
  • recker/plugins/scrape
  • recker/plugins/server-timing
  • recker/plugins/soap
  • recker/plugins/user-agent
  • recker/plugins/xml
  • recker/plugins/xsrf
  • recker/presets
  • recker/scrape
  • recker/testing
  • recker/udp
  • recker/utils/agent-manager
  • recker/utils/body
  • recker/utils/cert
  • recker/utils/charset
  • recker/utils/chart
  • recker/utils/client-pool
  • recker/utils/colors
  • recker/utils/concurrency
  • recker/utils/dns
  • recker/utils/dns-toolkit
  • recker/utils/doh
  • recker/utils/download
  • recker/utils/env-proxy
  • recker/utils/header-parser
  • recker/utils/html-cleaner
  • recker/utils/link-header
  • recker/utils/optional-require
  • recker/utils/progress
  • recker/utils/rdap
  • recker/utils/request-pool
  • recker/utils/sse
  • recker/utils/streaming
  • recker/utils/tls-inspector
  • recker/utils/try-fn
  • recker/utils/upload
  • recker/utils/user-agent
  • recker/utils/whois
  • recker/webrtc

Readme

Recker

Recker Logo

The HTTP SDK for the AI Era

Fast as infrastructure demands. AI-ready from the first byte. Observable down to the millisecond. Resilient when everything else fails.

npm version npm downloads TypeScript Node.js Coverage License

Documentation ยท Examples ยท Migration


๐Ÿ“ฆ Install

npm install recker

๐Ÿš€ Quick Start

import { createClient } from 'recker';

const client = createClient({ baseUrl: 'https://api.example.com' });

// GET with JSON
const users = await client.get('/users').json();

// POST with body
await client.post('/users', { json: { name: 'John' } });

// Path params + query
await client.get('/users/:id', { params: { id: '123', expand: 'profile' } });

โœจ Why Recker?

Recker isn't just another HTTP client. It's a complete orchestration layer designed for modern, data-intensive applications.

Feature Description
๐Ÿ”ฎ 19 HTTP Methods Beyond CRUD: WebDAV, CDN Purging, and specialized verbs.
๐Ÿค– AI-First Native Server-Sent Events (SSE) parsing optimized for LLMs.
๐Ÿ•ท๏ธ Scraping Ready jQuery-like HTML parsing, HLS downloading, and proxy rotation.
๐Ÿ›ก๏ธ Security Suite Built-in SSL inspection, WHOIS/RDAP, and DNS analysis.
โšก Performance Connection pooling, deduplication, and deep network metrics.
๐Ÿ›ก๏ธ Resilience Circuit breakers, smart retries, and rate limit awareness.

๐Ÿ’ก Feature Highlights

Stream AI Responses

Handle LLM streams effortlessly with the .sse() iterator.

for await (const event of client.post('/v1/chat/completions', {
  json: { model: 'gpt-5', messages, stream: true }
}).sse()) {
  process.stdout.write(event.data);
}

Scrape & Extract

Turn any webpage into structured data with the .scrape() method.

const doc = await client.scrape('https://example.com');
const titles = doc.selectAll('h1').map(el => el.text());

Reliability Built-in

Configure advanced retry policies in declarative style.

const client = createClient({
  plugins: [
    retry({ maxAttempts: 3, backoff: 'exponential', jitter: true })
  ]
});

Deep Observability

Know exactly where your latency comes from.

const { timings } = await client.get('/api/data');
console.log(timings);
// { dns: 12ms, tcp: 8ms, tls: 45ms, firstByte: 23ms, total: 156ms }

๐Ÿ“š Documentation

Getting Started

Core Features

Integrations

Reference

โค๏ธ Acknowledgements

At Recker, we are passionate about these incredible open-source technologies. We are here to celebrate the past achievements that shaped the internet as we know it today, and to prepare ourselves for the future of web development.

Recker stands on the shoulders of giants. We extend our deepest gratitude to these projects:

๐Ÿค Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

๐Ÿ“„ License

MIT ยฉ Forattini


Built for the AI era.

Documentation ยท GitHub ยท npm