Socket
Socket
Sign inDemoInstall

@benzene/server

Package Overview
Dependencies
5
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @benzene/server

Fast and simple GraphQL Server for Node.js


Version published
Weekly downloads
12
increased by1100%
Maintainers
1
Install size
363 kB
Created
Weekly downloads
 

Readme

Source

@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

Keywords

FAQs

Last updated on 08 Nov 2020

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc