$ 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
Dependencies
busted >= 2.2.0-1
lua >= 5.1