https://github.com/twlite/collection
Utility data structure for Deno (Discord.js Collection).
https://github.com/twlite/collection
Last synced: 4 months 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-24T08:37:55.000Z (over 4 years ago)
- Last Synced: 2025-02-24T05:05:30.140Z (5 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)**