ThinkJS HTTP Mocking Utility
JSON →The `think-mock-http` package provides a dedicated utility for simulating HTTP requests and responses within ThinkJS 3.x applications, primarily for testing purposes. Currently at version 1.0.6, the library offers a simple API to create mock contexts, allowing developers to test controllers, middleware, and services without requiring a live HTTP server. Given its last significant update in 2019, its release cadence is slow, existing mainly for maintenance within the ThinkJS ecosystem rather than active feature development. Its key differentiator is its deep integration with the ThinkJS core, ensuring compatibility with the framework's internal request/response lifecycle, unlike generic HTTP mocking libraries.
Traffic · last 30 days ↓87% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇪🇸 Spain · 🇳🇴 Norway · 🇩🇪 Germany