lsb-release

0.1.0 • Public • Published

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' }

Readme

Keywords

none

Package Sidebar

Install

npm i lsb-release

Weekly Downloads

30

Version

0.1.0

License

none

Last publish

Collaborators

  • mmalecki