npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

hoshimi

v0.3.3

Published

A lavalink@v4 client easy to use, up-to-date and all ears.

Readme

NPM Version NPM Downloads

📦 Features

  • 📋 V4: Works with lavalink v4 and their features (wip).
  • 🔗 Node Manager: Manage nodes, auto least‑used selection, session resume and more.
  • ▶️ Autoplay: YouTube and Spotify recommendations out of the box; easily extend with your own function.
  • 📝 Lyrics: Control your lyrics with live-lyrics updates; validates required plugins.
  • 🌐 REST + WebSocket: Typed REST helpers, player/session control, decode single/multiple tracks.
  • 📣 Events: Granular events with debug levels.
  • 🧩 Extensible: Override structures with your own ones.
  • 🧪 Safety & DX: Strict validation, descriptive errors, TypeScript-first API build, and formatting/linting.
  • 📜 Filters: Built-in filters, easy management and easy to use!

⚙️ Requirements

📦 Installation

# Stable... and the development one (unstable)...

# Using NPM
npm install hoshimi # Stable
npm install https://github.com/Ganyu-Studios/Hoshimi.git # Development

# Using PNPM
pnpm install hoshimi
pnpm install https://github.com/Ganyu-Studios/Hoshimi.git

# Using YARN
yarn add hoshimi
yarn add https://github.com/Ganyu-Studios/Hoshimi.git

# Using BUN
bun add hoshimi
bun add https://github.com/Ganyu-Studios/Hoshimi.git

📜 Basic Setup

You can read this or you can follow this one:

import { Hoshimi } from "hoshimi"; // She is all ears!
import { Client } from "seyfert"; // Only example client, you can use whatever you want...

const client = new Client(); // https://www.seyfert.dev/guide

const hoshimi = new Hoshimi({
    nodes: [
        {
            host: "localhost",
            port: 2333,
            password: "youshallnotpass",
        },
    ], // Add more nodes if you want!
    sendPayload(guildId, payload) {
        // Your client send to shard payload function
        client.gateway.send(client.gateway.calculateShardId(guildId), payload);
    },
});

// Bind the manager into your client!
client.hoshimi = hoshimi;

// FOLLOW YOUR CLIENT EVENT IMPLEMENTATION
// THIS IS ONLY A EXAMPLE, NOT A REAL USAGE
client.events.values.READY = {
    __filePath: null,
    data: { name: "ready", once: true },
    run(user, client) {
        client.logger.info(`Logged in as ${user.username}`);
        
        // Call the manager to initialize hoshimi
        hoshimi.init({ ...user, username: user.username });
    },
};

client.events.values.RAW = {
    __filePath: null,
    data: { name: "raw" },
    async run(data, client) {
        // Call the handler on the gateway dispatch events
        await hoshimi.updateVoiceState(data);
    },
};

(async () => {
    await client.start();
})();

💖 Used By

  • For now, no one is using it :(

📝 Additional Notes

I am currently working on this package. This package takes some ideas provided from libraries like:

I'm taking their job as a base for this project, I love their job, all of them, I just took some stuff because i'm too lazy to make my own. If anyone of them wants to talk to me to remove their stuff, they can.

But made with my code style and my knowledge and of course up-to-date.

📝 License

Copyright © 2025 Ganyu Studios.

This project is MIT licensed.

  • The character and assets are not my property, property of miHoYo Co. Ltd. (HoYoverse)

Made with 🐐❤️💪... A project made by the community, for the community.