Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何从 NodeJS 应用程序编写 LUA 文件?是否有像 Handlebars、JADE/PUG 这样的模板引擎,我可以使用它来制作我的 LUA 文件结构的模板。然后在用FS模块写入LUA文件之前添加变量。
有没有这样的方法,还是我必须通过硬编码为字符串来做到这一点?我希望像把手一样注入值的模板能够添加尽可能多的模板。
谢谢