hydraql

2.1.0Β β€’Β PublicΒ β€’Β Published

hydraql

Greenkeeperbadge BuildStatus

πŸ™ Quickly get up and running with this easy to use yet powerful graphql server library.

Libraries

Usage

Exports

API

GraphQLServer

constructor(props)

The props argument accepts the following fields:

Key Type Default Note
types String null
typeDefs String null
connectors String null
resolvers Object null
schema Object null
context Object or Function {}

start(options, callback = () => null)

The options object has the following fields:

Key Type Default Note
cors Object null
tracing Boolean or String 'http-header'
endpoint String '/graphql'
subscriptions String or false '/graphql'
playground String or false '/playground'
uploads Object or false null
apollo Object or false null
schema Object or false null
upload Object or false null

Config

Package Sidebar

Install

npm i hydraql

Weekly Downloads

1

Version

2.1.0

License

MIT

Unpacked Size

744 kB

Total Files

74

Last publish

Collaborators

  • ntomsic