REST

Features

  • Lightweight
  • Typed Response
  • Deno Support
  • Handles Rate Limit

Usage

import { REST } from '@revoltio/rest'

const rest = new REST()

rest.setToken('revolt-token-here')

const res = await rest.get('/')

console.log(res)