0.0.1 • Published 12 years ago

sw-vers v0.0.1

Weekly downloads
6
License
-
Repository
-
Last release
12 years ago

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