lua-lenses

A powerful lens library for nested Lua tables

$ 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

Versions

0.1-116 days ago1 download

Manifests