🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More
Socket
Sign inDemoInstall
Socket

apollo-graphiql-playground

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-graphiql-playground

Apollo Server plugin for the GraphiQL Playground

0.1.5
latest
Source
npm
Version published
Weekly downloads
32
-56.76%
Maintainers
1
Weekly downloads
 
Created
Source

apollo-graphiql-playground

npm

Plugin for using GraphiQL playground inside an Apollo Server.

Example

import { ApolloServerPluginLandingPageGraphiQLPlayground } from 'apollo-graphiql-playground'

const server = new ApolloServer({
  plugins: [
    ApolloServerPluginLandingPageGraphiQLPlayground({
      shouldPersistHeaders: true,
    })
  ],
})

Options

  • url? (default: /graphql): Which URL should the playground should use.
  • shouldPersistHeaders?: Toggles if the contents of the headers editor are persisted in storage.

Keywords

graphql

FAQs

Package last updated on 03 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts