{"name":"graphql-playground-middleware-express","version":"1.6.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.6.7","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.5.5"},"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.6.3","_npmVersion":"5.6.0","_nodeVersion":"10.1.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-r94jhaSTmRa6novyj+bEnZYq7vcw7DbWEatpR49t8Nf/FJFQ54dwU5MD1KLEqERunwUgNy54RD4M/0/jb1s69A==","shasum":"0f75b5b139edb2d1079208af59d158caba2309d1","tarball":"http://registry-npm.ywwl.com/graphql-playground-middleware-express/download/graphql-playground-middleware-express-1.6.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\nwsFcBAEBCAAQBQJbBu8yCRA9TVsSAnZWagAAtAgP/3Ukp8DlAmuu9I2phHPt\nouL6aS/t0xcz8/aOBi98AYYz7l3a/0rdR1JEmXxtd5sNPU73W3N1yQ3zwWqt\ndTc1FgBJhA+dgKGm+ekKv/tmAKY5nWOJfA/6yd24VjrZ2QVUDky+rOLPxyHi\nn7UgCdCP2YsykyIS+1ttvGp6U1sV9O8wJ4gSTRaPDTzYQVj6VyCXwvcj1ucn\nxhc6FLAu/OW6NeUVPzbWMdCF1jLgMmz8U3EYnlSLJvT5BA8gU6mLcOmPWwzt\nvHk1WcqVIJlP7yHq838VN+0ah14XbCI72PJfVM28EY47NW9lNvViaoStjM7O\nvJfvkyiBNyWOqM3o3zcbUaqNO5WGTGktENc0xoVJdEmyKxVwbjBRCkxo3FtX\ng5r2PFwB5DNWnnSmvR0jcrfVoAN/b9qFgszXxzR/NygDoAGQAxFGMaXDK7FO\nZZml74xFQRunLcBZfEBpfEwXSGT5ejeKfl4s9s5CzfKD3nOCQRO/8qP6JXqN\n9Pe7twFx5NaO9/86/yTTh83mhQp3eei9NxRSC1t6pckAgzbguupCTXbk75Wf\nTcxy379zPc74m7wcW+Fidp+9eOya+b3SprSz7QEODzTucNVolPHsFPLzqWKU\nwmBglahnsAE5aZcDWRLceRhx8+0iwd5nXWyo+4UktEcaVNuDHsOffdcxUXUt\nXECF\r\n=dcfq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDb9uLLg3/qPd2tPnHnSkpf07FKENZa0zrD1P9jQyi8AAiARiF5fHlOUQGIGzQ5KYBQ6Z4hmTonZuLnb/pnTCSGfng=="}],"size":1551,"noattachment":false,"key":"/graphql-playground-middleware-express/-/graphql-playground-middleware-express-1.6.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.6.3_1527181105910_0.66513893767819"},"_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":1527181106187,"_cnpm_publish_time":1527181106187,"dist-tags":{"alpha":"1.5.0-alpha.1","beta":"1.5.1-beta.1","latest":"1.7.23"}}