{"name":"graphql-playground-middleware-lambda","version":"1.4.0","homepage":"https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-middleware-lambada","description":"GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).","contributors":[{"name":"Tim Suchanek","email":"tim@graph.cool"},{"name":"Johannes Schickling","email":"johannes@graph.cool"},{"name":"Mohammad Rajabifard","email":"mo.rajbi@gmail.com"}],"repository":{"type":"git","url":"git+ssh://git@github.com/graphcool/graphql-playground.git"},"license":"SEE LICENSE IN LICENSE","main":"dist/index.js","files":["dist"],"playgroundVersion":"1.4.0","scripts":{"build":"rimraf dist && tsc","prepare":"npm run build"},"keywords":["graphql","graphiql","playground","graphcool","lambada"],"peerDependencies":{"aws-lambda":"^0.1.2"},"devDependencies":{"@types/node":"8.5.5","rimraf":"2.6.2","typescript":"2.6.2"},"typings":"dist/index.d.ts","typescript":{"definition":"dist/index.d.ts"},"dependencies":{"graphql-playground-html":"1.5.0"},"bugs":{"url":"https://github.com/graphcool/graphql-playground/issues"},"_id":"graphql-playground-middleware-lambda@1.4.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-i2DdlwZJ18OvEJQGS2bkwx6UCgZaix+mySv7Rp2AMfAYMFotbAoiE5Adud9tS4/1AakU5VHhSwwB3SRB5C820w==","shasum":"6fc450b16b67f8e9a9c41bd108cb9a4fa75abd27","tarball":"http://registry-npm.ywwl.com/graphql-playground-middleware-lambda/download/graphql-playground-middleware-lambda-1.4.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCeFDK4qG7C9p0jMN9Q2+K04fnF1qptd4TpIIKjeQ9XIwIgCh1X7mE+RysmiQfFXVFBFyI/A0jeY/Mg/a5lsBuoETM="}],"size":3135,"noattachment":false,"key":"/graphql-playground-middleware-lambda/-/graphql-playground-middleware-lambda-1.4.0.tgz"},"maintainers":[{"name":"schickling","email":"schickling.j@gmail.com"},{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-playground-middleware-lambda-1.4.0.tgz_1516039139245_0.2966649958398193"},"directories":{},"readme":"# graphql-playground-middleware-lambda\n\n> Koa middleware to expose an endpoint for the GraphQL Playground IDE\n> **SECURITY NOTE**: All versions of `graphql-playground-middleware-lambda` until `1.7.17` or later have a security vulnerability when unsanitized user input is used while invoking `lambdaPlayground()`. [Read more below](#security-notes)\n\n## Installation\n\nUsing yarn:\n\n```console\nyarn add graphql-playground-middleware-lambda\n```\n\nOr npm:\n\n```console\nnpm install graphql-playground-middleware-lambda --save\n```\n\n## Usage\n\nSee full example in [examples/basic](https://github.com/prisma/graphql-playground/tree/main/packages/graphql-playground-middleware-lambda/examples/basic).\n\nminimal example:\n\n```js\nconst lambdaPlayground = require('graphql-playground-middleware-lambda').default\n\nexports.handler = lambdaPlayground({\n  endpoint: '/dev',\n})\n```\n\n## Security Notes\n\nAll versions before `1.7.17` were vulnerable to user-defined input to `lambdaPlayground()`. Read more in [the security notes](https://github.com/prisma/graphql-playground/tree/SECURITY.md)\n\n### Security Upgrade Steps\n\nTo fix the issue, you can upgrade to `1.7.17`. If you aren't able to upgrade, see the security notes for a workaround.\n\n**yarn:**\n`yarn add graphql-playground-middleware-lambda@^1.7.17`\n\n**npm:**\n`npm install --save graphql-playground-middleware-lambda@^1.7.17`\n","publish_time":1516039140110,"_cnpm_publish_time":1516039140110,"dist-tags":{"beta":"1.3.0-beta.3","latest":"1.7.24"}}