{"name":"graphql-playground-middleware-express","version":"1.7.23","homepage":"https://github.com/graphcool/graphql-playground/tree/main/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.30"},"typings":"dist/index.d.ts","typescript":{"definition":"dist/index.d.ts"},"gitHead":"220a7c19030fe15fc309082c3163b109a72a1551","bugs":{"url":"https://github.com/graphcool/graphql-playground/issues"},"_id":"graphql-playground-middleware-express@1.7.23","_nodeVersion":"16.13.0","_npmVersion":"lerna/3.22.0/node@v16.13.0+arm64 (darwin)","_npmUser":{"name":"acao","email":"rikki.schulte@gmail.com"},"dist":{"integrity":"sha512-M/zbTyC1rkgiQjFSgmzAv6umMHOphYLNWZp6Ye5QrD77WfGOOoSqDsVmGUczc2pDkEPEzzGB/bvBO5rdzaTRgw==","shasum":"95aba44d801ff3c08b2246917d2901d2e7c35d3d","tarball":"http://registry-npm.ywwl.com/graphql-playground-middleware-express/download/graphql-playground-middleware-express-1.7.23.tgz","fileCount":7,"unpackedSize":9248,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2soXCRA9TVsSAnZWagAAziUP+gMT6bTIn85oNOiPq/Vt\n4wqRbvNq/ExltzDYHVuh+Lu7fnmlKd9DH3X87JNh87GazGGTxxsDXIpKBzP0\n1PK4FwSIh5Jf2zQ1lRoE6vzU3TAX3G1xNwXcEb6SBbWK+S1/eyWycfQNZ0mC\nC9OJvfHMuE3WQZXiqQnbpBZRxn2/aUdJSRjr6HjGz/tZbH5RFfz475lsBMy9\noybwcrywqYighBcLAVngIgS17G9Gsvh2YH1J2VesGYmRnsGofEHGNVMfXLv4\nOk8NH5hndp1Kq2fJQCHV49VbwUs0qNbCwWb+VPQfaD8oypmT8mlx6rkvVaP+\ngBFdocDuuA0OzLSOJqFi2MrWTzqpZaF71Mb7WLnjiwjEZSX+1r8IH/dkm9ob\navVe3Co+aET8DGDFO9b7wmQCIktP8i6dX3X6av78ekxjDSnAW7uAlDSVJcSH\nAbjTBWuqUvWmOhGyRH8Tr+s76MGXhHr7cciDCT3OUaZvxRQn3Z/R+zTbuYSC\njBDABeaFu6Q7d0G6xzJkmqKaOwavZOZENDwKzD74U04xzSDhQrSHNdfidT+e\nc++cYWVfbTZv5r/e7mXMqGzxFvWvpxECG2W4N3C2WUFhPXrxoyBoAuy9Q9ni\nbDH6dP3nd4XPHCPvTr0Xg2b7P16/CJNw0pg8ZgfsVGr7P9x1pRwFw/mCV1Yt\nxOAI\r\n=zy3T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCM5JvpAyJcfnRRHnnyO/hF7ifdvRGci4Z1uZbkpjywugIgX3JSut2a7CE6yGDnqXCb6K+QWqUoamaPIplWudl04cg="}],"size":3757,"noattachment":false,"key":"/graphql-playground-middleware-express/-/graphql-playground-middleware-express-1.7.23.tgz"},"directories":{},"maintainers":[{"name":"schickling","email":"schickling.j@gmail.com"},{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},{"name":"jasonkuhrt","email":"jasonkuhrt@me.com"},{"name":"acao","email":"rikki.schulte@gmail.com"},{"name":"divyenduz","email":"mail@divyendusingh.com"},{"name":"huvik","email":"lukas@huvar.cz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-playground-middleware-express_1.7.23_1636049247145_0.08258669516850081"},"_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":1636049247325,"_cnpm_publish_time":1636049247325,"dist-tags":{"alpha":"1.5.0-alpha.1","beta":"1.5.1-beta.1","latest":"1.7.23"}}