Package Exports
- @rasi2661/roblox.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@rasi2661/roblox.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Roblox.JS
Installation
Using npm:
$ npm i @rasi2661/roblox.jsUsing yarn:
$ yarn add @rasi2661/roblox.jsExamples
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()