@rbxts/config
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

About

Config is a simple configuration maker for RobloxTS. Setting a variable on a config creates a value instance for it which can be later read from another config with the same name and parent.

Usage

new Config(name, parent)

Example

Server:

import { ReplicatedStorage } from "@rbxts/services";

const gameConfig = new Config("Meta", ReplicatedStorage);

gameConfig.ChoosenMap = "Desert"

print(gameConfig.ChoosenMap)

Client:

import { ReplicatedStorage } from "@rbxts/services";

const gameConfig = new Config("Meta", ReplicatedStorage);

print(gameConfig.ChoosenMap)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    0

Package Sidebar

Install

npm i @rbxts/config

Weekly Downloads

0

Version

0.0.1

License

ISC

Unpacked Size

6.57 kB

Total Files

5

Last publish

Collaborators

  • emre1791