6.3 – Modules
The package library provides basic facilities for loading modules in Lua. It exports one function directly in the global environment: require
. Everything else is exported in a table package
.
6.3 – Modules
The package library provides basic facilities for loading modules in Lua. It exports one function directly in the global environment: require
. Everything else is exported in a table package
.