A stupidly simple module loader for RBXTS because sometimes all you need is something that just works.
Lightweight, dependency-free, and easy to drop into any project.
A module loader is a module that automatically handles the initialization and startup of your modules.
Instead of manually managing dozens of require() calls across scripts, you can just use:
- 1 Script
- 1 LocalScript
- and a few ModuleScripts which the loader automatically initializes and starts.
This keeps your code organized, modular, and your workspace clean.
- Initializes modules automatically
- Starts modules automatically
- Logs initialization and startup times
- Lightweight & dependency-free
rbxts^3.0.0
import { StartAll } from "@rbxts/moduleloader";
const modules = script.Parent!.GetChildren();
await StartAll(modules);To install it is simple! Just run
npm install github:NotDumbDev/SimpleModuleLoaderon your terminal!
Contributing is always appreciated! feel free to contribute to this.
Feedback is also appreciated!
If you find a bug / want a feature please DM me on discord or open an issue!