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 (modname) and module (name [, ...]). Everything else is exported in a table package


Subsections

  1. module (name [, ...])
  2. require (modname)
  3. package.cpath
  4. package.loaded
  5. package.loadlib (libname, funcname)
  6. package.path
  7. package.preload
  8. package.seeall (module)