{"name":"graphql-playground-middleware-express","version":"1.7.1","homepage":"https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-middleware-express","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.7.1","scripts":{"build":"rimraf dist && tsc","prepare":"npm run build"},"keywords":["graphql","graphiql","playground","graphcool"],"peerDependencies":{"express":"^4.16.2"},"devDependencies":{"@types/node":"9.4.0","rimraf":"2.6.2","typescript":"2.6.2"},"dependencies":{"graphql-playground-html":"1.6.0"},"typings":"dist/index.d.ts","typescript":{"definition":"dist/index.d.ts"},"bugs":{"url":"https://github.com/graphcool/graphql-playground/issues"},"_id":"graphql-playground-middleware-express@1.7.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-eQyOT0DMHvzMzXdPPdSdP4+B4ecGkxClx1DR3MbbMiI60evjwXgbi4xUC+Ydfcf948D/28pUJQWxXYA4T/wOqQ==","shasum":"9bac69fd7691056334ddea2c56c687bddb22844a","tarball":"http://registry-npm.ywwl.com/graphql-playground-middleware-express/download/graphql-playground-middleware-express-1.7.1.tgz","fileCount":4,"unpackedSize":3038,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbMimlCRA9TVsSAnZWagAAPh8P/25xc4IslOBJ6HRQqntq\nwWGal9va15G7HDNIzDQUQDYA8LzWta3gwOq4oAI/YcI1z06OiwBl57hLtNDe\ni8Nzxu6nCYcPIT8fNr7Ub9vqITpoePMOftEKW2WsbulNkQMQW08Q0+C3/jNg\nb/4HJA2IUMUN0b7J86S+n/fSB9Z2GpMnFMblNVp6HFEm5AGlg2T8z9D+XbMN\n4Qx7Y9Dq2wVfMPZaF1hUBOffy7UkvOUHAEj/WJZ59IqsjPg3YTgK4f+Xw+lh\nAJbXqTMfXyFExGsKrsBUQ7Kj6GyrhR33CEQ+U780JMXilvljtW7lxU5W1hMV\nWQPyeEc4zeEbyzVz80Zdxw6MowqpxkJ829ReUrCKdSH3JKnZogc3X7dDr8d8\nGi1IU/yiLe8m9bh6AolYB77nbeXAxAkRldVn5GvP7UlJdLrEAqzcD4/m95Ga\nNesZuHxhMNzD0Fkm6jBcA+O4NReB6/gxdn69kaJIApdbe2dVwKHDr3YXFwEV\nmJxm18rOv5vbSFJIbUhrQ5z8G3Y+KZK/g8yy8r5IPuSuJIdtp5KXTEsCyao+\njdbPwl557ZcxGV5G0nGgNp2HfvY52vFBk5rMQpChomv6r2uluIEPOVeP0l1y\nqIcxXve79xjTeMQL/irhxYH7P4u/vbhFq6QiNOZ6NxrGM4amMHDuL1CSiRrA\noV7W\r\n=+vCN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIARFetDysIt0jgM6mOqziKLUGzqH9IuveKzHOu6j4T4vAiEAwrTQZjjSDaOJeFDKu3ciST/6eDrK2XbzOSNcyvmajM8="}],"size":1546,"noattachment":false,"key":"/graphql-playground-middleware-express/-/graphql-playground-middleware-express-1.7.1.tgz"},"maintainers":[{"name":"schickling","email":"schickling.j@gmail.com"},{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-playground-middleware-express_1.7.1_1530014117323_0.773134217483098"},"_hasShrinkwrap":false,"readme":"# graphql-playground-middleware-express\n\n> Express middleware to expose an endpoint for the GraphQL Playground IDE\n> **SECURITY NOTE**: All versions of `graphql-playground-express` until `1.7.16` or later have a security vulnerability when unsanitized user input is used while invoking `expressPlayground()`. [Read more below](#security-notes)\n\n## Installation\n\nUsing yarn:\n\n```console\nyarn add graphql-playground-middleware-express\n```\n\nOr npm:\n\n```console\nnpm install graphql-playground-middleware-express --save\n```\n\n## Usage\n\nSee full example in [examples/basic](https://github.com/prisma/graphql-playground/tree/main/packages/graphql-playground-middleware-express/examples/basic).\n\n```js\nconst express = require('express')\nconst expressPlayground = require('graphql-playground-middleware-express')\n  .default\n\nconst app = express()\n\napp.get('/playground', expressPlayground({ endpoint: '/graphql' }))\n```\n\n## Security Notes\n\nAll versions before `1.7.16` were vulnerable to user-defined input to `expressPlayground()`. Read more in [the security notes](https://github.com/prisma/graphql-playground/tree/main/SECURITY.md)\n\n### Security Upgrade Steps\n\nTo fix the issue, you can upgrade to `1.6.12` or later. If you aren't able to upgrade, see the security notes for a workaround.\n\n**yarn:**\n`yarn add graphql-playground-express@^1.7.16`\n\n**npm:**\n`npm install --save graphql-playground-express@^1.7.16`\n","publish_time":1530014117378,"_cnpm_publish_time":1530014117378,"dist-tags":{"alpha":"1.5.0-alpha.1","beta":"1.5.1-beta.1","latest":"1.7.23"}}