Hoshimi

Introduction

Start building with Hoshimi, a typed Lavalink v4 client.

Hoshimi is a TypeScript-first Lavalink v4 client focused on clean architecture, strict typing and practical extension points.

Why Hoshimi?

  • Type-safe Lavalink client with comprehensive typings and type guards.
  • Clear separation between manager, node, player, queue and storage.
  • Ready for custom structures and adapter-based persistence.

Install

pnpm add hoshimi

Quick Setup

src/index.ts
import {  } from 'hoshimi';

const  = new ({
  : [
    {
      : 'localhost',
      : 2333,
      : 'youshallnotpass',
    },
  ],
  (, ) {
    // Forward payload to your gateway implementation.
    return (, );
  },
});

Documentation Map

On this page