@socon/hub-nodejs
v1.0.2
Published
A lightweight, fast Typescript interface for Socon Hubs. Designed to work with [Hubble](https://github.com/soconxyz/hubble/) and any other Hub that implements the [Socon protocol](https://github.com/soconxyz/protocol).
Downloads
3
Readme
@socon/hub-nodejs
A lightweight, fast Typescript interface for Socon Hubs. Designed to work with Hubble and any other Hub that implements the Socon protocol.
Features
- Call any Hub endpoint from a NodeJS environment.
- Serializes and deserializes Socon protobufs into Javascript objects.
- Has helpers to create and sign Socon messages.
- Written entirely in TypeScript, with strict types for safety.
Read the documentation, see more examples or get started with the guide below.
Installation
Install @socon/hub-nodejs with the package manager of your choice
npm install @socon/hub-nodejs
yarn add @socon/hub-nodejs
pnpm install @socon/hub-nodejs