0.2.0 • Published 4 years ago

@benzene/server v0.2.0

Weekly downloads
8
License
MIT
Repository
github
Last release
4 years ago

@benzene/server

npm CI codecov PRs Welcome

Fast and simple GraphQL Server for Node.js

const { Benzene, httpHandler } = require('@benzene/server');
const { createServer } = require('http');

const GQL = new Benzene({ schema });

createServer(httpHandler(GQL, options)).listen(3000);

// Or Express.js and friends
const express = require('express');

app.all(httpHandler(GQL, options)).listen(3000);

Documentation is available at hoangvvo.github.io/benzene/#/server

0.2.0

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.1

4 years ago