$ luarocks install toml2lua
A battle-tested, zero-dependency TOML parser/encoder for Lua that actually works.
Built for developers who need config files that don't break at 3AM.
Features:
- Full TOML 1.0.0 compliance
- Zero dependencies
- Streaming parser support
- Strict and relaxed modes
- Comprehensive test suite
- Cross-version Lua compatibility (5.1+)
Serializes TOML into Lua tables and Lua tables into TOML.
Versions
Dependencies
lua >= 5.1