0.0.2 • Published 3 years ago

easy-lua v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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

0.0.2

3 years ago

0.0.1

3 years ago