{"id":"vocksel/module-loader","name":"module-loader","scope":"vocksel","platform":"roblox","description":"Module loader class that bypasses Roblox's require cache","version":"0.6.1","latest":"0.6.1","versions":["0.1.0","0.1.1","0.1.2","0.2.0","0.3.0","0.3.1","0.4.0","0.5.0","0.6.0","0.6.1"],"license":"MIT","licenseRating":"safe","licenseCaveats":[],"licenseVerified":true,"dependencies":{"stravant/goodsignal":{"version":"^0.1.1","alias":"GoodSignal"},"howmanysmall/janitor":{"version":"^1.13.15","alias":"Janitor"},"roblox/testez":{"version":"^0.4.1","alias":"TestEZ"}},"integrity":"1d4bbde3e08d09414e3eade23b2dd61efc67b4730cb59725205884d03960d569","likes":0,"downloads":0,"install":"forest install vocksel/module-loader","url":"https://forest.dev/p/roblox/vocksel/module-loader","files":"https://api.forest.dev/ai/package/roblox/vocksel/module-loader/files","readme":"# ModuleLoader\n\n[![CI](https://github.com/vocksel/module-loader/actions/workflows/ci.yml/badge.svg)](https://github.com/vocksel/module-loader/actions/workflows/ci.yml)\n[![Docs](https://img.shields.io/badge/docs-website-brightgreen)](https://vocksel.github.io/module-loader)\n\nModule loader class that bypasses Roblox's require cache.\n\nThis class aims to solve a common problem where code needs to be run in Studio, but once a change is made to an already required module the whole place must be reloaded for the cache to be reset. With this class, the cache is ignored when requiring a module so you are able to load a module, make changes, and load it again without reloading.\n\n## Usage\n\n```lua\nlocal ModuleLoader = require(ReplicatedStorage.Packages.ModuleLoader)\n\nlocal loader = ModuleLoader.new()\nloader:require(ReplicatedStorage.ModuleScript)\n```\n\n## Installation\n\nInstalling the package is quick and easy whether you use a package manager like [Wally](https://github.com/UpliftGames/wally) or work directly in Studio.\n\n### Wally (Recommended)\n\nAdd the following to your `wally.toml` and run `wally install` to download the package.\n\n```toml\n[dependencies]\nModuleLoader = \"vocksel/module-loader@0.3.1\"\n```\n\nMake sure the resulting `Packages` folder is synced into your experience using a tool like [Rojo](https://github.com/rojo-rbx/rojo/).\n\n### Roblox Studio\n\n* Download a copy of the rbxm from the [releases page](https://github.com/vocksel/module-loader/releases/latest) under the Assets section.\n* Drag and drop the file into Roblox Studio to add it to your experience.\n## Documentation\n\nYou can find the documentation [here](https://vocksel.github.io/module-loader).\n\n## Credits\n\nParts of this class were taken verbatim from [OrbitalOwen/roblox-testservice-watcher](https://github.com/OrbitalOwen/roblox-testservice-watcher), and other parts were rewritten to allow the module loading code to be abstracted into a new package.\n\n## Contributing\n\nSee the [contributing guide](https://vocksel.github.io/module-loader/docs/contributing).\n\n## License\n\n[MIT License](LICENSE)","readmeTruncated":false}