Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

harmonylink

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

harmonylink

HarmonyLink: Seamlessly connect to LavaLink nodes for high-quality audio streaming in your applications. HarmonyLink offers a reliable and easy-to-use interface, perfect for building music bots and audio applications with superior performance.

  • 1.2.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
64
increased by433.33%
Maintainers
0
Weekly downloads
 
Created
Source


Logo

Seamlessly connect to LavaLink nodes for high-quality audio streaming in your applications.
Explore the docs »

View Demo · Report Bug · Request Feature

Built With

TypeScript

Contributors Forks Stargazers Issues MIT License


HarmonyLink NPM Package

[!WARNING]
Support for Lavalink Version 3 is planned, but not confirmed to be done.

Table of Contents
  1. About
  2. Getting Started
  3. Example Usage
  4. Contributing
  5. License

About

Seamlessly connect to LavaLink nodes for high-quality audio streaming in your applications. HarmonyLink offers a reliable and easy-to-use interface, perfect for building music bots and audio applications with superior performance.

(back to top)

Demo:

URLFeaturesAdditional Information
RhythmCoreAdvanced Music bot With AIInvite
Example BotVerry basic example botcoming soon

(back to top)

Getting Started

Here is how to install HarmonyLink on your project.

Installation

# Using npm
npm install harmonylink

# Using yarn
yarn add harmonylink

(back to top)

Example Usage

// With Discord.js Version 14
import { DJSLibrary, HarmonyLinkConfiguration, HarmonyLink } from "HarmonyLink";
import { Client } from "discord.js"

// Initialize your client
const client = new Client();

const config: HarmonyLinkConfiguration = {
  nodes: [
    {
      name: "Example Node",
      host: "example.com",
      port: 2333,
      password: "youshallnotpass",
      secure: false
    }
  ] // Your nodes. 
  library: new DJSLibrary(client),
};

const musicClient = new HarmonyLink(config)

// Creating a player
await musicClient.createPlayer()

For more examples, please refer to the Documentation

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Keywords

FAQs

Package last updated on 17 Jan 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc