{"_id":"@bestcodetools/graphql-playground","_rev":"5-764f8e6a2cd0a0def0d69d221fe180a3","name":"@bestcodetools/graphql-playground","dist-tags":{"latest":"1.1.2"},"versions":{"0.0.0":{"name":"@bestcodetools/graphql-playground","version":"0.0.0","keywords":[],"author":{"name":"BestCodeTools"},"license":"ISC","_id":"@bestcodetools/graphql-playground@0.0.0","maintainers":[{"name":"kamikai","email":"kamikai@gmail.com"}],"homepage":"https://github.com/BestCodeTools/graphql-playground#readme","bugs":{"url":"https://github.com/BestCodeTools/graphql-playground/issues"},"dist":{"shasum":"f506c890c5a32053e7411a446bcaefd08336a683","tarball":"https://registry.npmjs.org/@bestcodetools/graphql-playground/-/graphql-playground-0.0.0.tgz","fileCount":30,"integrity":"sha512-45SCXnBnXlKOqPxLKzLCSxxP12sdMhGTGExea2ffjUBAWe0OmdBIOWZnyq9nPfPCme/1/63Je2MaJIJTeG0utA==","signatures":[{"sig":"MEUCICKAtpdrMJbfhCNvYXBEutKyrbqM9AAZFIDdsfBFbh2HAiEAgbGaGLZJXKSF7iSTGpzsYuNwM2HCmOidKnjxmgFJnBM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bestcodetools%2fgraphql-playground@0.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":266391},"main":"index.js","type":"commonjs","gitHead":"d1c946711df3a48067bf00c13400542b9190a52a","scripts":{"test":"jest","build":"tsc --outDir dist","start":"node dist/standalone.js","standalone":"ts-node-dev --transpile-only src/standalone.ts","transpile:sass:watch":"sass --watch public/styles:public/styles"},"_npmUser":{"name":"kamikai","email":"kamikai@gmail.com"},"repository":{"url":"git+https://github.com/BestCodeTools/graphql-playground.git","type":"git"},"_npmVersion":"10.8.2","description":"A standalone GraphQL Playground package with a custom dark UI, schema explorer, smart editors, workspace import/export, and Docker support.","directories":{"test":"tests"},"_nodeVersion":"20.20.2","dependencies":{"express":"^4.21.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","sass":"^1.85.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","livereload":"^0.9.3","typescript":"^5.7.3","@types/jest":"^29.5.14","@types/node":"^22.13.4","ts-node-dev":"^2.0.0","@types/express":"^5.0.0","@types/livereload":"^0.9.5","connect-livereload":"^0.6.1","@types/connect-livereload":"^0.6.3"},"_npmOperationalInternal":{"tmp":"tmp/graphql-playground_0.0.0_1775748763937_0.3576255510006361","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@bestcodetools/graphql-playground","version":"1.0.2","keywords":[],"author":{"name":"BestCodeTools"},"license":"ISC","_id":"@bestcodetools/graphql-playground@1.0.2","maintainers":[{"name":"kamikai","email":"kamikai@gmail.com"}],"homepage":"https://github.com/BestCodeTools/graphql-playground#readme","bugs":{"url":"https://github.com/BestCodeTools/graphql-playground/issues"},"dist":{"shasum":"dd4ac419c8c3efa1706c808fe1e289a927954044","tarball":"https://registry.npmjs.org/@bestcodetools/graphql-playground/-/graphql-playground-1.0.2.tgz","fileCount":30,"integrity":"sha512-e9HhDY18qcjA3/dFHZgwqCRLRh89vlC1hgA7F7Gi0mv8KruNOa+yp1mOaAiJZI2Sg1x+XpGkatTdcdXcBlRtpw==","signatures":[{"sig":"MEUCIEA88bhWfiTJAHNpI/Z/rKS7U3EYzV4aAJq0Q1qWdOV9AiEAyBnV2Tri1tL7dyXoTQ7rXmf2gusDDcqepzuSec8SWrI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bestcodetools%2fgraphql-playground@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":266391},"main":"index.js","type":"commonjs","gitHead":"28d5f23289906cb5d74a31d21dacab8bc41a77fc","scripts":{"test":"jest","build":"tsc --outDir dist","start":"node dist/standalone.js","standalone":"ts-node-dev --transpile-only src/standalone.ts","transpile:sass:watch":"sass --watch public/styles:public/styles"},"_npmUser":{"name":"kamikai","email":"kamikai@gmail.com"},"repository":{"url":"git+https://github.com/BestCodeTools/graphql-playground.git","type":"git"},"_npmVersion":"10.8.2","description":"A standalone GraphQL Playground package with a custom dark UI, schema explorer, smart editors, workspace import/export, and Docker support.","directories":{"test":"tests"},"_nodeVersion":"20.20.2","dependencies":{"express":"^4.21.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","sass":"^1.85.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","livereload":"^0.9.3","typescript":"^5.7.3","@types/jest":"^29.5.14","@types/node":"^22.13.4","ts-node-dev":"^2.0.0","@types/express":"^5.0.0","@types/livereload":"^0.9.5","connect-livereload":"^0.6.1","@types/connect-livereload":"^0.6.3"},"_npmOperationalInternal":{"tmp":"tmp/graphql-playground_1.0.2_1775750288833_0.5685141519544603","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@bestcodetools/graphql-playground","version":"1.1.0","keywords":[],"author":{"name":"BestCodeTools"},"license":"ISC","_id":"@bestcodetools/graphql-playground@1.1.0","maintainers":[{"name":"kamikai","email":"kamikai@gmail.com"}],"homepage":"https://github.com/BestCodeTools/graphql-playground#readme","bugs":{"url":"https://github.com/BestCodeTools/graphql-playground/issues"},"dist":{"shasum":"9246089bc2d75a044dabcf6f65c9836a55962b88","tarball":"https://registry.npmjs.org/@bestcodetools/graphql-playground/-/graphql-playground-1.1.0.tgz","fileCount":33,"integrity":"sha512-jW7osXGaadL4vc2+/fBHwgiOjF5bkgKVd6HbrvFW7SVH0oxU5rvuWFhBHo5NadOeDXlexEKYAzL243Msj0fZDQ==","signatures":[{"sig":"MEQCIG+euRiAPHxyPEpE63Mh/ggDaUIL/0OegVyhIwWifvAnAiB5gOI0dY3NaT7zWLpYQchMyKv/LmBj5nB21nbYuKVfBQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bestcodetools%2fgraphql-playground@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":312304},"main":"index.js","type":"commonjs","gitHead":"0143b4683bcdb155feeb7215158f2b86504e2ee3","scripts":{"test":"jest","build":"tsc --outDir dist","start":"node dist/standalone.js","standalone":"ts-node-dev --transpile-only src/standalone.ts","transpile:sass:watch":"sass --watch public/styles:public/styles"},"_npmUser":{"name":"kamikai","email":"kamikai@gmail.com"},"repository":{"url":"git+https://github.com/BestCodeTools/graphql-playground.git","type":"git"},"_npmVersion":"10.8.2","description":"A standalone GraphQL Playground package with a custom dark UI, schema explorer, smart editors, workspace import/export, and Docker support.","directories":{"test":"tests"},"_nodeVersion":"20.20.2","dependencies":{"express":"^4.21.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","sass":"^1.85.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","livereload":"^0.9.3","typescript":"^5.7.3","@types/jest":"^29.5.14","@types/node":"^22.13.4","ts-node-dev":"^2.0.0","@types/express":"^5.0.0","@types/livereload":"^0.9.5","connect-livereload":"^0.6.1","@types/connect-livereload":"^0.6.3"},"_npmOperationalInternal":{"tmp":"tmp/graphql-playground_1.1.0_1776875247341_0.9416567208973168","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@bestcodetools/graphql-playground","version":"1.1.1","keywords":[],"author":{"name":"BestCodeTools"},"license":"ISC","_id":"@bestcodetools/graphql-playground@1.1.1","maintainers":[{"name":"kamikai","email":"kamikai@gmail.com"}],"homepage":"https://github.com/BestCodeTools/graphql-playground#readme","bugs":{"url":"https://github.com/BestCodeTools/graphql-playground/issues"},"dist":{"shasum":"bc0009023ca2dc55db90f9c1f3589c982e7f4ca1","tarball":"https://registry.npmjs.org/@bestcodetools/graphql-playground/-/graphql-playground-1.1.1.tgz","fileCount":33,"integrity":"sha512-7CS3QPZoV68V9tLOfAd+NuFmx7L7tM2e3d1wOmYH6d+fH74WRRKvSDTAfLxjJdW26n2GCf7OGp0wSWjCHysmIA==","signatures":[{"sig":"MEYCIQDvKWv1K7m2tnSAfVjajJSB2fvoI54iquIzDPWL+xJtIwIhAPyegbUA87Y6XUmNrgsRG1up1BYZBe3yq5qJafsCGm56","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bestcodetools%2fgraphql-playground@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":313654},"main":"index.js","type":"commonjs","gitHead":"887854b2e0a863fc12ae5f7b8858e24cdca55d42","scripts":{"test":"jest","build":"tsc --outDir dist","start":"node dist/src/standalone.js","standalone":"ts-node-dev --transpile-only src/standalone.ts","transpile:sass:watch":"sass --watch public/styles:public/styles"},"_npmUser":{"name":"kamikai","email":"kamikai@gmail.com"},"repository":{"url":"git+https://github.com/BestCodeTools/graphql-playground.git","type":"git"},"_npmVersion":"10.8.2","description":"A standalone GraphQL Playground package with a custom dark UI, schema explorer, smart editors, workspace import/export, and Docker support.","directories":{"test":"tests"},"_nodeVersion":"20.20.2","dependencies":{"express":"^4.21.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","sass":"^1.85.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","livereload":"^0.9.3","typescript":"^5.7.3","@types/jest":"^29.5.14","@types/node":"^22.13.4","ts-node-dev":"^2.0.0","@types/express":"^5.0.0","@types/livereload":"^0.9.5","connect-livereload":"^0.6.1","@types/connect-livereload":"^0.6.3"},"_npmOperationalInternal":{"tmp":"tmp/graphql-playground_1.1.1_1776877597855_0.8232286608792814","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@bestcodetools/graphql-playground","version":"1.1.2","description":"A standalone GraphQL Playground package with a custom dark UI, schema explorer, smart editors, workspace import/export, and Docker support.","keywords":[],"homepage":"https://github.com/BestCodeTools/graphql-playground#readme","bugs":{"url":"https://github.com/BestCodeTools/graphql-playground/issues"},"repository":{"type":"git","url":"git+https://github.com/BestCodeTools/graphql-playground.git"},"license":"ISC","author":{"name":"BestCodeTools"},"type":"commonjs","main":"index.js","directories":{"test":"tests"},"scripts":{"build":"tsc --outDir dist","start":"node dist/src/standalone.js","standalone":"ts-node-dev --transpile-only src/standalone.ts","transpile:sass:watch":"sass --watch public/styles:public/styles","test":"jest"},"dependencies":{"express":"^4.21.2"},"devDependencies":{"@types/connect-livereload":"^0.6.3","@types/express":"^5.0.0","@types/jest":"^29.5.14","@types/livereload":"^0.9.5","@types/node":"^22.13.4","connect-livereload":"^0.6.1","jest":"^29.7.0","livereload":"^0.9.3","sass":"^1.85.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","ts-node-dev":"^2.0.0","typescript":"^5.7.3"},"publishConfig":{"access":"public"},"_id":"@bestcodetools/graphql-playground@1.1.2","gitHead":"46738dd53840e37a7bd5f11d74d88eb144957e3e","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-0/ep2QMWqBRK4gpInVK/N0pPu05OtK5XUqx+XO6wU8C+dW8qX7/IiTRbnHxmvNAho/JIgsTdt0U7Es+hy/0oLA==","shasum":"4bd59142935fe72bcd319263b4e560850d0102ae","tarball":"https://registry.npmjs.org/@bestcodetools/graphql-playground/-/graphql-playground-1.1.2.tgz","fileCount":33,"unpackedSize":314200,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bestcodetools%2fgraphql-playground@1.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGDATGls1yRFyfWgGG2MGs9UAuvFHvNipy3sihG0LR8XAiABOw08y2AVWPU/soLgThlKfDfWU9DRvydAFTdgdA9zjg=="}]},"_npmUser":{"name":"kamikai","email":"kamikai@gmail.com"},"maintainers":[{"name":"kamikai","email":"kamikai@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/graphql-playground_1.1.2_1776883111323_0.3280213219728507"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-09T15:32:43.826Z","modified":"2026-04-22T18:38:31.740Z","0.0.0":"2026-04-09T15:32:44.132Z","1.0.2":"2026-04-09T15:58:09.019Z","1.1.0":"2026-04-22T16:27:27.488Z","1.1.1":"2026-04-22T17:06:37.990Z","1.1.2":"2026-04-22T18:38:31.472Z"},"bugs":{"url":"https://github.com/BestCodeTools/graphql-playground/issues"},"author":{"name":"BestCodeTools"},"license":"ISC","homepage":"https://github.com/BestCodeTools/graphql-playground#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/BestCodeTools/graphql-playground.git"},"description":"A standalone GraphQL Playground package with a custom dark UI, schema explorer, smart editors, workspace import/export, and Docker support.","maintainers":[{"name":"kamikai","email":"kamikai@gmail.com"}],"readme":"# GraphQL Playground\n\nA standalone GraphQL Playground package with a custom dark UI, schema explorer, smart editors, workspace import/export, and Docker support.\n\n## What This Package Is For\n\nThis package serves a browser-based GraphQL playground that helps developers:\n\n- write and run GraphQL queries, mutations, and subscriptions\n- inspect the schema in a side panel\n- edit variables and headers with guided autocomplete\n- view formatted JSON responses with syntax highlighting\n- save, import, and export full workspaces with multiple tabs\n\nIt is designed to be embedded into an Express application or run as a standalone local server.\n\n## Features\n\n- standalone Express server for quick local usage\n- custom schema viewer with search and hover details\n- query editor with GraphQL autocomplete and inline tooltips\n- variables editor with schema-aware suggestions\n- headers editor with common header suggestions\n- response viewer with JSON syntax highlighting and visible selection states\n- collapsible blocks in the query editor, variables editor, headers editor, and response viewer\n- cURL import support for shell-style multiline commands\n- multi-tab workspace with import/export support\n- Docker image support for a compiled runtime\n\n## Installation\n\n```bash\nnpm install @bestcodetools/graphql-playground\n```\n\n## Standalone Usage\n\nFor development:\n\n```bash\nnpm run standalone\n```\n\nThe playground will be available at:\n\n```text\nhttp://localhost:3000/playground\n```\n\nYou can change the port with:\n\n```bash\nPLAYGROUND_PORT=4000 npm run standalone\n```\n\n## Compiled Runtime\n\nTo run the compiled standalone server without `ts-node-dev`:\n\n```bash\nnpm run build\nnpm start\n```\n\n## Docker Usage\n\nBuild the image:\n\n```bash\ndocker build -t graphql-playground .\n```\n\nRun the container:\n\n```bash\ndocker run -p 3000:3000 graphql-playground\n```\n\nThen open:\n\n```text\nhttp://localhost:3000/playground\n```\n\n## Available Scripts\n\n- `npm run standalone`: starts the standalone server with `ts-node-dev`\n- `npm run build`: transpiles TypeScript into `dist`\n- `npm start`: runs the transpiled standalone server\n- `npm test`: runs the Jest test suite\n- `npm run transpile:sass:watch`: watches and transpiles Sass files\n\n## Testing\n\nThis package includes a basic integration test for the standalone server.\n\nRun:\n\n```bash\nnpm test\n```\n\nThe test verifies that the standalone server starts on an automatically assigned port and responds with `200` on the configured playground path.\n\n## Notes\n\n- The standalone runtime disables live reload in production mode.\n- Workspace export sanitizes sensitive header values such as authorization, token, and key headers by replacing them with placeholders.\n\n## License\n\nISC\n","readmeFilename":"README.md"}