Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/twlite/collection

Utility data structure for Deno (Discord.js Collection).
https://github.com/twlite/collection

Last synced: about 1 month ago
JSON representation

Utility data structure for Deno (Discord.js Collection).

Awesome Lists containing this project

README

        

# Collection
Utility data structure for Deno (Original Author: **Discord.js Developers**).

# NodeJS
**[Discord.js Collection](https://github.com/discordjs/collection)**

# Example

```js
import { Collection } from "https://deno.land/x/collection/mod.ts";

const store = new Collection();

store.set("test", { value: "asdf", id: 1 });

const data = store.find(x => x.id === 1).value;
```

# Documentation
**[https://discord.js.org/#/docs/collection/master/general/welcome](https://discord.js.org/#/docs/collection/master/general/welcome)**