{"name":"graphql-playground-middleware-express","version":"1.7.10","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":"SEE LICENSE IN LICENSE","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":"9.4.0","express":"^4.16.4","rimraf":"2.6.2","typescript":"2.6.2"},"dependencies":{"graphql-playground-html":"1.6.11"},"typings":"dist/index.d.ts","typescript":{"definition":"dist/index.d.ts"},"_id":"graphql-playground-middleware-express@1.7.10","dist":{"shasum":"8bc154e988c288e06cc350e918853aad25fbcd7d","integrity":"sha512-yzL5gwelHWBNE6X0rJTEBotJmVGa107j0BBiLqkaFHrGs+tT19lYFQtQowQs/mwTVt5sb/e7/HroXQPIBERhzg==","tarball":"http://registry-npm.ywwl.com/graphql-playground-middleware-express/download/graphql-playground-middleware-express-1.7.10.tgz","fileCount":7,"unpackedSize":3146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcTtuTCRA9TVsSAnZWagAAlSIP/2qzc8zkR+TfEohrS6kH\nfE6J5wSx4BUahefECBuJpRuf6uyRX0cdGZDm14yZdeL7x+W8pbDnSNctFcOP\neEbJ9OJHa1GegDTD6Y1e5DU73Javx5giZ/am5ISSLfxN0MhuKAIQ4zzoJ7Ih\n+Sg0xQ6oXhk3vVokyS0sfln31EDLHJI0A6ZVeLMKsp8iVmwp/q6hnChhcRFj\nB0ROwKTHTXSDcGGxgdLYiAyE2whcFZ31tRL28/euHX86y7e4P0CornBEaAdz\nj34mz+U+eBGI0z3yVOC6Ju/Rng5M4+9pBDeQ7yQydxdJenbPV8fJHDohzEN5\nmJWEYUDA8X9ysUr2QVY5hpiIO26LkOmgM8mnthPQJu2sDcC60Ca7fO5dVCK3\nKdRjgN7I8bPnRK7yMKAqmxa5Mu2d/JCQ40zuG0h9uTe0eBzeVR73Fz4271TJ\nB/iCCxp6ILnUWsPqA8TTu92cOFB5j15xuTcUrffH0ToQv84aunqKmoOLU4zW\no6dnkarfXfdoBnnCOlBJPzu5AIK2D0BQHHFpk5vkllipK8JJCAEvgvBcn2WA\ndFlFJJncriRxU1WtG2Chzz4NH26l6zHU+K/LOLVpfa18zEleGAAHFLHFJGgG\nAZJPAXO/ZXg1zOJN7kEk7tO61Vv/aBKa7zoyCPo8ZTtPubfW2A0VfILYYcSz\nXCzx\r\n=AeoT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSGBoMSCZbgHmX8+QpKlO92GqDxi/+HUf6w38U3apnRQIgYpv3QkFQy/CGx/mqZgpKuOJ7CnbLJmtpLfZqzMrG720="}],"size":1608,"noattachment":false,"key":"/graphql-playground-middleware-express/-/graphql-playground-middleware-express-1.7.10.tgz"},"maintainers":[{"name":"schickling","email":"schickling.j@gmail.com"},{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"_npmUser":{"name":"huvik","email":"lukas@huvar.cz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-playground-middleware-express_1.7.10_1548671891012_0.6561911451060196"},"_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":1548671891205,"_cnpm_publish_time":1548671891205,"dist-tags":{"alpha":"1.5.0-alpha.1","beta":"1.5.1-beta.1","latest":"1.7.23"}}