Skip to content

v57/hub-lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Containerization logo  Hub Lite Server

hub-lite is a main server for your Hub network

Quick Start

Run from Bun

bunx v57/hub-lite

Run from Source

bun i && bun .

Environment

  • HUBLISTEN: default listen address or port.

Create hub service

TypeScript Swift

import { Service } from 'hub-service'
new Service().post('hash/sha256', body => new Bun.SHA256().update(body).digest('hex')).start()

Client api

import { Service } from 'hub-service'
const service = new Service().start()
const hash = await service.send('hash/sha256', 'Hello World')
console.log(hash)

About

Connect your stuff together

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors