reqres
JSON →Stub request and response objects for testing Express applications and middleware. Provides `req()` and `res()` functions that create mock objects with sensible defaults and sinon stubs on methods. Version 3.0.1 is current, maintained as needed. Key differentiator: integrates sinon for stub/spy assertions, customisable sinon instance, emits 'end' events on response methods. Alternative to node-mocks-http or express-mocks-http.
Traffic · last 30 days ↓57% vs prev 7d
total hits 17
actors 6 distinct systems
last hit 4d ago human
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇪🇸 Spain · 🇬🇧 United Kingdom
API endpoints
full doc /v1/registry/reqres
install /v1/registry/reqres/install
compatibility /v1/registry/reqres/compatibility