{"name":"graphql-playground-middleware-express","version":"1.3.8-beta.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.3.8-beta.2","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"keywords":["graphql","graphiql","playground","graphcool"],"peerDependencies":{"express":"^4.16.2"},"devDependencies":{"@types/node":"^8.0.47","typescript":"^2.6.1"},"dependencies":{"graphql-playground-html":"^1.3.7-alpha.8","graphql-playground-middleware":"^1.2.1-beta.6"},"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.3.8-beta.3","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"timsuchanek","email":"tim.suchanek@gmail.com"},"dist":{"integrity":"sha512-uJzcMnxJUJg/M5NPd1zHIOzBoMUyykC70WfH1rDLV5BOnIcFYODA5gvp7L2f/6Ony64BvZIAiaGhUqpYgwbrWg==","shasum":"bdca6533e5d434487da7d89841182a9ba26252c9","tarball":"http://registry-npm.ywwl.com/graphql-playground-middleware-express/download/graphql-playground-middleware-express-1.3.8-beta.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpzAC7MtjGjdypi30pCwoK3VKc/IvxCqPkgz/mJIxXeQIhAL7PUTx3XyYo6ERREeM8lXUVYlvl8fjSAD8dldKT2VzW"}],"size":3777,"noattachment":false,"key":"/graphql-playground-middleware-express/-/graphql-playground-middleware-express-1.3.8-beta.3.tgz"},"maintainers":[{"name":"timsuchanek","email":"tim.suchanek@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graphql-playground-middleware-express-1.3.8-beta.3.tgz_1513267560857_0.1139552490785718"},"directories":{},"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":1513267561940,"_cnpm_publish_time":1513267561940,"dist-tags":{"alpha":"1.5.0-alpha.1","beta":"1.5.1-beta.1","latest":"1.7.23"}}