{"name":"graphql-playground-middleware-express","version":"1.7.15","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":"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.19"},"typings":"dist/index.d.ts","typescript":{"definition":"dist/index.d.ts"},"playgroundVersion":"1.7.23","bugs":{"url":"https://github.com/graphcool/graphql-playground/issues"},"_id":"graphql-playground-middleware-express@1.7.15","_nodeVersion":"13.12.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-Q7bjD1SMT5fiXMgUqstNzkYk9+csbuu5K7uOga9tJlA8x9gOVsSmmIfLi0tjPOrPd4m8icPnKncR73oNA22d5g==","shasum":"246a938e9bfb9e510ff9a24deaba32fbbf83006d","tarball":"http://registry-npm.ywwl.com/graphql-playground-middleware-express/download/graphql-playground-middleware-express-1.7.15.tgz","fileCount":5,"unpackedSize":3131,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJez8BlCRA9TVsSAnZWagAAfGcP/0ZMdmTTqbta02bFE6eQ\n2eSpvC/bBVNQLEI12bgLIee4e8e3ZcQI11UhsYjvMmfoslEtcDiH82U9Bqoh\nVCqwvgcgLWX72peq2AP0tPw6KkB20VSa5Qbt3xtrySRjcSE74P0yZfhWg/CY\nhnsuDoazz1GYnWKpFI326KQjfHoKDAngTO4lHdgHgRpcxsh2wnr5Heo/jygy\nMh4YiM8sBDU26y/LkCIEYCqBn2AiG8/RexEs5NrwkqZVe4q/p4PZpvqx6HBc\nSQvVIUapwt0MoXKlwa3RwT1uMpHOTQ7dPpV03fEEusnSmtsHbXMLui1rKriG\nRPqeCEpjME6MGUptpkP6/nmM0JQacAlZkDVVP6pzB0PDSzj/ZAWc51D5+EvN\nOJHj9aNTPMu1+IAHbug784mlT5gdxC8zMhceP/o/t5pDI/2TXl08oNlRVLdE\nbHhFIvgcmf4mIACgzCdvolhONjpBR6WwO1HhvRf0BVDZ9pe4K2jnap4uD6XP\njNRRrJsXTKdFAjoV+iKrkZ0HsNFpoZYuUFaXQUT1Sy2f7Mp44RP8oBzFetXr\nr7RzTU3Gxsf7nkq8FIfotgRbJWbyP/wQRH0H0/mjsEh8WNjpSClULyMEp1QB\nYCzXhqS0cP6u2fEEXfjhFKV6lCsbJiAHyMr6Aj/NmE1CLiZ6ZOzmkIuOYQnr\nqvRJ\r\n=78um\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEugrRW38jGPmOVlQvGCkNuIMXNLPLiPrcUEiuZMd9VLAiAJkEYQXYWIobE0LS672ae8MMjRFeyKdVkEaig22QpiCA=="}],"size":1541,"noattachment":false,"key":"/graphql-playground-middleware-express/-/graphql-playground-middleware-express-1.7.15.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.15_1590673508711_0.630909736907419"},"_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":1590673508850,"_cnpm_publish_time":1590673508850,"dist-tags":{"alpha":"1.5.0-alpha.1","beta":"1.5.1-beta.1","latest":"1.7.23"}}