os-monitor
Version:
simple OS monitoring for Node.js
64 lines (63 loc) • 1.54 kB
JSON
{
"name": "os-monitor",
"description": "simple OS monitoring for Node.js",
"version": "2.1.2",
"homepage": "https://lfortin.github.io/os-monitor",
"repository": {
"type": "git",
"url": "git://github.com/lfortin/node-os-monitor.git"
},
"author": {
"name": "Laurent Fortin",
"email": "laurent.fortin@gmail.com",
"url": "http://lfortin.github.io"
},
"main": "./os-monitor.js",
"type": "commonjs",
"types": "./index.d.ts",
"engines": {
"node": ">=18.15.0"
},
"dependencies": {
"lodash.throttle": "~4.1.1"
},
"bundleDependencies": [
"lodash.throttle"
],
"devDependencies": {
"@types/lodash.throttle": "^4.1.7",
"@types/node": "^22.7.4",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"eslint": "^8.26.0",
"eslint-config-prettier": "^10.1.5",
"mocha": "^11.0.1",
"mock-os": "^1.0.0",
"nyc": "^17.0.0",
"semver": "^7.3.8",
"sinon": "^21.0.0",
"typescript": "^5.0.0",
"underscore": "^1.13.6"
},
"scripts": {
"build": "tsc -d -t es2024 --module commonjs --strict os-monitor.ts",
"coverage": "nyc --reporter=lcov --reporter=text-summary mocha test/**/*.js",
"lint": "eslint ./os-monitor.ts",
"prepublishOnly": "npm run build && npm test",
"test": "mocha test/**/*.js"
},
"keywords": [
"monitor",
"monitoring",
"os",
"system",
"loadavg",
"freemem",
"memory",
"uptime",
"disk",
"df",
"diskfree"
],
"license": "MIT"
}