{"name":"graphql-playground-middleware-lambda","version":"1.1.2","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"],"scripts":{"build":"tsc","prepublishOnly":"npm run build"},"keywords":["graphql","graphiql","playground","graphcool","lambada"],"peerDependencies":{"aws-lambda":"^0.1.2"},"devDependencies":{"@types/node":"^8.0.47","typescript":"^2.6.1"},"typings":"dist/index.d.ts","typescript":{"definition":"dist/index.d.ts"},"bugs":{"url":"https://github.com/graphcool/graphql-playground/issues"},"_id":"graphql-playground-middleware-lambda@1.1.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-U37oE2J6kILoKaT/XHaJuqTY2m8bCeeyZrYXNvcVTXLnbOBvLywElIKhwutJ8TPXuHEgD/PVaXoB9CKjZg6Jmw==","shasum":"55848eff6515c6e0b371da7d3203ed1d6c217280","tarball":"http://registry-npm.ywwl.com/graphql-playground-middleware-lambda/download/graphql-playground-middleware-lambda-1.1.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqPiH4A81jsJ7ZKZ/oKvRl8swXzhkBiC61DrYE80y5sQIhAIN+O2KkgM64YNveJr2Rqey0wTa9yuf08B52Ro9wCXzF"}],"size":3071,"noattachment":false,"key":"/graphql-playground-middleware-lambda/-/graphql-playground-middleware-lambda-1.1.2.tgz"},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-playground-middleware-lambda-1.1.2.tgz_1510065412078_0.6148764295503497"},"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":1510065412240,"_cnpm_publish_time":1510065412240,"dist-tags":{"beta":"1.3.0-beta.3","latest":"1.7.24"}}