Exported Packages
The discokit package re-exports several other packages, they can then be imported
through discokit/<name>.
For example, the @discokit/rest package
can be imported as follows:
import { ... } from "discokit/rest";💡
For TypeScript Users
The "moduleResolution" compiler option must be set to either node16,
nodenext or bundler for the import to work.
The following packages are re-exported:
- @discokit/rest as
discokit/rest - @discokit/bitfields as
discokit/bitfields - @discokit/types as
discokit/types