JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 16
  • Score
    100M100P100Q48899F
  • License ISC

ROBLOX API Wrapper

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.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()