{"name":"graphql-playground-middleware-express","version":"1.7.7","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.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.7.7","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"huvik","email":"huvikjee@gmail.com"},"dist":{"integrity":"sha512-Htx4X6j2zTLnprD8DdGnHdcm2XkbWHOByxn4p8TOyWjGFI5Ivm9PBMTrmSvn4V2YkGboM0gZfR0bnqun1xI5QA==","shasum":"554be59abae79566eb8a20d82d3c715ee0776097","tarball":"http://registry-npm.ywwl.com/graphql-playground-middleware-express/download/graphql-playground-middleware-express-1.7.7.tgz","fileCount":5,"unpackedSize":3709,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7JXtCRA9TVsSAnZWagAAClwP/0Hio4QE6za2ulTtPfpP\n2l1V1gZqFSYHoT8mY9zUIhMo0NUX/DUrLIOqU/j3fE8esYfBN58g/HHAguSD\njaFjifiMGnMAhSMLl1dlUiqN36Vcx74zIDgItPJBuvmbF2M6MWjOitIsRDCH\nKnyB+vLX7Z4kCMetUgKdM3pNfvgiqaWgs8b/hMhg2qc/WhWf00b34/823FcJ\nSEc8aH6ll2c5ewQx9zFYlPCa9X97E5e1F5m9pI4p/b2WfRhtb2bxDHDm4LRc\nN7Zy68yCdaIyxQIGpIbMhzgy3sDs6F2Bjq8ljheWaC4diAj7xboVycpjp5rH\ns4Vf7dgG2knNGbg5lAO0pG57lCqv1sveV+hJKkIp4oFY4Fp8PJMrHwiilMC3\nIYmiw4fpxyn00PdCg9t3lf31budDllwxVq+KH1SiAQz9aTo834DTJTQN4X7t\nz9bswYxaqpglUBtK9gO7IDjSOzTYK3vJRrVO5BT/ckJ3PHBkuzyQRiDoVX9E\nq8N//H5mLeh/3S91YReHXthkJK3wTaSQhHztb1Hccert3WYLXkfKRJoVIY5+\nX0IHLU8nwx4RTaxT16/QgLuWr7+Dp3zd05z6apt0+pMs7ysSM/WiJki+PVfB\nZEEIqpiYddxQoG9zCZZAS7ww3MVuiFVw/u3rHq6BUJoH46Vgj0zJ2btVExB1\nBGLc\r\n=0TXl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJChB6X9UqgQc/RsLQl+xt7aDIupJWVWE2omVnjfISOgIhAML4/AT/JSrJ/zI9dd5G8FiMpZmsRYHyaROdArCwRhMp"}],"size":1799,"noattachment":false,"key":"/graphql-playground-middleware-express/-/graphql-playground-middleware-express-1.7.7.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.7_1542231532523_0.7755187518992857"},"_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":1542231532660,"_cnpm_publish_time":1542231532660,"dist-tags":{"alpha":"1.5.0-alpha.1","beta":"1.5.1-beta.1","latest":"1.7.23"}}