sw-vers

Parser for `sw_vers` command output

npm install sw-vers
1 downloads in the last day
2 downloads in the last week
80 downloads in the last month

sw-vers Build Status

sw-vers is a parser for sw_vers command output.

Installation

npm install sw_vers

Usage

var swVers = require('sw-vers');

swVers(function (_, data) {
  console.dir(data);
});

Will output something similar to:

{ productName: 'Mac OS X',
  productVersion: '10.7.4',
  buildVersion: '11E53' }
npm loves you