0.7.0 • Published 1 year ago

native-is-elevated v0.7.0

Weekly downloads
3,534
License
MIT
Repository
github
Last release
1 year ago

native-is-elevated

NPM

Checks if the process is running with elevated privileges (i.e., as root on Unix systems or Administrator on Windows).

Basically just a native version of is-elevated that doesn't spawn a new process on Windows.

Install

$ npm install --save native-is-elevated

Usage

const isElevated = require('native-is-elevated')();  // boolean value
0.7.0

1 year ago

0.6.0

1 year ago

0.5.1

2 years ago

0.5.0

2 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.0

5 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago