lua-import

An import function to require modules with relative pattern

$ luarocks install lua-import

The lua-import module provides a function. The function takes single string argument same as require, but the argument can be a relative path to the required module. The return value is the module referred by the path argument.

Versions

0.1.0-148 days ago19 downloads

Dependencies

busted >= 2.2.0-1
lua >= 5.1

Labels

Manifests