Skip to content

Installation

sh npm install discolink

Ships with ESM and CJS builds and bundled type declarations. No @types package needed.

  • Node.js v22 or later (equivalent bun, deno versions supported)
  • A Discord library that lets you send raw payloads and subscribe to raw dispatch events

If you use typescript, try to use modern lib and module resolution to get the most of this package:

{
"compilerOptions": {
// ...
"lib": ["ESNext"],
"target": "ESNext",
"module": "NodeNext",
"moduleResolution": "NodeNext"
// ...
}
}