简体   繁体   English

如何将 node.js 服务器应用程序编译为可执行文件?

[英]How to compile node.js server application to executable?

I have server oriented application which using puppeteer and express.我有使用 puppeteer 和 express 的面向服务器的应用程序。 Also I use private fields with new "hash" syntax in classes.我还在类中使用具有新“哈希”语法的私有字段。 Is it possible to compile such application to binary executable?是否可以将此类应用程序编译为二进制可执行文件?

There are tools like pkg that can compile your node.js application to a standalone executable.有像pkg这样的工具可以将您的 node.js 应用程序编译为独立的可执行文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM