node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

osx-version

osx-version Build Status

Get the OS X version of the current system. Example: 10.9.3

Install

$ npm install --save osx-version

Usage

const osxVersion = require('osx-version');
 
osxVersion().then(version => {
    console.log(version);
    //=> '10.9.3' 
});

Related

License

MIT © Sindre Sorhus