📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

yukinojs

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yukinojs

Kawaii lavalink client written in TypeScript

1.2.2
latest
Source
npm
Version published
Weekly downloads
14
-85.71%
Maintainers
1
Weekly downloads
 
Created
Source

Yukino.

kawaii Node.js wrapper written in TypeScript for Lavalink audio streaming. 🚀

npm version TypeScript Lavalink Discord

📖 Introduction

Yukino brings simplicity and reliability to Discord music bot development. Built as a modern TypeScript wrapper for Lavalink, it offers a seamless experience for creating feature-rich music bots. Designed with developer experience in mind ✨.

⭐ Key Features

  • TypeScript First - Complete type safety with comprehensive TypeScript definitions 📝

  • Developer Friendly - Clear and concise API with minimal boilerplate 🛠️

  • Smart Voice Handling - Intelligent voice state management and tracking 🎧

  • Audio Enhancement - Rich set of audio filters including equalizer, tempo, and more 🎚️

  • Event-Driven Design - Comprehensive event system for precise control ⚡

📋 System Requirements

🚀 Quick Start

Install Yukino using npm:

npm install yukinojs

📚 API Documentation

Visit our documentation for detailed guides and API reference.

💡 Quick Example

Here's how to get started with Yukino:

import { Client, GatewayIntentBits } from 'discord.js';
import { YukinoClient } from 'yukinojs';

const client = new Client({
    intents: [
        GatewayIntentBits.Guilds,
        GatewayIntentBits.GuildVoiceStates
    ]
});

client.once('ready', () => {
    const yukino = new YukinoClient(client, {
        client,
        host: 'localhost',
        port: 2333,
        auth: 'youshallnotpass',
        version: 'v4'
    }, {
        name: 'MainNode',
        url: 'localhost:2333',
        auth: 'youshallnotpass'
    });

    yukino.connect();
});

// Basic music playback example
async function playMusic(guildId: string, voiceChannelId: string, query: string) {
    const player = yukino.createPlayer({
        guildId,
        voiceChannelId
    });
    
    await player.connect();
    const result = await yukino.loadTrack(query);
    
    if (result.loadType === 'TRACK_LOADED') {
        await player.play({ track: result.data[0] });
    }
}

client.login('your-token-here');

🤝 Need Help?

🌟 Want to Contribute?

We welcome contributions! Check our Contributing Guidelines to get started.

📄 License

Released under the MIT License.

Keywords

lavalink

FAQs

Package last updated on 26 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts