Lua standard libraries
The Lua interpreter (happyview-lua) keeps these Lua 5.4 standard libraries and builtins. JavaScript and TypeScript scripts get their engine’s own built-ins; see Languages.
string
Section titled “string”os (safe subset)
Section titled “os (safe subset)”Only the following safe functions are available from the os module:
Every other os function is absent, including os.execute, os.remove, os.rename, os.exit, os.getenv and os.clock.
coroutine
Section titled “coroutine”The whole coroutine library.
The whole utf8 library.
Builtins
Section titled “Builtins”printtostringtonumbertypepairsipairsnextselecterrorpcallxpcallassertsetmetatablegetmetatablerawgetrawsetrawequal
Removed modules
Section titled “Removed modules”The following standard Lua modules are removed and unavailable in the sandbox:
io, debug, package, dofile, loadfile, load, collectgarbage
Lua’s own require is removed too, but HappyView installs its own in its place: it loads installed library plugins and the internal.* built-ins — see Built-in Modules.

