# easyutil-discordjs

> A package to manage more easy navigation system with embeds in discord.js

Latest version **2.0.1** (published 2022-10-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install easyutil-discordjs
pnpm add easyutil-discordjs
yarn add easyutil-discordjs
bun add easyutil-discordjs
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2022-10-30 |
| First published | 2022-05-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 29.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | ElShyrux |
| Maintainers | elshyrux |
| Keywords | discord.js, bot, discord, embeds, navigation |

## Links

- npm: https://www.npmjs.com/package/easyutil-discordjs
- Repository: https://github.com/ChirujanoCodding/easyutil-discordjs
- Homepage: https://github.com/ChirujanoCodding/easyutil-discordjs#readme
- Issues: https://github.com/ChirujanoCodding/easyutil-discordjs/issues
- npm.io page: https://npm.io/package/easyutil-discordjs

## Dependencies (1)

- [discord.js](https://npm.io/package/discord.js.md) 14.6.0

## Alternatives

- [express-promise-router](https://npm.io/package/express-promise-router.md) — 736.1K weekly downloads
- [next-usequerystate](https://npm.io/package/next-usequerystate.md) — 29.8K weekly downloads
- [@bitkyc08/opencodex](https://npm.io/package/@bitkyc08/opencodex.md) — 4.6K weekly downloads
- [lynkr](https://npm.io/package/lynkr.md) — 575 weekly downloads
- [baremetal.js](https://npm.io/package/baremetal.js.md) — 42 weekly downloads

## Recent versions

- 2.0.1 (latest) — 2022-10-30
- 2.0.0 — 2022-10-30
- 1.0.2 — 2022-10-30
- 1.0.1 — 2022-07-27
- 1.0.0 — 2022-07-27
- 0.1.5 — 2022-05-28
- 0.1.4 — 2022-05-28
- 0.1.3 — 2022-05-26
- 0.1.2 — 2022-05-26
- 0.1.1 — 2022-05-26
- 0.1.0 — 2022-05-26

## README

<div align= center>
<p>
<img src= "https://i.postimg.cc/pVjNr4vd/EasyUtil.jpg?size=1000x350">
</p>
<a href ="https://discord.com/users/401845716991082496">
<img src="https://img.shields.io/badge/Discord-%E2%9C%A6%20ElShyrux%235729-7289DA?style=for-the-badge&logo=Discord" alt="Support" href = "https://discord.com/users/401845716991082496">
</a>
<a href = "https://www.typescriptlang.org/">
<img src="https://img.shields.io/badge/Made%20with-TypeScript-blue?style=for-the-badge&logo=Typescript" alt= "Lang">
</a>
<a href = "https://www.npmjs.com/package/easyutil-discordjs">
<img src="https://img.shields.io/badge/Version-1.0.0-greeen?style=for-the-badge&logo=npm">
</a>
</div>

# Easyutil-Discordjs


## ℹ What version i need for discord.js? 
Discord.js V 14.0.x

### 📜 Introduction
Easyutil-Discordjs is a library that allows you to manage easily navigation embeds.

### 📥 Installing the package

🌐 Windows version:
```cmd
npm i easyutil-discordjs
```
### 📦 Example of use - (Basic)
```typescript
// Language: TypeScript

import { EmbedBuilder } from 'discord.js';
import { PaginationBuilder } from 'easyutil-discordjs';

// Your interaction command handler...

const embeds: EmbedBuilder[] = [];
for (let i = 1; i <= 5; i++) {
	embeds.push(new EmbedBuilder().setTitle(`Category ${i}`).setDescription("Description"));
	}
	
// The NavEmbedBuilder class initialize with an array of embeds
const nav = new PaginationBuilder({embeds: embeds});
nav.start(interaction);
```

### 📷 Screenshots:


### 📦 Example of use - (Advanced)

```typescript
// Language: TypeScript

import { EmbedBuilder } from 'discord.js';
import { PaginationBuilder } from 'easyutil-discordjs';

// Your interaction command handler...

const embeds: EmbedBuilder[] = [];
for (let i = 1; i <= 5; i++) {
	embeds.push(new EmbedBuilder().setTitle(`Category ${i}`).setDescription("Description"));
	}
	
// The NavEmbedBuilder class initialize with an array of embeds
const nav = new PaginationBuilder({
	embeds: embeds, options: {
		message: "Botones expirados!", 
		buttons: {first: '✔', left: '👻', mid: '🤖', right: '⌛', last: '🎁'}
		}
	});
nav.start(interaction);
```

---
_Source: https://npm.io/package/easyutil-discordjs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
