qckwinsvc

1.0.0 • Public • Published

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.

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i qckwinsvc

    Weekly Downloads

    80

    Version

    1.0.0

    License

    none

    Last publish

    Collaborators

    • talles