Skip to content

NightLapse-Studios/RbxConfigTypeGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Roblox Config type generator

Quick and (very) dirty generator for config tables that correspond to the properties/events found in roblox classes, primarily Instances.

The target use case is generating prop table types for declarative UI libraries like Vide and React

Consumes the roblox API dump to be up-to-date

It will output invalid luau if the property name has spaces, but this is never the case for writable properties in creatable classes. So this does not necessarily work for the general case.

Thanks to Dekkonot's runtime API dump module for documentation as well as the base types file for the API dump

Usage

Run the script with lune and pipe stdout to a file of your choosing

About

Generates types for tables that describe a Class's state (such as UI elements) in roblox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages