Skip to content
JS
Package

@discordjs/collection

Utility data structure used in discord.js

v2.1.1, 2 Sept 2024Apache-2.0ESM + CommonJSTypes: BundledNode.js utilities
$ npm install @discordjs/collection

Key numbers

As of 25 Sept 2026
Weekly downloads
2.2m
+222% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 years ago
v2.1.1
GitHub stars
26.8k
4.1k forks
Open issues / PRs
99 / 64
Contributors
-
Commits, last 52 weeks
253

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3mSept 2025Mar 2026Sept 2026High 2.6m (18 Aug 2026)Low 568.1k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,183,578 downloads last week, 10,082,092 in the last month. The 12-month change of +222% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
033 in total
Latest version
2.1.1, 2 Sept 20242 years ago
First published
5 Sept 2019
Last push to GitHub
21 Sept 20263 days before the snapshot
Repository archived
No
Open issues
99
Open pull requests
64
Commits, last 52 weeks
253
Dependents on npm
461

Major versions

  1. v2 first release 2.0.0, 12 Nov 2023
  2. v1 first release 1.0.0, 17 Jul 2022
  3. v0 first release 0.1.0, 5 Sept 2019

Recent releases

VersionPublished
2.1.12 Sept 2024
2.1.04 May 2024
2.0.012 Nov 2023
1.5.317 Aug 2023
1.5.231 Jul 2023
1.5.11 May 2023
1.5.02 Apr 2023
1.4.012 Mar 2023
1.3.028 Nov 2022
1.2.08 Oct 2022
1.1.022 Aug 2022
1.0.127 Jul 2022
1.0.017 Jul 2022
0.8.017 Jul 2022
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=18
Runtimes
-
Unpacked size (npm)
210 kB
Dependencies (0)
None
npm install @discordjs/collection
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@discordjs/collection@2.1.1/
  • unpkghttps://unpkg.com/@discordjs/collection@2.1.1/
  • esm.shhttps://esm.sh/@discordjs/collection@2.1.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.