supertest-fetch

JSON →
library 2.0.0 ·javascript
verified Jun 7, 2026

A TypeScript-friendly alternative to Supertest that uses the native Node.js WHATWG Fetch API (available since Node 18). Currently at version 2.0.0 with semantic-release based releases. Key differentiators: no dependency on superagent, avoiding @types/superagent quirks; uses native fetch for better performance and compatibility; supports both ESM and CJS; first-class TypeScript type definitions shipped with the package.