{"_id":"@apollo/server-plugin-landing-page-graphql-playground","_rev":"14-103be40715f5953030b98a2fdcdabd84","name":"@apollo/server-plugin-landing-page-graphql-playground","dist-tags":{"alpha":"4.0.0-alpha.0","latest":"4.0.1"},"versions":{"4.0.0-alpha.0":{"name":"@apollo/server-plugin-landing-page-graphql-playground","version":"4.0.0-alpha.0","keywords":[],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/server-plugin-landing-page-graphql-playground@4.0.0-alpha.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"dist":{"shasum":"828bf1424edbd98279e161ee3a74eddaf4995c48","tarball":"https://registry.npmjs.org/@apollo/server-plugin-landing-page-graphql-playground/-/server-plugin-landing-page-graphql-playground-4.0.0-alpha.0.tgz","fileCount":16,"integrity":"sha512-c34PJDPsH8VQpLbMZb4gFdL8A4oEvXAAjJ44onD1HbjYoWUljhttr2PNzwsOad12TqXj5AXBUeDijaP9UfYcDQ==","signatures":[{"sig":"MEUCIAoQOzURdGTu5iwbHwlAtP+pSWIaIwd5qQWeROv1EFV8AiEAr5UKRYriCrCuGaDAMbhKe+qbsLN0Cd1McSyAVxHt77Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":97659,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi+uuUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpJew//fiwoHyOf8YEHejkghajm2jBafIRm6DdAPoQ/Enl17zi8oEPJ\r\nujmvhi/kKNE2bIjM/vQtVIF9xIy4bc7lxRcab3ec039ZdmmLl08DfXCpNnOg\r\n3K1zwe4TN6fS/COyRnSO1sypcmMsT95A6pp0a4MwnC9LQFw5IiieVKTkEP8M\r\nbTmDV23ishO/IGknneLHQkAheLYe87iQRbCgpQ7VRgI5KywIuMH3PvpPZFZE\r\nd3nDRLIx8bDTZOaIx6hkTQQpmy49dQPAq9TpoaUrl0Y35godJM6APDIA8iTi\r\n9OcWeLhUqpIDmPAX4f+pOf4c5DK+gUpcNYulZ4JKpKmQ8wXH+CCeSRWzyD7z\r\n/+Kjbeth7K6+Qq+UEQz+DW8IaKTRGF97TAZrcbON+cLaYmEcti8/zfznK4oa\r\nm+1CBQsnPIQspXoxdenfGSHzQMPGtO2VFdAr8At5Nx9hF4dOCIhPDCZbrKfv\r\nCwxtPG9wU6x0r6JtPUkb7C3onX3bNpNker36UQ8c0UFKfUs8GNUA9w8u7TzY\r\n1rjYrsN8Qrydoo49egebgPQw5CBYIc/KzthelTgB7Xuq9+PSejIpm8F0F70H\r\nnaLnWIndC00B61VMLQFWycFOCDS2BRKWTnO70qZBKd/E60FZhFr7GSSR7Ucf\r\n5Dczyj1eF2vh6hR+YZEDq18+8LwkGw7g9HQ=\r\n=ggI9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=14.0"},"exports":{".":{"types":"./dist/esm/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"0fbf864150157ff7b0f40790ab103bd88ec39f1c","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The use of GraphQL Playground in Apollo Server was supported in previous versions, but this is no longer the case as of December 31, 2022. This package exists for v4 migration purposes only. We do not intend to resolve security issues or other bugs with this package if they arise, so please migrate away from this to [Apollo Server's default Explorer](https://www.apollographql.com/docs/apollo-server/api/plugin/landing-pages) as soon as possible.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/plugin-landing-page-graphql-playground"},"_npmVersion":"8.11.0","description":"Apollo Server landing page plugin for GraphQL Playground","directories":{},"_nodeVersion":"16.16.0","dependencies":{"@apollographql/graphql-playground-html":"1.6.29"},"_hasShrinkwrap":false,"peerDependencies":{"@apollo/server":"^4.0.0-alpha.7"},"_npmOperationalInternal":{"tmp":"tmp/server-plugin-landing-page-graphql-playground_4.0.0-alpha.0_1660611476437_0.06321774947986092","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"@apollo/server-plugin-landing-page-graphql-playground","version":"4.0.0","keywords":[],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/server-plugin-landing-page-graphql-playground@4.0.0","maintainers":[{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"//":"Don't caret this, we want to be explicit about the version of our fork of graphql-playground-html (and hopefully never change it)","dist":{"shasum":"eff593de6c37a0b63d740f1c6498d69f67644aed","tarball":"https://registry.npmjs.org/@apollo/server-plugin-landing-page-graphql-playground/-/server-plugin-landing-page-graphql-playground-4.0.0.tgz","fileCount":16,"integrity":"sha512-PBDtKI/chJ+hHeoJUUH9Kuqu58txQl00vUGuxqiC9XcReulIg7RjsyD0G1u3drX4V709bxkL5S0nTeXfRHD0qA==","signatures":[{"sig":"MEYCIQC7C3dh9lGQVXtY5poB7dRz3jTSmEleNDYMaWdtwVDawAIhAI11ZTBxk7az39R2cvzLDXLS4zFsXXe0Rc0hGEn+8Kr0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":100014,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjRH73ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpcmQ//Wwiso8tT+lHE3RhvaTCmYUN1BFtvMEBFDEqtBlMI7xU6SZ2L\r\nzFDFmVAElh8u6ilsDBwSmZyjW1tDGlhQCvFKrPRR5lDuuOlLA98nvVJU5xag\r\nxSWcFZwR1zOZnslKMGO/ZHz7E2R3qu+QMXaeIE82KRl/gQ7XS6BJ8kNXqUcv\r\nq7mBdSyA+hJBcz0gMOXik5YLY8wA3KvcHqrUUgOQWbYa3RmO9uS4M2FpozOu\r\nNy/xR2/BPv0QtvEEE50lgmAMZ1sptOmeU+M7psc3wlt2jsw8Dp0/x/PTboyL\r\n9ntaFnwEzPEiCnuFja9bJR4fek0pX62VckNGjdlNGbmsWdjaVw/eND0CYj05\r\nk1x0XplcvaZJp5gwRL80jwarWnVU2zcMA04+KcrfX+bBI+SVnESSfd490RRF\r\ndMPlgd65Jx7P4hGSGfiuAl1j8IxPA7Hji1ngKiap+5qOLqcUwHiQZPdeABAT\r\n7CShABeLuDUy+GpvZEyCCn/z5cDNI9LNbwykp/tXO1IJM/xOtJuRPWlJVCeJ\r\niluJkOTeyImuHOqcBSnuiQ/STVUduNk+B+b5HWgvD4HaDyvudzWmwFrAd6P2\r\nxYd0uFr/d/w20Zs/9TRnF6VzA0VsHGzTTjK0Tg1/fFX3AWkAy6hS720caS7L\r\nsGHd+yElZwwHkwLG43+mA/TChbQft5XtJkc=\r\n=2Z9k\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=14.0"},"exports":{".":{"types":"./dist/esm/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"578dc68831d93d5809b78174d6179c10afc8c2ef","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The use of GraphQL Playground in Apollo Server was supported in previous versions, but this is no longer the case as of December 31, 2022. This package exists for v4 migration purposes only. We do not intend to resolve security issues or other bugs with this package if they arise, so please migrate away from this to [Apollo Server's default Explorer](https://www.apollographql.com/docs/apollo-server/api/plugin/landing-pages) as soon as possible.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/plugin-landing-page-graphql-playground"},"_npmVersion":"8.15.0","description":"Apollo Server landing page plugin for GraphQL Playground","directories":{},"_nodeVersion":"16.17.1","dependencies":{"@apollographql/graphql-playground-html":"1.6.29"},"_hasShrinkwrap":false,"peerDependencies":{"@apollo/server":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/server-plugin-landing-page-graphql-playground_4.0.0_1665433335228_0.915011921701079","host":"s3://npm-registry-packages"}},"4.0.1":{"name":"@apollo/server-plugin-landing-page-graphql-playground","version":"4.0.1","keywords":[],"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","_id":"@apollo/server-plugin-landing-page-graphql-playground@4.0.1","maintainers":[{"name":"dkuc","email":"dariusz_kuc@hotmail.com"},{"name":"glasser","email":"glasser@apollographql.com"},{"name":"trevor.scheer","email":"trevor.scheer@gmail.com"},{"name":"apollo-bot","email":"npm@apollographql.com"}],"homepage":"https://github.com/apollographql/apollo-server#readme","bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"//":"Don't caret this, we want to be explicit about the version of our fork of graphql-playground-html (and hopefully never change it)","dist":{"shasum":"1d3c98fe93e1bc3c9be3470e220b9578360d175e","tarball":"https://registry.npmjs.org/@apollo/server-plugin-landing-page-graphql-playground/-/server-plugin-landing-page-graphql-playground-4.0.1.tgz","fileCount":16,"integrity":"sha512-tWhQzD7DtiTO/wfbGvasryz7eJSuEh9XJHgRTMZI7+Wu/omylG5gH6K6ksg1Vccg8/Xuglfi2f1M5Nm/IlBBGw==","signatures":[{"sig":"MEUCIBYItiEFrYj1tCcWm+Z3qHycD0ebKF4AEL0Beis6vnJ0AiEA+wCk3rNd+AbGMSxR4axBQPMkLEvRK5gfSPzucLyYwao=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":100480},"main":"dist/cjs/index.js","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=14.0"},"exports":{".":{"types":"./dist/esm/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"gitHead":"7eb96819f76a6ce7398d64ca2aeed6c047270fc5","_npmUser":{"name":"apollo-bot","email":"npm@apollographql.com"},"deprecated":"The use of GraphQL Playground in Apollo Server was supported in previous versions, but this is no longer the case as of December 31, 2022. This package exists for v4 migration purposes only. We do not intend to resolve security issues or other bugs with this package if they arise, so please migrate away from this to [Apollo Server's default Explorer](https://www.apollographql.com/docs/apollo-server/api/plugin/landing-pages) as soon as possible.","repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/plugin-landing-page-graphql-playground"},"_npmVersion":"8.19.4","description":"Apollo Server landing page plugin for GraphQL Playground","directories":{},"_nodeVersion":"16.20.0","dependencies":{"@apollographql/graphql-playground-html":"1.6.29"},"_hasShrinkwrap":false,"peerDependencies":{"@apollo/server":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/server-plugin-landing-page-graphql-playground_4.0.1_1685131714327_0.2824293900820809","host":"s3://npm-registry-packages"}}},"time":{"created":"2022-08-16T00:57:56.368Z","modified":"2026-01-22T17:30:11.426Z","4.0.0-alpha.0":"2022-08-16T00:57:56.663Z","4.0.0":"2022-10-10T20:22:15.416Z","4.0.1":"2023-05-26T20:08:34.530Z"},"bugs":{"url":"https://github.com/apollographql/apollo-server/issues"},"author":{"name":"Apollo","email":"packages@apollographql.com"},"license":"MIT","homepage":"https://github.com/apollographql/apollo-server#readme","keywords":[],"repository":{"url":"git+https://github.com/apollographql/apollo-server.git","type":"git","directory":"packages/plugin-landing-page-graphql-playground"},"description":"Apollo Server landing page plugin for GraphQL Playground","maintainers":[{"email":"glasser@apollographql.com","name":"glasser"},{"email":"dariusz_kuc@hotmail.com","name":"dkuc"},{"email":"mail@lenzw.de","name":"phryneas"},{"email":"npm@apollographql.com","name":"apollo-bot"},{"email":"npmjs@jro.cc","name":"abernix"}],"readme":"# GraphQL Playground plugin\n\n> ⚠️ Note: The use of GraphQL Playground in Apollo Server was supported in [previous versions](https://www.apollographql.com/docs/apollo-server/previous-versions), but this is no longer the case as of December 31, 2022. This package is deprecated and exists for v4 migration purposes only. We do not intend to resolve security issues or other bugs with this package if they arise, so please migrate away from this to Apollo Server's default Explorer as soon as possible. ⚠️\n\nThis is a plugin for Apollo Server 4 that makes your GraphQL server serve the [GraphQL Playground IDE](https://github.com/graphql/graphql-playground) as a landing page.\n\nGraphQL Playground was the only landing page available for Apollo Server 2. The GraphQL Playground project is officially [retired](https://github.com/graphql/graphql-playground/issues/1143) and we do not recommend its continued use. We recommend Apollo Server 4's default landing page, which serves the similar but actively maintained [Apollo Sandbox](https://www.apollographql.com/docs/studio/explorer/sandbox/), or a custom landing page.\n\nTo help developers migrating from Apollo Server 2, we do still provide a landing page plugin that allows you to use GraphQL Playground with Apollo Server. In Apollo Server 3, that plugin is distributed as part of the `apollo-server-core` package. In Apollo Server 4, that plugin is distributed separately in this package.\n\nTo use GraphQL Playground with Apollo Server 4, first `npm install @apollo/server-plugin-landing-page-graphql-playground`, and then:\n\n```ts\nimport { ApolloServer } from '@apollo/server';\nimport { ApolloServerPluginLandingPageGraphQLPlayground } from '@apollo/server-plugin-landing-page-graphql-playground';\n\nconst server = new ApolloServer({\n  plugins: [ApolloServerPluginLandingPageGraphQLPlayground()],\n  // ... other options ...\n});\n```\n\nNote that this will serve GraphQL Playground unconditionally. If you would prefer to only serve it when not in production, you can use `process.env.NODE_ENV` to determine whether to include the plugin in the `plugins` option yourself.\n","readmeFilename":"README.md"}