Skip to content
Parser for `sw_vers` command output
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib
.gitignore
LICENSE
README.md
package.json

README.md

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' }
Something went wrong with that request. Please try again.