UNPKG

2.06 kBMarkdownView Raw
1<div align="center">
2 <br />
3 <p>
4 <a href="https://discord.js.org"><img src="https://discord.js.org/static/logo.svg" width="546" alt="discord.js" /></a>
5 </p>
6 <br />
7 <p>
8 <a href="https://discord.gg/djs"><img src="https://img.shields.io/discord/222078108977594368?color=5865F2&logo=discord&logoColor=white" alt="Discord server" /></a>
9 <a href="https://www.npmjs.com/package/@discordjs/collection"><img src="https://img.shields.io/npm/v/@discordjs/collection.svg?maxAge=3600" alt="npm version" /></a>
10 <a href="https://www.npmjs.com/package/@discordjs/collection"><img src="https://img.shields.io/npm/dt/@discordjs/collection.svg?maxAge=3600" alt="npm downloads" /></a>
11 <a href="https://github.com/discordjs/discord.js/actions"><img src="https://github.com/discordjs/discord.js/actions/workflows/test.yml/badge.svg" alt="Build status" /></a>
12 </p>
13</div>
14
15## About
16
17`@discordjs/collection` is a powerful utility data structure used in discord.js.
18
19## Installation
20
21**Node.js 16.9.0 or newer is required.**
22
23```sh-session
24npm install @discordjs/collection
25yarn add @discordjs/collection
26pnpm add @discordjs/collection
27```
28
29## Links
30
31- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/website))
32- [Documentation](https://discord.js.org/#/docs/collection)
33- [discord.js Discord server](https://discord.gg/djs)
34- [GitHub](https://github.com/discordjs/discord.js/tree/main/packages/collection)
35- [npm](https://www.npmjs.com/package/@discordjs/collection)
36
37## Contributing
38
39Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the
40[documentation](https://discord.js.org/#/docs/collection).
41See [the contribution guide](https://github.com/discordjs/discord.js/blob/main/.github/CONTRIBUTING.md) if you'd like to submit a PR.
42
43## Help
44
45If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle
46nudge in the right direction, please don't hesitate to join our official [discord.js Server](https://discord.gg/djs).