1.2.2 • Published 1 year ago

@rco3/lib v1.2.2

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
1 year ago

Table of Contents

RCO3 JS Library

Docs | NPM | Source

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, imports

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!');
})();
1.2.2

1 year ago

1.2.1

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago