Search code examples
node.jsexenssm

How to make a executable from a NodeJS+Express app?


I have a NodeJS + Express app which I'm using as a Print Server.

I should create an executable from this web application.

So far, I added node-windows and node-mac to make my app run as a service or daemon.

Now what I need is, creating Windows Executable or DMG so my users can execute and start to use my app.

There are some projects like nexe (No support for Exe files) and EncloseJS but I couldn't generate a working EXE file.

What should I use for that?


Solution

  • The guide Standalone Express API Binaries with pkg explains how to make standalone express executables.