windosu

Windows sudo equivalent

windosu - sudo for Windows that just works.

Install it:

npm install -g windosu

Use it:

sudo make me-a-sandwich
require('windosu').exec(
    "some-command some args"
)

windosu is written in Latte, a delicious superset of JavaScript. Check it out here: https://github.com/tehsenaus/latte-js