Yes, you can. require "module" is just syntactic sugar for require("module") , which only works when calling a function with a single argument, which is a string or table constructor. Use the correct call in the form of require(path) and it will work.
source share