{
	"name": "is-root",
	"versions": {
		"0.1.0": {
			"name": "is-root",
			"version": "0.1.0",
			"description": "Check if the process is running as root user. Eg. started with `sudo`.",
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "git://github.com/sindresorhus/is-root"
			},
			"author": {
				"name": "Sindre Sorhus",
				"email": "sindresorhus@gmail.com",
				"url": "http://sindresorhus.com"
			},
			"engines": {
				"node": ">=0.10.0"
			},
			"scripts": {
				"test": "mocha"
			},
			"files": [
				"index.js"
			],
			"keywords": [
				"sudo",
				"root",
				"user",
				"permissions",
				"uid",
				"process",
				"posix"
			],
			"devDependencies": {
				"mocha": "*"
			},
			"bugs": {
				"url": "https://github.com/sindresorhus/is-root/issues"
			},
			"homepage": "https://github.com/sindresorhus/is-root",
			"_id": "is-root@0.1.0",
			"dist": {
				"shasum": "825e394ab593df2d73c5d0092fce507270b53dcb",
				"tarball": "https://registry.npmjs.org/is-root/-/is-root-0.1.0.tgz"
			},
			"_from": ".",
			"_npmVersion": "1.3.25",
			"_npmUser": {
				"name": "sindresorhus",
				"email": "sindresorhus@gmail.com"
			},
			"maintainers": [
				{
					"name": "sindresorhus",
					"email": "sindresorhus@gmail.com"
				}
			],
			"directories": {},
			"contributors": []
		},
		"1.0.0": {
			"name": "is-root",
			"version": "1.0.0",
			"description": "Check if the process is running as root user, eg. started with `sudo`.",
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "git://github.com/sindresorhus/is-root"
			},
			"author": {
				"name": "Sindre Sorhus",
				"email": "sindresorhus@gmail.com",
				"url": "http://sindresorhus.com"
			},
			"engines": {
				"node": ">=0.10.0"
			},
			"scripts": {
				"test": "mocha"
			},
			"files": [
				"index.js"
			],
			"keywords": [
				"sudo",
				"root",
				"user",
				"permissions",
				"uid",
				"process",
				"posix"
			],
			"devDependencies": {
				"mocha": "*"
			},
			"gitHead": "6afc5207f2eb1cedb3c0e2f62e4adcfdba6f1455",
			"bugs": {
				"url": "https://github.com/sindresorhus/is-root/issues"
			},
			"homepage": "https://github.com/sindresorhus/is-root",
			"_id": "is-root@1.0.0",
			"_shasum": "07b6c233bc394cd9d02ba15c966bd6660d6342d5",
			"_from": ".",
			"_npmVersion": "1.4.14",
			"_npmUser": {
				"name": "sindresorhus",
				"email": "sindresorhus@gmail.com"
			},
			"maintainers": [
				{
					"name": "sindresorhus",
					"email": "sindresorhus@gmail.com"
				}
			],
			"dist": {
				"shasum": "07b6c233bc394cd9d02ba15c966bd6660d6342d5",
				"tarball": "https://registry.npmjs.org/is-root/-/is-root-1.0.0.tgz"
			},
			"directories": {},
			"contributors": []
		},
		"2.0.0": {
			"name": "is-root",
			"version": "2.0.0",
			"description": "Check if the process is running as root user, for example, one started with `sudo`",
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/sindresorhus/is-root.git"
			},
			"author": {
				"name": "Sindre Sorhus",
				"email": "sindresorhus@gmail.com",
				"url": "sindresorhus.com"
			},
			"engines": {
				"node": ">=6"
			},
			"scripts": {
				"test": "xo && ava"
			},
			"files": [
				"index.js"
			],
			"keywords": [
				"sudo",
				"root",
				"user",
				"permissions",
				"uid",
				"process",
				"posix"
			],
			"devDependencies": {
				"ava": "*",
				"xo": "*"
			},
			"gitHead": "4e911196ea711de0741cc272953646e2a6ba28d9",
			"bugs": {
				"url": "https://github.com/sindresorhus/is-root/issues"
			},
			"homepage": "https://github.com/sindresorhus/is-root#readme",
			"_id": "is-root@2.0.0",
			"_npmVersion": "5.6.0",
			"_nodeVersion": "8.9.4",
			"_npmUser": {
				"name": "sindresorhus",
				"email": "sindresorhus@gmail.com"
			},
			"dist": {
				"integrity": "sha512-F/pJIk8QD6OX5DNhRB7hWamLsUilmkDGho48KbgZ6xg/lmAZXHxzXQ91jzB3yRSw5kdQGGGc4yz8HYhTYIMWPg==",
				"shasum": "838d1e82318144e5a6f77819d90207645acc7019",
				"tarball": "https://registry.npmjs.org/is-root/-/is-root-2.0.0.tgz",
				"fileCount": 4,
				"unpackedSize": 2354
			},
			"maintainers": [
				{
					"name": "sindresorhus",
					"email": "sindresorhus@gmail.com"
				}
			],
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/is-root_2.0.0_1521732401352_0.8874067575189113"
			},
			"_hasShrinkwrap": false,
			"contributors": []
		},
		"2.1.0": {
			"name": "is-root",
			"version": "2.1.0",
			"description": "Check if the process is running as root user, for example, one started with `sudo`",
			"license": "MIT",
			"repository": {
				"type": "git",
				"url": "git+https://github.com/sindresorhus/is-root.git"
			},
			"author": {
				"name": "Sindre Sorhus",
				"email": "sindresorhus@gmail.com",
				"url": "sindresorhus.com"
			},
			"engines": {
				"node": ">=6"
			},
			"scripts": {
				"test": "xo && ava && tsd"
			},
			"keywords": [
				"sudo",
				"root",
				"user",
				"permissions",
				"uid",
				"process",
				"posix"
			],
			"devDependencies": {
				"ava": "^1.4.1",
				"tsd": "^0.7.2",
				"xo": "^0.24.0"
			},
			"gitHead": "5ca094899eedf987adb20138616a4855223cace8",
			"bugs": {
				"url": "https://github.com/sindresorhus/is-root/issues"
			},
			"homepage": "https://github.com/sindresorhus/is-root#readme",
			"_id": "is-root@2.1.0",
			"_nodeVersion": "8.16.0",
			"_npmVersion": "6.9.0",
			"_npmUser": {
				"name": "sindresorhus",
				"email": "sindresorhus@gmail.com"
			},
			"dist": {
				"integrity": "sha512-AGOriNp96vNBd3HtU+RzFEc75FfR5ymiYv8E553I71SCeXBiMsVDUtdio1OEFvrPyLIQ9tVR5RxXIFe5PUFjMg==",
				"shasum": "809e18129cf1129644302a4f8544035d51984a9c",
				"tarball": "https://registry.npmjs.org/is-root/-/is-root-2.1.0.tgz",
				"fileCount": 5,
				"unpackedSize": 2676,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcudJaCRA9TVsSAnZWagAArHwP/1+McjANGJ4yQ8w9OEaB\nzSkOUwmwuwylnX5m/GbB4LocrAYbdztLrQQD8JMzQKJVJxkU+NNSXaYFCIyA\nat02oPZkY6+KkVcfVpmduRblhL+AfApRLgwnknQbvbA6ccP4awlEmBMXGjJp\nrzM2au41jaLlDDe9l0ghW02fFMleadNrAZEXriHd4ywE4+T0JjYWy+tUc1OX\nTenLQjyPx9TkzGS36J0TRkSOPqgGCEh5LJ09rDBW6g6GjFiJuI8QQNDUg3RU\nueBh1uuIWuTMShTSBnoG9OoolGKacjPLteB1twV3yr1EfuA6eFmvQgYf09Al\n9vvCuFinhIaOpIVH33GVMCzhf/EP8QgYhl4Omh5i5ZLQv89PzO9n987OV4Od\ncM1Pr4E8GWVWIzvshvTZjfKf2yLXyPqLVlSNg9djnLo19oGXlajv1giiY7Lb\nFF6yILMGvmrI2agKJ9kEukc6OAFGokmlYqGPbddAwYM9+UXIuCe0MPYpnAiT\nACFMh14fdYH69XM3CeRTXplceUAkrMMHVwUnd8V2gdoiyJqkybRZ86UCOucP\nNKSOFLfpCFqH7Asz0CkI7J9ueka33VR9RJta0vHQLN3JuaboUcchWH1HoFvg\nuI1zRK7pDwvEV3bzYZRpdYJanzeBPqH9f7NIc7dkRbfSjeja3Kgh5JhITDKN\nn5Xf\r\n=R7hU\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "sindresorhus",
					"email": "sindresorhus@gmail.com"
				}
			],
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/is-root_2.1.0_1555681882039_0.017454071058927045"
			},
			"_hasShrinkwrap": false,
			"contributors": []
		}
	},
	"time": {
		"modified": "2019-04-19T13:51:24.640Z",
		"created": "2014-02-06T18:11:14.970Z",
		"0.1.0": "2014-02-06T18:11:14.970Z",
		"1.0.0": "2014-08-13T17:10:37.291Z",
		"2.0.0": "2018-03-22T15:26:41.421Z",
		"2.1.0": "2019-04-19T13:51:22.256Z"
	},
	"users": {},
	"dist-tags": {
		"latest": "2.1.0"
	},
	"_uplinks": {
		"npmjs": {
			"etag": "W/\"637af4cf9fbbc56d17b28ae1e4bceca8\"",
			"fetched": 1600679286201
		}
	},
	"_distfiles": {
		"is-root-0.1.0.tgz": {
			"url": "https://registry.npmjs.org/is-root/-/is-root-0.1.0.tgz",
			"sha": "825e394ab593df2d73c5d0092fce507270b53dcb",
			"registry": "npmjs"
		},
		"is-root-1.0.0.tgz": {
			"url": "https://registry.npmjs.org/is-root/-/is-root-1.0.0.tgz",
			"sha": "07b6c233bc394cd9d02ba15c966bd6660d6342d5",
			"registry": "npmjs"
		},
		"is-root-2.0.0.tgz": {
			"url": "https://registry.npmjs.org/is-root/-/is-root-2.0.0.tgz",
			"sha": "838d1e82318144e5a6f77819d90207645acc7019",
			"registry": "npmjs"
		},
		"is-root-2.1.0.tgz": {
			"url": "https://registry.npmjs.org/is-root/-/is-root-2.1.0.tgz",
			"sha": "809e18129cf1129644302a4f8544035d51984a9c",
			"registry": "npmjs"
		}
	},
	"_attachments": {
		"is-root-2.1.0.tgz": {
			"shasum": "809e18129cf1129644302a4f8544035d51984a9c"
		}
	},
	"_rev": "2-9c289b77dc72a72c",
	"_id": "is-root",
	"readme": "# is-root [![Build Status](https://travis-ci.org/sindresorhus/is-root.svg?branch=master)](https://travis-ci.org/sindresorhus/is-root)\n\n> Check if the process is running as root user, for example, one started with `sudo`\n\n\n## Install\n\n```\n$ npm install is-root\n```\n\n\n## Usage\n\n```\n$ sudo node index.js\n```\n\n```js\n// index.js\nconst isRoot = require('is-root');\n\nisRoot();\n//=> true\n```\n\n\n## Related\n\n- [is-elevated](https://github.com/sindresorhus/is-elevated) - Check if the process is running with elevated privileges *(cross-platform)*\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)"
}