node-drivelist
Version:
A TypeScript library to list connected drives, their usage (total, used, available space), and mount points. Supports Windows, Linux, and macOS (via POSIX compatibility). No node-gyp required.
54 lines (53 loc) • 1.45 kB
JSON
{
"name": "node-drivelist",
"version": "1.1.0",
"description": "A TypeScript library to list connected drives, their usage (total, used, available space), and mount points. Supports Windows, Linux, and macOS (via POSIX compatibility). No node-gyp required.",
"author": "Drainerlight <wraither2612@gmail.com>",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"devDependencies": {
"@types/node": "^18.13.0",
"@types/tape": "^4.13.2",
"@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/parser": "^5.51.0",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.4",
"tape": "^5.6.3",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"files": [
"dist/**/*"
],
"keywords": [
"node-drivelist",
"diskusage",
"drivelist",
"node",
"WMIC",
"df",
"disk",
"usage",
"mountpoint",
"typescript",
"macos",
"posix",
"disk space",
"drive list",
"filesystem"
],
"scripts": {
"build": "tsc",
"prepublishOnly": "npm run build",
"prettier-all": "prettier --write 'src/**/*' 'tests/**/*'",
"test": "tape -r ts-node/register/transpile-only tests/*.ts"
},
"repository": {
"type": "git",
"url": "https://github.com/drainerlight/node-drivelist"
},
"homepage": "https://github.com/drainerlight/node-drivelist"
}