Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

uzen

acoBOYZ346ISC1.0.7TypeScript support: included

General-purpose GraphQL subscription server library

yoga, graphql, uWebSockets, library, subscription

readme

Node uWebSocket.js with Yoga for Subscriptions

Overview

This is a Node.js server built with uWebSocket.js and Yoga for handling real-time subscriptions with low latency. It provides efficient GraphQL subscriptions, ensuring low-latency communication.

Features

  • Real-time GraphQL subscriptions using Yoga.
  • uWebSocket.js for low-latency communication.
  • JWT-based authentication for secure access.
  • Written in TypeScript for type safety.

Requirements

  • Node.js
  • Redis (for pub-sub, if applicable)

Setup

  1. Clone the repository.
  2. Install dependencies:
    npm install
  3. Configure environment variables.
  4. Start the server:
    npm run start

Usage

  • Use a GraphQL client to connect and subscribe to events.
  • JWT token required for authentication.

License

This project is private.