Documentation
📦 Crate
Getting Started

Install

Terminal
npm install @rbxts/crate

Take crate for a spin

const crate = new Crate<MyCrateType>({
	myNumber: 0,
	myString: "Hello!",
	myArray: [1, "2", false],
	myBoolean: false
	myObject: {
		message: "Hello, world!"
	}
})
 
crate.update({
	myNumber: 10,
	myObject: {
		message: (msg) => msg.reverse()
	}
})

Visit the API Reference