{"name":"graphql-playground-middleware-express","version":"1.7.16","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":"http://github.com/graphcool/graphql-playground.git"},"license":"MIT","main":"dist/index.js","scripts":{"build":"rimraf dist && tsc","prepare":"npm run build"},"keywords":["graphql","graphiql","playground","graphcool"],"peerDependencies":{"express":"^4.16.2"},"devDependencies":{"@types/node":"12.12.34","express":"^4.17.1","rimraf":"3.0.2","typescript":"3.8.3"},"dependencies":{"graphql-playground-html":"1.6.22"},"typings":"dist/index.d.ts","typescript":{"definition":"dist/index.d.ts"},"_id":"graphql-playground-middleware-express@1.7.16","dist":{"shasum":"b082ccd8e3dfd1f070ef87e0cfa6ce4c667ed79a","integrity":"sha512-i06hkhvBacKJGkqVjWkwHt0Ov0YkYa6Lsjx8ThTybrUUxuV0fjaVdVxyUotC06olwW1ZQGCmlV5AnB8LJ8z3Dw==","tarball":"http://registry-npm.ywwl.com/graphql-playground-middleware-express/download/graphql-playground-middleware-express-1.7.16.tgz","fileCount":7,"unpackedSize":3823,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe3EQHCRA9TVsSAnZWagAAW14QAKHhTDU95BUWHaMSvUug\nc1OdMUvXBaX5q2hHmA12P7r5SxdzC3PGns4tn79HK//pUKBj327jqARvsWsT\nm7Lj+FHD805z4mLT067WdiGRGl3TpIgp6wVkBNb+/WHaJX0bbIQV8Xwrg1qa\na0FIHt/NvAEd8BU5OpqGNEEk/HL2+8y5zUeOxY+NE+G8jCl/v7B+W4re/fm+\nhhiL6XMDB+FU4KYEXu8rl1TphCU8lcqcmVE7J/sBiU11zCCyUy+xnMIq+HoF\nSH7iCRZTqsk168lkA3EFLlEMQaLLbaMvGKg71iRj9QyeSNUAUR2tuTMJ/yum\nfIJay5DkHMVSjOXo/cWybNsH1Q73MqLLLiHtBjifODYK7S2DwA1Sdds2nM33\nsPQVGaYhf2gFstC7knPdk12+zIysS/nqZhbixUqeMFswFvvIlB/gwj+8lkIu\nM4sgZ+we2QQoEsJv3YU68uB5+hig+Qit2wM4at2zW8KLYsTt3in2BNusGUek\nBlUZWS/1PnuHXhiqPi7MorgG0ocbH8r1T5PYn/sHLb5KITWwXOdxzJOckPa7\naXj33B73wr3OUK9Uu+GNMsN/ixirsIQ+qU86JQIPGjqzSvmpnfkZkgDm5XQQ\nmKPk4gxe0uImIKflvLZwMKO90VagHhH+Dsy3Rv/0WuDl81psQdCCNEkH33JZ\nLHt6\r\n=AoKq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBrj+Zcit+wQyZwUcA8WWZOgD7FxtvkxcbPM6CdQaPcsAiEAjgzc+zWeIEsTLVBNKVGnhvOSXSIon3lKpIvxEwWGjko="}],"size":1876,"noattachment":false,"key":"/graphql-playground-middleware-express/-/graphql-playground-middleware-express-1.7.16.tgz"},"maintainers":[{"name":"schickling","email":"schickling.j@gmail.com"},{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"_npmUser":{"name":"acao","email":"rikki.schulte@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-playground-middleware-express_1.7.16_1591493638866_0.3408668055802089"},"_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":1591493639016,"_cnpm_publish_time":1591493639016,"dist-tags":{"alpha":"1.5.0-alpha.1","beta":"1.5.1-beta.1","latest":"1.7.23"}}