pidusage
Version:
Cross-platform process cpu % and memory usage of a PID
64 lines (63 loc) • 1.28 kB
JSON
{
"name": "pidusage",
"version": "4.0.0",
"description": "Cross-platform process cpu % and memory usage of a PID",
"license": "MIT",
"homepage": "https://github.com/soyuka/pidusage",
"repository": "github:soyuka/pidusage",
"bugs": {
"url": "https://github.com/soyuka/pidusage/issues"
},
"author": "soyuka",
"contributors": [
"Simone Primarosa <simonepri@outlook.com> (https://simoneprimarosa.com)"
],
"main": "index.js",
"files": [
"lib",
"index.js"
],
"engines": {
"node": ">=18"
},
"scripts": {
"lint": "standard",
"test": "nyc ava -m \"!*benchmark*\"",
"coverage": "c8 ava",
"bench": "ava -m \"*benchmark*\""
},
"dependencies": {
"safe-buffer": "^5.2.1"
},
"devDependencies": {
"balanced-match": "^3.0.1",
"c8": "^10.1.3",
"ava": "^6.2.0",
"mockdate": "^2.0.5",
"mockery": "^2.1.0",
"nyc": "^15.1.0",
"pify": "^3.0.0",
"standard": "^16.0.4",
"string-to-stream": "^1.1.1",
"through": "^2.3.8",
"time-span": "^2.0.0"
},
"keywords": [
"pid",
"usage",
"ps",
"cpu",
"memory",
"proc"
],
"ava": {
"verbose": true,
"failWithoutAssertions": false
},
"nyc": {
"reporter": [
"lcovonly",
"text"
]
}
}