πŸ”— redis-load-scripts - script loader that allows require() from lua scripts in redis

... to be finally able to use require inside Redis LUA scripts

-- sayHi.lua
-- this file returns a function which says hello
return function(who)
  print('Hello ' .. who)
end


-- main.lua
-- this file uses sayHi.lua to print Hello world:
local sayHi = require('sayHi')
sayHi('world')

🌎 https://github.com/anvaka/redis-load-scripts