UNPKG

linux-release-info

Version:

Get Linux release info (distribution name, version, arch, release, etc.) from 'os-release' file and from native os module. On Windows and Darwin it only returns common node os module info (platform, hostname, release and arch)

45 lines (44 loc) 1.2 kB
{ "name": "linux-release-info", "productName": "Linux Release Info", "version": "3.0.0", "description": "Get Linux release info (distribution name, version, arch, release, etc.) from 'os-release' file and from native os module. On Windows and Darwin it only returns common node os module info (platform, hostname, release and arch)", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "test": "node test.js", "build": "tsc", "watch": "tsc -w", "publish": "npm publish", "lint": "xo" }, "repository": { "type": "git", "url": "git+https://github.com/samuelcarreira/linux-release-info.git" }, "keywords": [ "linux", "release", "info", "os", "distribution", "arch", "debian" ], "author": "Samuel Carreira <samuelcarreira@outlook.com> (http://www.samuelcarreira.com)", "license": "MIT", "bugs": { "url": "https://github.com/samuelcarreira/linux-release-info/issues" }, "homepage": "https://github.com/samuelcarreira/linux-release-info#readme", "engines": { "node": ">=8.0" }, "devDependencies": { "typescript": "^3.9.7", "xo": "^0.32.1" }, "files": [ "dist/**/*" ] }