{"library":"jsend","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.1.0","tags":["javascript","jsend","middleware","json","status"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install jsend","imports":["import jsend from 'jsend'","const jsend = require('jsend')","import jsend from 'jsend';\nconst strictJsend = jsend({ strict: true })"]},{"cmd":"yarn add jsend","imports":[]},{"cmd":"pnpm add jsend","imports":[]}],"homepage":"https://github.com/Prestaul/jsend#readme","github":"ssh://git@github.com/Prestaul/jsend","docs":null,"changelog":null,"pypi":null,"npm":"jsend","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}