Modules

Lua Manual Version: 5.1
Modules

The package library provides basic facilities for loading and building modules in Lua. It exports two of its functions directly in the global environment: require and module. Everything else is exported in a table package.

These 4 functions may also be helpful

These 1 topics may also be helpful