Comparing version 0.1.0 to 1.0.0
{ | ||
"name": "is-root", | ||
"version": "0.1.0", | ||
"description": "Check if the process is running as root user. Eg. started with `sudo`.", | ||
"version": "1.0.0", | ||
"description": "Check if the process is running as root user, eg. started with `sudo`.", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "repository": "sindresorhus/is-root", |
@@ -1,4 +0,4 @@ | ||
# is-root [![Build Status](https://travis-ci.org/sindresorhus/is-root.png?branch=master)](http://travis-ci.org/sindresorhus/is-root) | ||
# is-root [![Build Status](https://travis-ci.org/sindresorhus/is-root.svg?branch=master)](https://travis-ci.org/sindresorhus/is-root) | ||
> Check if the process is running as root user. Eg. started with `sudo`. | ||
> Check if the process is running as root user, eg. started with `sudo`. | ||
@@ -8,12 +8,10 @@ | ||
Install with [npm](https://npmjs.org/package/is-root) | ||
```sh | ||
$ npm install --save is-root | ||
``` | ||
npm install --save is-root | ||
``` | ||
## Example | ||
## Usage | ||
``` | ||
```sh | ||
$ sudo node index.js | ||
@@ -20,0 +18,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
1137
31