Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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).
- Host: GitHub
- URL: https://github.com/twlite/collection
- Owner: twlite
- Created: 2020-11-24T08:29:44.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-24T08:37:55.000Z (almost 4 years ago)
- Last Synced: 2024-09-20T00:27:47.503Z (about 2 months ago)
- Language: TypeScript
- Homepage: https://deno.land/x/collection
- Size: 11.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)**