{"name":"graphql-playground-middleware-express","version":"1.7.21","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.28"},"typings":"dist/index.d.ts","typescript":{"definition":"dist/index.d.ts"},"gitHead":"be581b22ba444cc5461bb32c8a702431a974b095","bugs":{"url":"https://github.com/graphcool/graphql-playground/issues"},"_id":"graphql-playground-middleware-express@1.7.21","_nodeVersion":"14.5.0","_npmVersion":"lerna/3.22.0/node@v14.5.0+x64 (linux)","dist":{"integrity":"sha512-CjPHDZqJ8ifS6v+JCyEZOEGrR8eKHWaUIUawggfUlW1xFFHCNcBhG4/S7EnSUspaUldSnL/cFcBp4yLhYkG53A==","shasum":"e3af11848232000a2d61ab3c216d467fb6cf8376","tarball":"http://registry-npm.ywwl.com/graphql-playground-middleware-express/download/graphql-playground-middleware-express-1.7.21.tgz","fileCount":7,"unpackedSize":8738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYNWWCRA9TVsSAnZWagAA1skP/RzhlOWEtMHs9Q5BzAb7\nlVFRV55mTdHBVrY27UMCzk4KiHIeIxLoMldRqIZOEOgU9NxUFkrk8zsmF3LZ\nCHV7ropcMf0eUegy4gF60EP7mRudX1VZpK16XBb7v5rzZzBaooKu2D8yBXzB\nzuc2SqyL4v1j/ofjADqJWv5XcHSRHHVSwxITIeO38Tv7eCbExJr+Hw4l4CRv\niIm7nXIytPs3UBi3bZOd+Q8yn9griiyXP279qa2bY1fdpP1pMTr7t3EsCJQd\ndeer8Uxf9L9Fyi83+tmYJMFJyLJftpyehv6K13saC4fSIOZpGLOPT02nGe8t\njJyuPgjK2mjuF2djO2m1oVyn5UFCD8TH+sG7ulzYuZ/xAdSejiTNEsYOZbCo\nmvbsYABwkpSHQuidPwToAlXl/SwoFHh+vY1IiDZERqfhxx7HQ7HV3A0909mn\nBCmus2SMx7POCuTYUMxshb/TTVumh2LkeBed02fbuPDNHcHyi1z95b/cv3jo\nn7Jc4TFOa1ZuN675fkGr1s5m0trhJlLNgCtpra5cMOTMMNdfaX+n6i3T2of0\n3CsPlHVQvqmIAsl0GaztWJyAQkfk/WjwiaL2RDlk2G1H1La53xFAjdhA78Nk\nizIbb4l57Xl2UTFzM52qsvo2txZU9ze2dD7ZJScPZ0Clxz3f9jyrHfgRfdIV\n4gug\r\n=AQVx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBgT+ogS9/qavz9IwitVxbOJ8bDYr4zrXCVfwjeDce4QIgQ11TeNSJ1j8caCTi/y091+frisHUG0M5LHt0ND0c7AA="}],"size":3715,"noattachment":false,"key":"/graphql-playground-middleware-express/-/graphql-playground-middleware-express-1.7.21.tgz"},"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"}],"_npmUser":{"name":"acao","email":"rikki.schulte@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-playground-middleware-express_1.7.21_1600181654354_0.03075631086515007"},"_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":1600181654446,"_cnpm_publish_time":1600181654446,"dist-tags":{"alpha":"1.5.0-alpha.1","beta":"1.5.1-beta.1","latest":"1.7.23"}}