UNPKG

@nexssp/os

Version:

Get linux distro name, distro version, package managers, check isRoot, convert paths.. + now install things easy for all OSes!

84 lines (83 loc) 1.86 kB
{ "name": "@nexssp/os", "version": "2.1.1", "main": "lib/index.js", "module": "lib/index.mjs", "types": "lib/index.d.ts", "bin": { "nexssp-os": "bin/nexssp-os.js" }, "files": [ "legacy.js", "legacy.d.ts", "lib/**/*", "bin/*" ], "exports": { ".": { "node": { "import": "./lib/index.mjs", "require": "./lib/index.js" }, "types": "./lib/index.d.ts" }, "./legacy": { "node": { "import": "./legacy.mjs", "require": "./legacy.js" }, "types": "./legacy.d.ts" } }, "description": "Get linux distro name, distro version, package managers, check isRoot, convert paths.. + now install things easy for all OSes!", "keywords": [ "os", "distro", "distribution", "version", "linux", "macos", "windows", "typescript", "nexss" ], "author": "Marcin Polak <mapoart@gmail.com>", "homepage": "https://nexss.com", "repository": { "type": "git", "url": "git+ssh://git@github.com/nexssp/os.git" }, "bugs": { "url": "https://github.com/nexssp/os/issues", "email": "mapoart@gmail.com" }, "scripts": { "dev": "nexssp-os install", "test": "nexssp-test --debug", "build:types": "tsc --emitDeclarationOnly --outDir .", "prepare2": "npm run build" }, "license": "MIT", "funding": [ { "type": "paypal", "url": "https://www.paypal.com/paypalme/mapoart" }, { "type": "github", "url": "https://github.com/nexssp/cli?sponsor=1" } ], "dependencies": { "@nexssp/ansi": "^1.2.2", "@nexssp/extend": "^2.0.9", "@nexssp/logdebug": "^1.1.0", "@nexssp/plugin": "^1.1.2", "@nexssp/system": "^1.1.10", "@types/node": "^22.15.2", "typescript": "^5.8.3" }, "devDependencies": { "@nexssp/test": "^1.1.16" } }