{"name":"graphql-playground-middleware-express","version":"1.7.4","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","playgroundVersion":"1.7.8","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.4","_npmVersion":"5.6.0","_nodeVersion":"9.10.1","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-i7i9Vp0Fu/0W7FLdl9GxtzXEZSZDdEZcEjynzE0JfebK1itdzku/kaByA9rlt1iQBhzbFK8JO64LmZvEfPMiBQ==","shasum":"be0455a2420ab18e33b925f026ed33da731533c4","tarball":"http://registry-npm.ywwl.com/graphql-playground-middleware-express/download/graphql-playground-middleware-express-1.7.4.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\nwsFcBAEBCAAQBQJbxa2qCRA9TVsSAnZWagAAg5sP/jg+4e6HFUANNxxI8MlK\nX8gn6TpzVPm6xTfu4styVgmBJqkn5D1gCFf785/Rzu3Cws/kJEKkF0dKIes+\nuBLoZNIad0haEZJpgzOqvCfW1WeI5G6e36PgbmoEZlXfBhxVMZYCS0cSBYwp\nS04GzorY79bI51x0W/A0aHIE5kst4d2emGG3RXz5O8UnV7St4TSjkmWMRvRv\njAy8o1gsHMK7qvKbHyK75mIV2SofsG/Q7NQsDmjbWwThxooRrMn/9cvuYgxx\n/rkSG/6wX4nUwuuugNYHGuBSKNEokOr0v+7hn6f5CC4ffgDjv2WyADWojCol\nKciyEd3EoujQcSSNljncs3zyAI7/+Lmaz0aaW2NIrrp0YsYJBoeEnkEhUqbv\nk8pm8S4xfWfWqwxMoWXgn/2HZiKhEUZvXJI6gC+dXj/qf+Aqx/kKrPOrYjv0\nG6qC368O3AqTbuLtt0CMwZMKTduZH0cMndsqBJV8RH5Pi44fXIZSmo6BOKqr\nYGxicMzcEyXK8/3KvpMbMSBPdcz8bUuFHt48eU//TGqhhHFGylzx1Z/vOAqN\n16esWU2A/YnZBnDVFAnLRd/NZ4iVp/6z2bBcdUDbZQyATmmKQ+d5AOz8gzjw\nLIEVX9DUvRdSdw5CGdhDdHtsulQjML7JUE96Eu5ox9yhTumhLXuSN+5Gv+4I\nRPko\r\n=BDb7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCrhBnlY0DlyYJkgfJ1dWKt3Nvp1tGi4uAuZEj1Xd6qFgIgVq2w+QL5vKnVms3D2dW6lqk3tf5jewgGgeHPH14xMKU="}],"size":1551,"noattachment":false,"key":"/graphql-playground-middleware-express/-/graphql-playground-middleware-express-1.7.4.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.4_1539681706290_0.1813207642562087"},"_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":1539681706386,"_cnpm_publish_time":1539681706386,"dist-tags":{"alpha":"1.5.0-alpha.1","beta":"1.5.1-beta.1","latest":"1.7.23"}}