graphql-playground-middleware-express
GraphQL IDE for better development workflows (GraphQL Subscriptions, interactive docs & collaboration).
Last updated a month ago by acao .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install graphql-playground-middleware-express 
SYNC missed versions from official npm registry.

graphql-playground-middleware-express

Express middleware to expose an endpoint for the GraphQL Playground IDE 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

Installation

Using yarn:

yarn add graphql-playground-middleware-express

Or npm:

npm install graphql-playground-middleware-express --save

Usage

See full example in examples/basic.

const express = require('express')
const expressPlayground = require('graphql-playground-middleware-express')
  .default

const app = express()

app.get('/playground', expressPlayground({ endpoint: '/graphql' }))

Security Notes

All versions before 1.7.16 were vulnerable to user-defined input to expressPlayground(). Read more in the security notes

Security Upgrade Steps

To 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.

yarn: yarn add graphql-playground-express@^1.7.16

npm: npm install --save graphql-playground-express@^1.7.16

Current Tags

  • 1.5.0-alpha.1                                ...           alpha (2 years ago)
  • 1.5.1-beta.1                                ...           beta (2 years ago)
  • 1.7.18                                ...           latest (a month ago)

77 Versions

  • 1.7.18                                ...           a month ago
  • 1.7.16                                ...           a month ago
  • 1.7.15                                ...           a month ago
  • 1.7.14                                ...           3 months ago
  • 1.7.13                                ...           3 months ago
  • 1.7.12                                ...           a year ago
  • 1.7.11                                ...           a year ago
  • 1.7.10                                ...           a year ago
  • 1.7.9                                ...           a year ago
  • 1.7.8                                ...           2 years ago
  • 1.7.7                                ...           2 years ago
  • 1.7.6                                ...           2 years ago
  • 1.7.5                                ...           2 years ago
  • 1.7.4                                ...           2 years ago
  • 1.7.3                                ...           2 years ago
  • 1.7.2                                ...           2 years ago
  • 1.7.1                                ...           2 years ago
  • 1.7.0                                ...           2 years ago
  • 1.6.3                                ...           2 years ago
  • 1.6.2                                ...           2 years ago
  • 1.6.1                                ...           2 years ago
  • 1.6.0                                ...           2 years ago
  • 1.5.8                                ...           2 years ago
  • 1.5.7                                ...           2 years ago
  • 1.5.6                                ...           2 years ago
  • 1.5.4                                ...           2 years ago
  • 1.5.3                                ...           2 years ago
  • 1.5.2                                ...           2 years ago
  • 1.5.1-beta.1                                ...           2 years ago
  • 1.5.0                                ...           2 years ago
  • 1.5.0-alpha.1                                ...           2 years ago
  • 1.4.9                                ...           2 years ago
  • 1.4.8                                ...           2 years ago
  • 1.4.7                                ...           2 years ago
  • 1.4.6                                ...           2 years ago
  • 1.4.5                                ...           2 years ago
  • 1.4.4                                ...           2 years ago
  • 1.4.3                                ...           3 years ago
  • 1.4.2                                ...           3 years ago
  • 1.4.1                                ...           3 years ago
  • 1.4.0                                ...           3 years ago
  • 1.3.13                                ...           3 years ago
  • 1.3.12                                ...           3 years ago
  • 1.3.11                                ...           3 years ago
  • 1.3.10                                ...           3 years ago
  • 1.3.10-beta.3                                ...           3 years ago
  • 1.3.10-beta.2                                ...           3 years ago
  • 1.3.10-beta.1                                ...           3 years ago
  • 1.3.8                                ...           3 years ago
  • 1.3.8-beta.5                                ...           3 years ago
  • 1.3.8-beta.4                                ...           3 years ago
  • 1.3.8-beta.3                                ...           3 years ago
  • 1.3.8-beta.2                                ...           3 years ago
  • 1.3.8-beta.1                                ...           3 years ago
  • 1.3.7                                ...           3 years ago
  • 1.3.7-alpha.3                                ...           3 years ago
  • 1.3.6                                ...           3 years ago
  • 1.3.5                                ...           3 years ago
  • 1.3.1                                ...           3 years ago
  • 1.3.1-beta.1                                ...           3 years ago
  • 1.3.0                                ...           3 years ago
  • 1.3.0-beta.3                                ...           3 years ago
  • 1.3.0-beta.2                                ...           3 years ago
  • 1.3.0-beta.1                                ...           3 years ago
  • 1.2.1-beta.9                                ...           3 years ago
  • 1.2.1-beta.8                                ...           3 years ago
  • 1.2.1-beta.7                                ...           3 years ago
  • 1.2.1-beta.3                                ...           3 years ago
  • 1.2.1-beta.2                                ...           3 years ago
  • 1.2.1-beta.1                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.7-beta.3                                ...           3 years ago
  • 1.1.7-beta.2                                ...           3 years ago
  • 1.1.4                                ...           3 years ago
  • 1.1.3                                ...           3 years ago
  • 1.1.2                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Downloads
Today 38
This Week 877
This Month 621
Last Day 182
Last Week 917
Last Month 4,565
Dependencies (1)
Dev Dependencies (4)
Dependents (97)

Copyright 2014 - 2016 © taobao.org |