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 stale · no recent hits
total hits 13
actors 4 distinct systems
last hit 20d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇬🇧 United Kingdom · 🇨🇳 China · 🇨🇦 Canada
API endpoints
full doc /v1/registry/middy-jsonapi
compatibility /v1/registry/middy-jsonapi/compatibility