1

I have server oriented application which using puppeteer and express. Also I use private fields with new "hash" syntax in classes. Is it possible to compile such application to binary executable?

Piotr Zych
  • 483
  • 4
  • 19
  • 1
    Does this answer your question? [How to make exe files from a node.js app?](https://stackoverflow.com/questions/8173232/how-to-make-exe-files-from-a-node-js-app) – Dickens A S Apr 18 '20 at 15:37
  • @DickensAS Is there any solution that works like pkg? I don't want to check each solution so that I ask here. I was trying to ask question in another way but question was banned by admins because of rule to not recommend tools and libraries. – Piotr Zych Apr 18 '20 at 15:47
  • is it a desktop application GUI or a server background application ? – Dickens A S Apr 18 '20 at 15:48
  • @DickensAS It is desktop server-like application that uses web-browser as view. – Piotr Zych Apr 18 '20 at 15:52
  • still not getting your type of application, but I can give one solution which is `Electron` -- https://www.electronjs.org/ – Dickens A S Apr 18 '20 at 16:05
  • @DickensAS Application has 2 layers: 1. Crawler that works in background and aggregates data, saves to sqlite. 2. Express as application server. Using ejs templates provides GUI for user. – Piotr Zych Apr 18 '20 at 16:11

1 Answers1

1

There are tools like pkg that can compile your node.js application to a standalone executable.

Aplet123
  • 33,825
  • 1
  • 29
  • 55