koa-formatter
JSON →A response body formatter middleware for Koa (v0.1.0, stable) that automatically wraps JSON API responses into a consistent envelope with ok, status, errors, and result fields. It supports custom formatter functions, error aggregation, and includes Flowtype definitions. Unmaintained since 2016, no recent releases; suitable for legacy Koa v1/before async/await middleware patterns. Alternatives: koa-respond, koa-json, or manual ctx.body assignment.
Traffic · last 30 days stale · no recent hits
total hits 8
actors 2 distinct systems
last hit 17d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada
Resources
packagekoa-formatter ↗