2022-08-31 08:59:53 +08:00

1.4 KiB

@biscuitland/api-types

Most importantly, api-types is:

1:1 type definitions package for the Discord API.

biscuit

Install (for node18)

npm install @biscuitland/api-types
yarn add @biscuitland/api-types

Example

import type { DiscordUser } from '@biscuitland/api-types';

Example for Deno

import type { DiscordUser } from "https://unpkg.com/@biscuitland/api-types@2.0.5/dist/index.d.ts";

We deliver this package through unpkg and it does contain constants and routes too