Access values deep inside modules and tables, using path strings.

$ luarocks install atpath

Access values deep inside modules and tables, using path strings.

e.g.
`atpath.at(t, "a/b/c/1/true") == t.a.b.c[1][true]`
`atpath.at_module("/somemodule/a/b/c") == (require "somemodule").a.b.c`

Versions

1.0-11 year ago37 downloads
dev-1dev1 year ago0 downloads

Manifests