<div align="center">
[](https://github.com/seaofvoices/darklua/actions/workflows/test.yml)
[](https://darklua.com/)
[](https://crates.io/crates/darklua)
[](LICENSE.txt)
[](https://github.com/seaofvoices/darklua/releases)
[](https://www.rust-lang.org/)
[](https://ko-fi.com/seaofvoices)
</div>
# darklua
Transform Lua 5.1 and Roblox Luau code using configurable rules.
# [Documentation](https://darklua.com/docs)
Visit https://darklua.com/docs to learn how to use darklua.
# [Try It!](https://darklua.com/try-it)
You can try darklua directly into your browser! Check out https://darklua.com/try-it.
# [Installation](https://darklua.com/docs/installation/)
## [GitHub Releases](https://github.com/seaofvoices/darklua/releases/latest)
There are pre-built versions of darklua under the [releases page](https://github.com/seaofvoices/darklua/releases) available for direct downloads.
## [Rokit](https://github.com/rojo-rbx/rokit)
When using [Rokit](https://github.com/rojo-rbx/rokit), install darklua with the command:
```bash
rokit add seaofvoices/darklua
```
## [Foreman](https://github.com/Roblox/foreman)
If you are already using Foreman, then installing darklua is as simple as adding this line in the `foreman.toml` file:
```toml
darklua = { github = "seaofvoices/darklua", version = "=0.18.0" }
```
# License
darklua is available under the MIT license. See [LICENSE.txt](LICENSE.txt) for details.