Skip to main content
Deno 2 is finally here 🎉️
Learn more
denoblox

denoblox

denoblox is a Promise-based Deno wrapper for the Roblox API.

Getting Started

The only requirement is Deno. Anywhere in your project, simply import from the link:

import { Client } from "https://deno.land/x/denoblox/mod.ts";

For the latest development version:

import { Client } from "https://denopkg.com/gcaptn/denoblox/mod.ts";

Make sure to include --allow-net when running your file:

deno run --allow-net ./your-file.ts

Quick Example

import { Client } from "https://deno.land/x/denoblox/mod.ts";

const user = new Client();
user.setCookie("_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will...");

user.messages.sendMessage({
  recipientId: 12345678,
  subject: "Private message",
  body: "Hello!"
}).then(console.log);