@neotales/is-elevated 0.0.0-alpha.1 → 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -7
- package/esm/ffi_node.js +2 -2
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ On Unix-like systems this typically means root. On Windows it checks whether the
|
|
|
9
9
|
|
|
10
10
|
[](https://jsr.io/@neotales/is-elevated)
|
|
11
11
|
[](https://badge.fury.io/js/@neotales%2Fis-elevated)
|
|
12
|
-
[](https://badge.fury.io/gh/neotales%2Fjs)
|
|
12
|
+
[](https://badge.fury.io/gh/neotales%2Fjs-os)
|
|
13
13
|
|
|
14
14
|
## Documentation
|
|
15
15
|
|
|
@@ -19,14 +19,9 @@ A list of other modules can be found at [github.com/neotales/js-os](https://gith
|
|
|
19
19
|
|
|
20
20
|
## Installation
|
|
21
21
|
|
|
22
|
-
```
|
|
23
|
-
# Deno
|
|
22
|
+
```sh
|
|
24
23
|
deno add jsr:@neotales/is-elevated
|
|
25
|
-
|
|
26
|
-
# npm from jsr
|
|
27
24
|
npx jsr add @neotales/is-elevated
|
|
28
|
-
|
|
29
|
-
# from npmjs.org
|
|
30
25
|
npm install @neotales/is-elevated
|
|
31
26
|
```
|
|
32
27
|
|
package/esm/ffi_node.js
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neotales/is-elevated",
|
|
3
|
-
"version": "0.0.0
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"description": "isElevated function determines if the current process is running elevated (admin/root) across windows, linux, and darwin platforms.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"admin",
|
|
7
7
|
"elevated",
|
|
8
8
|
"root",
|
|
9
9
|
"std",
|
|
10
10
|
"sudo",
|
|
11
|
-
"windows"
|
|
11
|
+
"windows",
|
|
12
|
+
"linux",
|
|
13
|
+
"darwin",
|
|
14
|
+
"is-elevated"
|
|
12
15
|
],
|
|
13
16
|
"homepage": "https://github.com/neotales/js-os",
|
|
14
17
|
"bugs": {
|