{"name":"graphql-playground-middleware-express","version":"1.6.2","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.6.6","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.5.5"},"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.6.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-BHaEZe2J2lQ1TX2W73a6PI2zVjB9Nb0J9pFdbG1L7ugYdbait/elDrsNMxLCsDHVOGJF009VlYszrk7Cq7FiTg==","shasum":"3efe103cd222d6cf39e71f70c48be550c47b7a9b","tarball":"http://registry-npm.ywwl.com/graphql-playground-middleware-express/download/graphql-playground-middleware-express-1.6.2.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\nwsFcBAEBCAAQBQJa9ApOCRA9TVsSAnZWagAA/x8P/i7aCcxUMy/B5F05rMWw\nmPVYA+11ArkywOWlPouIoYP7yw64LT3f0XjDmEphvcwS71rSJQh220dXee2m\nyvr7TGlWUm7Ai6Jk47jvOAJDs+nb/pjzTzfwK7qu2h75319QIIG/ykJi8brR\nM6fZVAcYQj2nGbz/h09U4WYViDcI1hDV0vRdAFIgibjdB8sJPMnONuQSB75K\nFUWIDLRcz8CMiggyqBkQSaCVY1lidjZz6PkqJSEIad478n59q2mICh8R8+5X\n+NWkNF07KLE4GdQYDBUBMPn1VSfOAhHA0VkNfBtV8YIgZzUqsyCcBN8QZ/Cb\nFpz4rMUBCJvhQ21u2AhxBPh/A31QyrjGYRa/JSkUQhVNkNEE4MSfMK3n7buO\npUvZIpS8XCnMiSrJ0/agq90SmZlaXtLiy2+uFnTUj0gWpE7YGKh5MtnQnYUz\n9XL7PECflj3tPCEFoJGC7L4/Q+TrsM//mSGJuQPpd+2nPxrXs/qyfKqXlr3/\nEYLLC1FekQdTHNXAt66NMHpkpCjO96Fm28ccRGG1kUbJcSKlv0vD54DRrR2t\ny880Ptw38c0DfuQ9Em+rSRZ+xbEouIzrMbve2bsiNseu8l9n1QnkMq3vGEfv\nIsi/V8EURWsq5evj92Y+f4qqX+yYi4Yp9AGy47oD8xZ+kyrg7VUVBD7jTwTR\n3FA7\r\n=E37G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUHUHKyUTzbCk9ssQMG2ZodZlqO/dZaEZOJwtXuGbeCAIgKd5sj00hgVmTQFrHldsRdAo0WOe/QHS6QfWxiu7k+KM="}],"size":1548,"noattachment":false,"key":"/graphql-playground-middleware-express/-/graphql-playground-middleware-express-1.6.2.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.6.2_1525942862012_0.9249044850264332"},"_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":1525942862107,"_cnpm_publish_time":1525942862107,"dist-tags":{"alpha":"1.5.0-alpha.1","beta":"1.5.1-beta.1","latest":"1.7.23"}}