@discordjs/rest 0.4.1
The REST API for discord.js
@discordjs/rest@0.4.1 was published on 2022-04-17. Its manifest declares 8 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=16.9.0.
Deprecated: no longer supported
All @discordjs/rest versions · Permanent reference to 0.4.1 · Latest release
Package specifications
| Version | 0.4.1 |
|---|---|
| License declaration | Apache-2.0 |
| Published | 2022-04-17T14:25:36.307Z |
| Node.js requirement | >=16.9.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 8 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 281.78 KiB |
| Published file count | 19 |
| Package type | Not declared |
| ES module entry | ./dist/index.mjs |
| Default entry | ./dist/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 35 |
| Repository stars | 26826 |
| Repository forks | 4065 |
Install @discordjs/rest 0.4.1
npm install @discordjs/rest@0.4.1 pnpm add @discordjs/rest@0.4.1 yarn add @discordjs/rest@0.4.1
Runtime dependencies
- tslib ^2.3.1
- form-data ^4.0.0
- node-fetch ^2.6.7
- @types/node-fetch ^2.6.1
- discord-api-types ^0.29.0
- @sapphire/snowflake ^3.2.1
- @discordjs/collection ^0.7.0-dev
- @sapphire/async-queue ^1.3.1
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @discordjs/collection@0.7.0 — direct
- @sapphire/async-queue@1.5.5 — direct
- @sapphire/snowflake@3.5.5 — direct
- @types/node@26.6.6 — indirect
- @types/node-fetch@2.6.13 — direct
- async-function@1.0.0 — indirect
- async-generator-function@1.0.0 — indirect
- asynckit@0.4.0 — indirect
- call-bind-apply-helpers@1.0.2 — indirect
- combined-stream@1.0.8 — indirect
- delayed-stream@1.0.0 — indirect
- discord-api-types@0.29.0 — direct
- dunder-proto@1.0.1 — indirect
- es-define-property@1.0.1 — indirect
- es-errors@1.3.0 — indirect
- es-object-atoms@1.1.2 — indirect
- es-set-tostringtag@2.1.0 — indirect
- form-data@4.0.6 — direct
- function-bind@1.1.2 — indirect
- generator-function@2.0.1 — indirect
- get-intrinsic@1.3.1 — indirect
- get-proto@1.0.1 — indirect
- gopd@1.2.0 — indirect
- has-symbols@1.1.0 — indirect
- has-tostringtag@1.0.2 — indirect
- hasown@2.0.4 — indirect
- math-intrinsics@1.1.0 — indirect
- mime-db@1.52.0 — indirect
- mime-types@2.1.35 — indirect
- node-fetch@2.7.0 — direct
- tr46@0.0.3 — indirect
- tslib@2.8.1 — direct
- undici-types@8.9.0 — indirect
- webidl-conversions@3.0.1 — indirect
- whatwg-url@5.0.0 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 10/10 — 27 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10 |
|---|---|
| Code-Review | 10/10 — all changesets reviewed |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| License | 10/10 — license file detected |
| Security-Policy | 0/10 — security policy file not detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Packaging | 10/10 — packaging workflow detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/%40discordjs%2Frest/0.4.1 — retrieved 2026-10-31T08:13:09.325Z
- https://api.deps.dev/v3/projects/github.com%2Fdiscordjs%2Fdiscord.js — retrieved 2026-10-31T03:17:37.837Z
- https://api.deps.dev/v3/systems/npm/packages/%40discordjs%2Frest/versions/0.4.1 — retrieved 2026-10-31T08:13:10.315Z
- https://api.deps.dev/v3/systems/npm/packages/%40discordjs%2Frest/versions/0.4.1:dependencies — retrieved 2026-10-31T08:13:10.346Z