Preparing for system design interviews?  Try bugzed.com →

Middy JSONAPI Middleware

JSON →
library 2.0.2 ·javascript
verified Jun 17, 2026

middy-jsonapi (v2.0.2) is a middleware for the Middy Node.js AWS Lambda framework that formats Lambda responses to conform to the JSON API spec (jsonapi.org). It parses query parameters like include, fields, sort, and page, supports page-based and offset-based pagination with auto-generated links, and formats errors into standard JSON API error objects. Unlike manual formatting, it integrates seamlessly with Middy's middleware chain (e.g., validator, httpContentNegotiation) and works with strict Accept headers (application/vnd.api+json). Requires middy as a peer dependency. Active development, release cadence irregular.

total hits 13
actors 4 distinct systems
last hit 20d ago AhrefsBot
GPTBot
4
Script
1
Amazonbot
1
Humans
5

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇬🇧 United Kingdom · 🇨🇳 China · 🇨🇦 Canada