easy-lua
v0.0.2
Published
Run lua in Node.js simply
Downloads
3
Readme
Easy Lua
Use Lua in Node.js simply.
const simpleLua = require("easy-lua");
simpleLua.doFile("./test.lua");
doFile(path: string)
run a lua file
doFileFunction(path: string, funName: string, returnType: string, ...arg)
run a funtion with args in a lua file
For dev
npm i -g node-gyp
node-gyp configure
node-gyp build
See examples