qckwinsvc

easiest way to install a node.js script as a windows service

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
qckwinsvc
13941.0.09 years ago10 years agoMinified + gzip package size for qckwinsvc in KB

Readme

logo Quick Windows Service
dependencies devDependencies npm module
npm
CLI utility that installs/uninstalls a windows service.
This is a wrapper around node-windows.

Installing your service

Interactively

> qckwinsvc
prompt: Service name: Hello
prompt: Service description: Greets the world
prompt: Node script path: C:\my\folder\hello.js
prompt: Should the service get started immediately? (y/n): y
Service installed.
Service started.

Non-interactively

> qckwinsvc --name "Hello" --description "Greets the world" --script "C:\my\folder\hello.js" --startImmediately
Service installed.
Service started.

Uninstalling your service

Interactively

> qckwinsvc --uninstall
prompt: Service name: Hello
prompt: Node script path: C:\my\folder\hello.js
Service stopped.
Service uninstalled.

Non-interactively

> qckwinsvc --uninstall --name "Hello" --script "C:\my\folder\hello.js"
Service stopped.
Service uninstalled.