fetch-light-my-request
JSON →A lightweight wrapper that combines fetch-mock and light-my-request to allow Node.js fetch-based HTTP clients to be tested against plain HTTP or Fastify servers without real network calls. Version 0.1.4, early-stage package, requires Node >=20 and Fastify >=4 as a peer dependency. Ships TypeScript types. Differentiates by enabling fetch-mock's full mocking capabilities while using light-my-request's fast in-process request injection, allowing seamless testing of fetch-using code against Fastify or simple HTTP handlers.
Resources
packagefetch-light-my-request ↗
API endpoints
full doc /v1/registry/fetch-light-my-request