ding-res-msg

JSON →
library 1.3.1 ·javascript maintenance
verified Jun 4, 2026

A lightweight response body formatter for Express, Koa, and plain Node.js servers. Version 1.3.1 provides a simple way to standardize JSON API responses with consistent success/error fields. It automatically converts Error objects to error strings, supports pagination payloads, and has a production mode that strips stack traces. This package has low maintenance cadence and minimal dependencies, making it suitable for small to medium projects that need a quick response formatting utility without a full framework integration.