$ luarocks install lua-lenses
lua-lenses provides composable, functional-style access and updates
to nested Lua tables. It supports advanced features like:
- String path splitting ("foo.bar.baz")
- Dynamic key functions
- Strict vs. silent error handling
- Optional creation of missing sub-tables
- Wildcard (array) updates
- Immutable (copy-based) or in-place mutations
- Rich composition for building complex data paths