bizzby-lsb-release
v0.2.0
Published
Parser for `lsb_release` command output
Downloads
31
Readme
lsb-release
lsb-release
is a parser for lsb_release
command output.
This version has been syncified
Installation
npm install bizzby-lsb-release
Usage
var lsbRelease = require('bizzby-lsb-release');
data = lsbRelease()
console.dir(data)
Will output something similar to:
{ lsbVersion: ':core-4.0-amd64:core-4.0-noarch',
distributorID: 'Fedora',
description: 'Fedora release 14 (Laughlin)',
release: '14',
codename: 'Laughlin' }
or
'null'