Node.js Fetch Test Server

JSON →
library 1.2.0 ·javascript
verified May 27, 2026

fetch-test-server is a utility library for Node.js integration testing, enabling developers to test their HTTP servers (including frameworks like Express and Koa) using the modern Fetch API. As of version 1.2.0, it leverages native ES6 features and promises, providing an async/await-friendly alternative to callback-based testing libraries such as SuperTest. The library operates by starting the user's HTTP server on a random available port, internally using `node-fetch` to make requests. It intelligently defers server startup until the first request is made, streamlining the test setup process. Its release cadence appears moderate, with recent updates focusing on modern JavaScript features. This package differentiates itself by offering a familiar browser-like API for server interactions directly within Node.js test environments.

total hits 44
actors 9 distinct systems
last hit 1d ago human
Amazonbot
4
MetaBot
4
GPTBot
2
Script
1
PerplexityBot
1
Search engines
3
Humans
6

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇫🇮 Finland · 🇪🇸 Spain · 🇫🇷 France