Lambda middleware for GraphQL Playground, an interactive GraphQL IDE supporting subscriptions, docs, and collaboration. Current stable version is 1.7.24. Releases are infrequent. Key differentiator: designed specifically for AWS Lambda using API Gateway; security vulnerability existed in versions <1.7.17, fixed by sanitizing input. Ships TypeScript types. Requires aws-lambda peer dependency. Commonly used with serverless frameworks.
npm install graphql-playground-middleware-lambdaNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows ESM import of default export, then calling as a Lambda handler with endpoint and settings.
Upgrade to 1.7.17+; if unable, sanitize all user input passed to lambdaPlayground.
Use const { default: lambdaPlayground } = require('graphql-playground-middleware-lambda');Consider migrating to graphql-playground-html or @graphql-inspector/playground.
Use require('graphql-playground-middleware-lambda').defaultRun npm install aws-lambda --save-dev or yarn add aws-lambda --dev
Upgrade to 1.7.17+ or sanitize all user input passed to lambdaPlayground.