lsb-release

Parser for `lsb_release` command output

npm install lsb-release
3 downloads in the last week
87 downloads in the last month

lsb-release Build Status

lsb-release is a parser for lsb_release command output.

Installation

npm install lsb-release

Usage

var lsbRelease = require('lsb-release');

lsbRelease(function (_, data) {
  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' }
npm loves you