jsend

JSON →
library 1.1.0 ·javascript
verified Jun 4, 2026

Utilities and middleware for creating, validating, and handling jsend JSON response objects in Node.js applications. Version 1.1.0 is the latest stable release. Provides functions to construct success/fail/error responses, validate them (including strict mode), convert from Node-style callbacks, and Express middleware to attach res.jsend helpers. Key differentiator: fully implements the jsend spec with built-in validation and middleware, unlike ad-hoc implementations.