1.2.2 • Published 1 year ago
@rco3/lib v1.2.2
Table of Contents
RCO3 JS Library
A NodeJS Library for RCO3.
Usage Examples
Minimal Usage Example
const { RCO3 } = require('@rco3/lib');
const { Oof } = RCO3;
const roblox = new RCO3.Roblox();
const flags = new RCO3.Flags();
Oof.Install(roblox);
flags.Install(roblox);
Overwrites, Awaits, import
s
import { existsSync, readFileSync } from 'fs';
import { RCO3 } from '.';
const overwrites = existsSync('./overwrites.json') ? JSON.parse(readFileSync('./overwrites.json', 'utf-8')) : {};
const roblox = new RCO3.Roblox();
const flags = new RCO3.Flags(overwrites);
const oof = new RCO3.Oof();
(async () => {
console.log('Installing');
await flags.Install(roblox);
await oof.Install(roblox);
console.log('Done!');
})();