how to deploy node-red as a window service

JavaScript
Installing Node-RED as a Windows Service
Source

Also in JavaScript: