{"name":"graphql-playground-middleware-express","version":"1.7.3","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":"SEE LICENSE IN LICENSE","main":"dist/index.js","files":["dist"],"playgroundVersion":"1.7.4","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","rimraf":"2.6.2","typescript":"2.6.2"},"dependencies":{"graphql-playground-html":"1.6.0"},"typings":"dist/index.d.ts","typescript":{"definition":"dist/index.d.ts"},"bugs":{"url":"https://github.com/graphcool/graphql-playground/issues"},"_id":"graphql-playground-middleware-express@1.7.3","_npmVersion":"6.3.0","_nodeVersion":"10.4.0","_npmUser":{"name":"divyenduz","email":"mail@divyendusingh.com"},"dist":{"integrity":"sha512-hyUPTlAZ276pVeP61afUnc1Q3gbQGzVb+I0jbqhHLL8gxEJCv0GbNEVaV0cvfL3syqqANnVv5cAZ8B8ElMo9vA==","shasum":"3e8c0cb678270e290b4d4f163245b10d7c0a2a22","tarball":"http://registry-npm.ywwl.com/graphql-playground-middleware-express/download/graphql-playground-middleware-express-1.7.3.tgz","fileCount":4,"unpackedSize":3038,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbfuXCCRA9TVsSAnZWagAAVBoQAJi++1YCgrpeM8q/NSt/\nHtv1GCcg7AjfSnmvpzhKnZXK/HZEmw6XtnvX0K9+tMXR1xGX1n7URIsFFM7u\nxsKorWxADnsabZeXIDytyCdNzNhQd0FbNWfv28q6/gY+ctPFIG9tb75hQguT\nDKfikwgctXoPC/nxA8TiDHqN93E8L16cRgIWOQLl027L4lOsiPy+Mn6QtEqi\nWmWPtzPuD7I+Zq/Gk7tst023VQ4IM/b2QyqRZvqBEDdapGnamconpr+Pblnv\n3JHVMuHyNRnYThkiHh9VX10I2ZsI/+bAEXBGMapz3DJh1XqWYmX1MZPi01Uf\n2aztImJTx4FrW5Nwjv5c/YAS2ec8hPup8FgRPeOqZIhm2Sv3M6POKq1KpcaH\ni9N6plIJaMJQEnnc5g4GI04qoZ3SCD51s6YlQBQBAsuHHCVxPSqgPBSOAp/c\nDQVhepSqF9IEriGBWCYR3QmcALGwSxoTnErSlQmxw0SO1g1u0daoGBHUFCnY\nUcZk70JVJ9NnvhHcvc8nXS8pxWmVkqDH7cYXnnYn9uwl1zNqI9WslUz6h4uX\nOg+lQG2GKM5uWsgcY/cKMfxK2VWdVnTiDLI4OLUlekTAXNCxmtmegROWEdIa\nscmBT4jBhYbsNtWj9eG8NzUUPT2xs0dyWvaYDIxzB8U5NcS3ziWmiX8uSb9U\nbL9O\r\n=vkJb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFyQQuWOnCG9DBlvWlwyVW5yHuRhrmRPjRuXHUhNKwDlAiBw8W9yaZsto7LtiS2IshCjH2VopuLCcPUCP/c833IjTA=="}],"size":1541,"noattachment":false,"key":"/graphql-playground-middleware-express/-/graphql-playground-middleware-express-1.7.3.tgz"},"maintainers":[{"name":"schickling","email":"schickling.j@gmail.com"},{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-playground-middleware-express_1.7.3_1535043010185_0.8274782824710254"},"_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":1535043010288,"_cnpm_publish_time":1535043010288,"dist-tags":{"alpha":"1.5.0-alpha.1","beta":"1.5.1-beta.1","latest":"1.7.23"}}