open-index/open-npm huggingface dataset:
npm package: @lavaclient/plugin-effects
Description: Lavaclient plugin for better filter management
Author: lavaclient team
Latest version: 1.0.3

<img src="https://github.com/lavaclient/.github/raw/main/assets/banner.png" align="center">

> A [lavaclient](https://npmjs.com/lavaclient) plugin for better filter management.

## ⛓️ Example

```ts
import type { PlayerEffect } from "@lavaclient/effects";

const nightcore: PlayerEffect = {
    id: "nightcore",
    filters: [
        {
            type: "timescale",
            data: { rate: 1.125, pitch: 1, speed: 1 },
        },
    ],
};

await player.effects.toggle(nightcore);
```
npm package: @lavaclient/plugin-lavasearch
Description: Lavalink API client plug-in for better integration with LavaSearch
Author: lavaclient team
Latest version: 1.0.5

# LavaSearch Integration Plugin

> A [Lavalink API client](https://npmjs.com/lavalink-api-client) plug-in for better integration with [LavaSearch](https://github.com/Topi314/LavaSearch)

## 🛟 Need Support?

Feel free to join our [Discord Server](https://discord.gg/8R4d8RydT4).

## ⛓️ Example

Requires **LavaSearch v1**

```ts
import "@lavaclient/plugin-lavasearch/register";

// 1.
await node.api.loadSearch("spsearch:Odetari", "track", "artist", "album");

// 2.
await node.api.loadSearchOrNull("spsearch:Odetari", "track", "artist", "album");
```

1. Loads a LavaSearch result with tracks, artists, and albums. Throws an exception if nothing was found.
2. Does the same thing as 1 but returns null if nothing was found.
npm package: @lavaclient/queue
Description: A lavaclient plugin that adds queue functionality
Author: lavaclient team
Latest version: 2.1.1

<img src="https://i.imgur.com/LvsojLc.png" align="center">

> Added queue functionality for [**Lavaclient**](https://lavaclient.js.org)

- **Official Lavaclient Plugin**

<h2 align="center">Installation</h2>

##### Stable

```shell
yarn add @lavaclient/queue # or npm install
```

##### Beta

```shell
yarn add @lavaclient/queue@beta # or npm install
```

<h2 align="center">Usage</h2>

```ts
import "@lavaclient/queue/register";
import { Node } from "lavaclient";

const node = new Node({ ... });
const player = node.createPlayer("830616783199010857");

/* search for some tracks to play. */
const results = await node.rest.loadTracks("ytsearch:never gonna give you up");

/* add it to the queue. */
player.queue.add([ results[0] ]); // you can pass the requester in the second parameter
if (!player.playing) {
    player.queue.start();
}
```

---

[melike2d](https://dimensional.fun) &copy; 2018 - present