UNPKG

node-sys

Version:

Universal package installer, get the command for managing packages, or auto install any package, using one command for all platforms. Automate the installation of macOS Brew, and Windows Chocolatey package managers. A promisify child process of spawn, and

88 lines (87 loc) 2.21 kB
{ "name": "node-sys", "version": "1.2.4", "description": "Universal package installer, get the command for managing packages, or auto install any package, using one command for all platforms. Automate the installation of macOS Brew, and Windows Chocolatey package managers. A promisify child process of spawn, and run as administrator. A series of strick type checkers.", "type": "module", "main": "./dist/index.js", "bin": { "node-sys": "bin/installer.js" }, "scripts": { "test": "npm run build && mocha -R list test/*.js --timeout=0", "coverage": "npx c8 --reporter json --reporter text npm test && npx codecov -f coverage/coverage-final.json", "get-installer": "node ./bin/installer.js --get", "build": "tsc -p ./", "prepare": "npm run build" }, "files": [ "dist", "src", "index.js", "LICENSE", "README.md", "bin" ], "repository": { "type": "git", "url": "git+https://github.com/techno-express/node-sys.git" }, "keywords": [ "apt-get", "choco", "chocolatey", "brew", "pacman", "nix", "yum", "dnf", "pkg", "pkg_add", "emerge", "zypper", "nix", "cross-platform", "package", "manager", "installer", "macOS", "windows", "linux", "spawn", "spawning", "child_process", "promisify", "administrator", "sudo", "require" ], "author": "l. stubbs <technoexpressnet@gmail.com>", "contributors": [ "Arve Seljebu", "Amin Yahyaabadi <aminyahyaabadi74@gmail.com>" ], "license": "MIT", "bugs": { "url": "https://github.com/techno-express/node-sys/issues" }, "homepage": "https://github.com/techno-express/node-sys#readme", "engines": { "node": ">=12.22" }, "dependencies": { "minimist": "1.2.6", "which": "^2.0.2" }, "optionalDependencies": { "@types/node": "^18.7.13" }, "devDependencies": { "@types/chai": "^4.3.3", "@types/minimist": "1.2.2", "@types/mocha": "^9.1.1", "@types/which": "^2.0.1", "chai": "^4.3.6", "mocha": "^10.0.0", "typescript": "^4.8.3" } }