0.7.2 • Published 2 years ago
@benzene/ws v0.7.2
@benzene/ws
Fast and simple GraphQL over WebSocket implementing the upcoming GraphQL over WebSocket Protocol.
Installation
npm i graphql @benzene/ws
Usage
import * as WebSocket from "ws";
import { Benzene, makeHandler } from "@benzene/ws";
const GQL = new Benzene({ schema });
const wss = new WebSocket.Server({ path: "/graphql", port: 3000 });
wss.on("connection", makeHandler(GQL, options));
Documentation
Documentation is available at benzene.vercel.app. Check out examples for integrations with different server libraries.
0.7.2
2 years ago
0.7.1
2 years ago
0.6.2
3 years ago
0.7.0
3 years ago
0.6.1
3 years ago
0.6.0-next.1
3 years ago
0.6.0-next.0
3 years ago
0.6.0
3 years ago
0.5.1
3 years ago
0.5.0
3 years ago
0.4.4
3 years ago
0.4.3
3 years ago
0.4.2
3 years ago
0.4.1
3 years ago
0.4.0
3 years ago
0.3.0
4 years ago
0.2.1
4 years ago
0.2.0
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