A lightweight, framework-agnostic HTTP/HTTPS proxy library for Node.js (v1.1.3, last released 2022, stable). Forked from fastify/fast-proxy, it provides request forwarding with caching, custom agents, and header rewriting. It is used by fast-gateway and is smaller than alternatives like http-proxy. Supports Node >=10.
npm install fast-proxy-liteNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a proxy instance with base URL and forwards all /service/* requests to the remote server.
const { proxy } = require('fast-proxy-lite')({ base: '...' })Always pass a base URL to the factory function.
Set { rejectUnauthorized: false } in factory options for self-signed certs.const { proxy } = require('fast-proxy-lite')({ base: 'http://localhost:3000' })Ensure the base option is set to a valid URL string like 'http://localhost:3000'.
Add { rejectUnauthorized: false } to the factory options.No dependency data recorded yet.