Hello, is there any way to install and import lua modules?
I want to import hmac module inside lua script so I can create a new signature for every request, but i got this error instead
./script.lua: ./extension.lua:1: module 'hmac' not found:
no field package.preload['hmac']
no file './hmac.lua'
no file '/usr/local/share/luajit-2.0.3/hmac.lua'
no file '/usr/local/share/lua/5.1/hmac.lua'
no file '/usr/local/share/lua/5.1/hmac/init.lua'
no file './hmac.so'
no file '/usr/local/lib/lua/5.1/hmac.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
Hello, is there any way to install and import lua modules?
I want to import
hmac
module inside lua script so I can create a new signature for every request, but i got this error instead