问题
I have created Node js project, but my client requirement is to get its exe file so that he can run it without installing node. Kindly help me to create node.js project into its executable file i.e exe file.
回答1:
I think that you have already solved your problem, but the question is not marked as resolved.
You can use a packer, I prefer to use BoxedApp Packer. This program can "convert" your Node js application into an executable file. You just have to start the packer, select the file with your application, select the name of the output file and build. An executable file is ready. Enjoy! It works with *.html and *js
Example: https://www.boxedapp.com/boxedapppacker/usecases/pack_node_webkit_app_into_single_exe.html
来源:https://stackoverflow.com/questions/49767080/convert-node-js-project-to-executable-file