osx-info
v1.1.0
Published
Get information about your Mac
Downloads
9
Maintainers
Readme
osx-info
Get information about your Mac
Install
$ npm install --save osx-info
Usage
const osxInfo = require('osx-info');
osxInfo().then(data => {
console.log(data);
/*
{
name: 'MacBook Pro (Retina, 15-inch, Mid 2014)',
identifier: 'MacBookPro11,3',
core: 'Intel Core i7',
...
}
*/
});
CLI
$ npm install --global osx-info
$ osx-info --help
Usage
$ osx-info
Related
- osx-model - Get your Mac model
License
MIT © Andreas Gillström