Windows Service on Node

1

I wanted to do a windows service using Node, since it is a very interesting technology that I am learning. So in my search I found several references to node-windows .

I found it interesting, it worked very well. However, what worries me is that I did not see how to do the distribution of the file closed. My script would be open, being able to read my code and I dislike it.

Is there a way I can mount a windows service using node and package it into an executable?

    
asked by anonymous 18.03.2017 / 00:01

1 answer

0

You can use NW.js to compile a multi-platform executable (Windows, Linux, and Mac) based on nodejs and its source do a call to the os-service package (which is also cross-platform) and configure it as you need it.

Documentation to compile with NW.js

Example of using os-service

    
18.03.2017 / 08:40