The Core module loads some helper functions and globals useful in all stages of a mods life cycle.
All modules have an __index method into core.
local Core = require('__stdlib__/stdlib/core')
create_stdlib_globals([files]) | load the stdlib into globals, by default it loads everything into an ALLCAPS name. |
load the stdlib into globals, by default it loads everything into an ALLCAPS name.
Alternatively you can pass a dictionary of [global names] -> [require path]
.
require('__stdlib__/stdlib/core).create_stdlib_globals()