{"_id":"@apollographql/graphql-playground-middleware-koa","_rev":"12-9a1d56c6562503e0e927e3ac9c9fbb73","name":"@apollographql/graphql-playground-middleware-koa","dist-tags":{"beta":"1.6.13","latest":"1.6.14"},"versions":{"1.6.13":{"name":"@apollographql/graphql-playground-middleware-koa","version":"1.6.13","keywords":["graphql","graphiql","playground","graphcool","koa"],"license":"MIT","_id":"@apollographql/graphql-playground-middleware-koa@1.6.13","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"nim","email":"nim@apollographql.com"},{"name":"evanshauser","email":"evanshauser@gmail.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"hwillson","email":"hugh@octonary.com"}],"contributors":[{"name":"Tim Suchanek","email":"tim@graph.cool"},{"name":"Johannes Schickling","email":"johannes@graph.cool"},{"name":"Mohammad Rajabifard","email":"mo.rajbi@gmail.com"}],"homepage":"https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-middleware-koa","dist":{"shasum":"e8e8975cefeef20e4413964eff31ee33b5ba0506","tarball":"https://registry.npmjs.org/@apollographql/graphql-playground-middleware-koa/-/graphql-playground-middleware-koa-1.6.13.tgz","fileCount":7,"integrity":"sha512-b+vYMMbSujrdUXzz2x5Vhfr4pz+rrrP7eX/Ryj7RjdTS32wS9mwzDVwZDK7Uyx3Eesr1I+Z+53JIux4oipg/Mw==","signatures":[{"sig":"MEUCIQDg9hpD2kKnT8NKv11HlVJ+6jqS0yd4wUAU6mYd8tr3BgIgWmZ5ffPgAxbJNh96dUZ+TUa63lskVsS8xKfIhgY5+Jk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6351,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3IhpCRA9TVsSAnZWagAAwYEP/2cCq/cNtpfNNJcN1CjD\nAtHMJtu8onLMmLLBvSVMaydfunI3jYnsehjS3z3n7O8izDwZxwY+tkEHEusJ\nz+HuvlsCfSSThehmeLGLcUzwFtrQlzom9eLSg/aCHmzpdUfnOu5qeEBKlh1q\ns8gChKs9Itc7Z+Y/aQMX65kp+R+M7tK62vYWxbqnmhGnUOo27GdLlctUmHsY\nSTQW/F1i2tkjTHF5oGpd6RSIzGyUsI1Plqsd6CivzvqiKhEdfBK808AomKNl\nGy8eELxypmkpsNwlzmnvcoquX+JlIeQqabCyDRDGbr3gW/QwWKCA7DE0/9oo\nKcKof6N61J8OGojQ5SRjBAw9vL9YzGHNZaSDZIGBfCed9eCoEwtqQOb45R9A\nZ/CS37PoLka4Gv87xztyv5JDeLEkJK4g0sjCCjztbaO7+JFNkz2Xoeb9o48T\neiBxIidOEKG084TGk9u8Tjsoj8WwNM3Fb25EZXhSM6RnkxH3rnzV8d+tPQKt\nfiRXoz8xWB9d3lPbXRlnUprBzm4N3CVqZyiperpADFWYNs3LJdRuj6OBQQjq\nQsm3G0OYQwcnjQUxCy4anwtfbJ1bfcG7rFRAYt3ASB+eAAfJa/K+ePDea1F6\nPwD3DEh93e+tNkbbjRmUCDemlWzVJB3TqwFjB1vSnQfwq5yk5e4rNN1orTF8\nCWLv\r\n=++F1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","scripts":{"build":"rimraf dist && tsc","prepare":"npm run build"},"typings":"dist/index.d.ts","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"Do not use this package directly.  It is affected by security vulernability from its upstream fork.  Please use `graphql-playground-middleware-koa` directly, which has resolved the vulnerability in more recent versions.  See https://git.io/JfSaF for details on impacted versions and the vulnerability.","repository":{"url":"http://github.com/graphcool/graphql-playground.git","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"description":"GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).","directories":{},"dependencies":{"@apollographql/graphql-playground-html":"1.6.17"},"_hasShrinkwrap":false,"devDependencies":{"koa":"^2.6.2","rimraf":"2.6.2","typescript":"2.6.2","@types/node":"9.4.0"},"peerDependencies":{"koa":"^2"},"_npmOperationalInternal":{"tmp":"tmp/graphql-playground-middleware-koa_1.6.13_1557956713062_0.1492000671866638","host":"s3://npm-registry-packages"}},"1.6.14":{"name":"@apollographql/graphql-playground-middleware-koa","version":"1.6.14","keywords":["graphql","graphiql","playground","graphcool","koa"],"license":"MIT","_id":"@apollographql/graphql-playground-middleware-koa@1.6.14","maintainers":[{"name":"abernix","email":"npmjs@jro.cc"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"evanshauser","email":"evanshauser@gmail.com"},{"name":"hwillson","email":"hugh@octonary.com"},{"name":"jbaxleyiii","email":"james@apollographql.com"},{"name":"martijnwalraven","email":"martijn@martijnwalraven.com"},{"name":"nim","email":"nim@apollographql.com"}],"contributors":[{"name":"Tim Suchanek","email":"tim@graph.cool"},{"name":"Johannes Schickling","email":"johannes@graph.cool"},{"name":"Mohammad Rajabifard","email":"mo.rajbi@gmail.com"}],"homepage":"https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-middleware-koa","dist":{"shasum":"517f1da88d3903d8fce02f7030dcf550fb47b7b1","tarball":"https://registry.npmjs.org/@apollographql/graphql-playground-middleware-koa/-/graphql-playground-middleware-koa-1.6.14.tgz","fileCount":7,"integrity":"sha512-IeQ16odzBtREwwiodq8K/6zmbyI8jYHkn6WaGDW6bq85XWNe5cX0XCG1fieFS+SRxhD6DNkAPWx5voMAKwjVkQ==","signatures":[{"sig":"MEUCIACk7xoE1cfBIiQDkoV65a7X+/lRWSjiXuzJD8MjhrPlAiEA21zBMpVZWO8DjBR/AT215FrhIt9c/SaPY5YwtrYIlVE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6351,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3MYNCRA9TVsSAnZWagAAA7gP/3dEC/2YlX7OT/iiqK3x\nMKJNBb9zbJ2xs8XR81yum7ALa1+b+4Gr/NHZHjn6+CK+6ssVgXWwC1W7UgOT\nIKdjE6srlJCHcvFcjZKLd84Iqr3/3Z/wZ1/tuh6Y7oOtZ9xp4vsjS0UdYKYD\n3r1FhpNm7BBc58rbFpqqVT6LWoSu1YTAkIJFcoJleQpCRVdV3dtMi1fpSdEt\noHkeCyOSmCD9J0+puRz0fTSX1HXlC03F2x7dmofN5TStfMMdvjNrwztiH/+i\neMy3Fx8VMyBr3WcQI88vOfkS5I7fV5tpy+8bTj0e4pqYbnkeqZeqOAK7Swk+\n9sEaJV0xB4amuZPiq+cGYexPsf+klX7CS9ApzmIcd6GJgptbY1d6OLlVDQkq\n7Z9Jpu3TzB/MjS/q7NgD96tg6UvgJ3TE3BgZXyctMtHcKCZcSDNTBm8TGI9a\nOF9xWcy7492YODDctZJeXTKhUGrCoC28KBBTcQR9Ot4O0d6T22rXxx7zD9L2\nyp7rWbP9sExh7u8i0KSq0sWRIbDCZOcYYs4h6KkGTBbodE9m70RUeSEIJoYL\nZVjEEd05yt+7fzbY04PpN7Wc9n39ORha7KOLgER1vSxFbJsNWCSUgTimxQ72\nIQaMrzF3hp/SHWRee/h6X71qMlcLN0mzSIwmKUM9uypPkjrLhR/PAOyQVmva\neZ+7\r\n=O2AP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","scripts":{"build":"rimraf dist && tsc","prepare":"npm run build"},"typings":"dist/index.d.ts","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"Do not use this package directly.  It is affected by security vulernability from its upstream fork.  Please use `graphql-playground-middleware-koa` directly, which has resolved the vulnerability in more recent versions.  See https://git.io/JfSaF for details on impacted versions and the vulnerability.","repository":{"url":"http://github.com/graphcool/graphql-playground.git","type":"git"},"typescript":{"definition":"dist/index.d.ts"},"description":"GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).","directories":{},"dependencies":{"@apollographql/graphql-playground-html":"1.6.18"},"_hasShrinkwrap":false,"devDependencies":{"koa":"^2.6.2","rimraf":"2.6.2","typescript":"2.6.2","@types/node":"9.4.0"},"peerDependencies":{"koa":"^2"},"_npmOperationalInternal":{"tmp":"tmp/graphql-playground-middleware-koa_1.6.14_1557972492828_0.799256409046996","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-05-15T21:45:12.901Z","modified":"2025-07-01T12:00:53.329Z","1.6.13":"2019-05-15T21:45:13.183Z","1.6.14":"2019-05-16T02:08:12.965Z"},"license":"MIT","homepage":"https://github.com/graphcool/graphql-playground/tree/master/packages/graphql-playground-middleware-koa","keywords":["graphql","graphiql","playground","graphcool","koa"],"repository":{"url":"http://github.com/graphcool/graphql-playground.git","type":"git"},"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"}],"maintainers":[{"email":"glasser@apollographql.com","name":"glasser"}],"readme":"# graphql-playground-middleware-koa\n> Koa middleware to expose an endpoint for the GraphQL Playground IDE\n\n## Installation\n\nUsing yarn:\n\n```console\nyarn add graphql-playground-middleware-koa\n```\n\nOr npm:\n\n```console\nnpm install graphql-playground-middleware-koa --save\n```\n\n## Usage\n\nSee full example in [examples/basic](https://github.com/prisma/graphql-playground/tree/master/packages/graphql-playground-middleware-koa/examples/basic).\n\n```js\nconst koa = require('koa')\nconst koaRouter = require('koa-router')\nconst koaPlayground = require('graphql-playground-middleware-koa')\n\nconst app = new koa()\nconst router = new koaRouter()\n\nrouter.all('/playground', koaPlayground({ endpoint: '/graphql' }))\n```\n","readmeFilename":"README.md"}