This library is intended for use in the Luvit environment. However it may eventually be adapted for use elsewhere.
lit install truemedian/extensions
https://pages.truemedian.me/lua-extensions/
Each extension may be loaded separately, or all at the same time. Alternatively, the extensions may be accessed individually without injecting them into your global environment.
This loads all extensions into the global environment.
local extensions = require 'extensions' ()
This accesses the split
extension without ever modifying your global environment.
local extensions = require 'extensions'
local out = extensions.string.split("hello world", " ")