Skip to content

zet431/roblox.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roblox.JS

Unofficial ROBLOX.JS API Wrapper.

Installation

Using npm:

$ npm i @rasi2661/roblox.js

Using yarn:

$ yarn add @rasi2661/roblox.js

Examples

Fetching a user's username:

const rbx = require("@rasi2661/roblox.js");

async function getusername(){
  let user = new rbx.User(1); //pass userid
  let username = await user.username();
  console.log(username);
  // ROBLOX
}
getusername()