{"name":"graphql-playground-middleware-express","version":"1.7.12","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":"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":"9.4.0","express":"^4.16.4","rimraf":"2.6.2","typescript":"2.6.2"},"dependencies":{"graphql-playground-html":"1.6.12"},"typings":"dist/index.d.ts","typescript":{"definition":"dist/index.d.ts"},"_id":"graphql-playground-middleware-express@1.7.12","dist":{"shasum":"de4b2402a02159b2125561fe38eb378b56cf6d99","integrity":"sha512-17szgonnVSxWVrgblLRHHLjWnMUONfkULIwSunaMvYx8k5oG3yL86cyGCbHuDFUFkyr2swLhdfYl4mDfDXuvOA==","tarball":"http://registry-npm.ywwl.com/graphql-playground-middleware-express/download/graphql-playground-middleware-express-1.7.12.tgz","fileCount":7,"unpackedSize":3091,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJccUNfCRA9TVsSAnZWagAAKMUP/1F+L/8o7NEhzrKAKql4\nQ9q9vPiEYeSEzFtz6I5IeCQiY2TgBvluqBOLB8REOxfq4KZUzqShzPG94KJS\nYwJ51kchtrAT03uPoOqXMAn1uUGkmz56efUGRpfNgp2SMYAarUxt9JExJUD8\nP6pEyBPNOfqXlyj+kFeOfnbM5VZG2mKZ52prIQBdgZp0vlZsZD4X0z2oZ2ek\nLhxvMHqLDerHBRTgIZFG4dcq52P5LRNhGcabA+XvLNHqJOw1by8TujUkc1Yx\nSM3dwxNRTYYhI/JxlL22chkjyJvWqPfGM0UiUBG3/JkYgfrSjUFCyk3oTLQu\nIg33bQ3d7YUP6h5HR4Oc/PxNWJz5s5lUhzd8OhyJCcOYFMV3N2oE+z3mU8vO\neZMeHNe0I23a3HONuiFAs9PR0iOlOjmtjxXFwPPuiEt+qgOSJhVjjFEuQJdO\nP3yEDqbiDi7JDD4jlz/3G3Gde4VQTKJr2bQZpaaheC7xIKQxIB17kfDvDazr\njjNy4UgWoGEli1DRa6lI1QrjbdtXPLmK7aUKcQ49OlyzMbruPV5I6quhLFM0\n9RjOLADbW+gvrf9D8+5Zw68VOtx9YFEqcoD7p/BicX0EPIOjgoF5mIAc6doz\n2+TKciBVkFn5wrzki7lPmKaSQumQKTZc1Ry3wQ3V0B51htB33h6vc8RHzkEu\nnYKd\r\n=0p6Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF6VJvIIj+4TZwO3H3xBSS7/k3w7ufOK5XP+CZT5UUyyAiAaUbZSoNx5kAVf4a094gymnXuuQJlPPczct82oZ556fQ=="}],"size":1587,"noattachment":false,"key":"/graphql-playground-middleware-express/-/graphql-playground-middleware-express-1.7.12.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.12_1550926687233_0.3313841568529048"},"_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":1550926687374,"_cnpm_publish_time":1550926687374,"dist-tags":{"alpha":"1.5.0-alpha.1","beta":"1.5.1-beta.1","latest":"1.7.23"}}