Middy JSONAPI Middleware
JSON →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.
Traffic · last 30 days ↓20% vs prev 7d
total hits 24
actors 8 distinct systems
last hit 1d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · VN · 🇩🇪 Germany · 🇫🇮 Finland
API endpoints
full doc /v1/registry/middy-jsonapi
compatibility /v1/registry/middy-jsonapi/compatibility