0.2.1-alpha • Published 2 years ago

tyblox.js v0.2.1-alpha

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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

Installation

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

Getting started

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);