Skip to content

Tieske/accessor.lua

Repository files navigation

Build Status Coverage Status

accessor.lua

This module implements an easy way to access arbitrary depth keys in Lua tables.

  • for a single access it is convenient if you do not want to check the existence of intermediate tables or if the key is user provided
  • performant if repeatedly looking up the same key in different tables

Both the source code as well as the documentation are on github

History

Release instructions

  • update history and version information
  • create new rockspec
  • render the documentation
  • commit and tag
  • upload rock to LuaRocks

Version 1.0.0, 14-Jul-2020

  • Initial release

Copyright & license

See license.

About

An easy way to access arbitrary depth keys in Lua tables

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages