0.0.1 • Published 12 years ago
sw-vers v0.0.1
sw-vers
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' }
0.0.1
12 years ago