Generally you do not need to use this module - it is injected into the every program's environment. However, it may be useful when building a custom shell or when running programs yourself.
Construct the package and require function, and insert them into a custom environment.
- New in version 1.88.0
|make(env, dir)||Build an implementation of Lua's |
- make(env, dir)Source
tableThe environment to load packages into.
stringThe directory that relative packages are loaded from.