Skip to content

Latest commit

 

History

History

graphiql

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

gql/graphiql

Tweaked version of graphql-playground-html without Electron and React environments.

Get Started

import { renderPlaygroundPage } from 'https://deno.land/x/gql@2.0.0/graphiql/render.ts'

const playground = renderPlaygroundPage({
  endpoint: '/graphql',
})

return new Response(playground, {
  headers: new Headers({
    'Content-Type': 'text/html',
  }),
})