Module unicorn¶
Using¶
libunicornpkg should be loaded using require.
If you are not familiar with require, see a guide on tweaked.cc for more information.
libunicornpkg should have been installed to the /lib directory,
so a standard require doesn’t usually work here.
You’ll need to modify package.path so that require knows where to look for libunicornpkg:
>>> package.path = "/lib/?.lua;/lib/?;/lib/?/init.lua;" .. package.path
Index¶
Api reference¶
-
unicorn.constants:
table¶