Lua4FE Install npm install lua4fe Import const { LuaReader, LuaData } = require("lua4fe"); Usage for boring loading ⚠️Only works in mordern browser const { LuaReader } = require("lua4fe"); const luap = new LuaReader(); luap.then((it) => { it.watch("test", function (data) { let result = data.toJSON(); console.log(result); }); }).catch((err) => { console.error(err) console.log("not support 浏览器不支持"); }); parse data const { LuaData } = require('lua4fe'); var data = 'some lua table' const _data = new LuaData(data) _data.toJSON() toJSON() lua table to json toLua() javascript object to lua table toAST() AST json toCSV() lua table to csv