tyblox.js is the most powerful Node.js package which allows you to quickly, and easily interact with the Roblox API.
- Object-Oriented
- Performant
- Typescript Capable
Node.js 16.6.0 or newer is required for this to work properly
NPM 7.0.0 or newer is required to work properly.
$ npm install tyblox.js
$ yarn add tyblox.js
or for development previews, which may be buggy
$ npm install tyblox.js@dev
Below is an example to login and access many features of tyblox.js
require("dotenv").config();
const { Client } = require("tyblox.js");
const client = new Client();
client.on("ready", () => {
console.log("Ready!");
console.log("Logged in as " + client.user.username);
});
client.login(process.env.example_cookie);