npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

macos-model

1.0.2

@kevva

npmHomeRepoSnykSocket
Downloads:0
$ npm install macos-model
DailyWeeklyMonthlyYearly

macos-model Build Status

Get your Mac model

Install

$ npm install --save macos-model

Usage

const macosModel = require('macos-model');

macosModel().then(model => {
	console.log(model);
	//=> 'MacBook Pro (Retina, 15-inch, Mid 2014)'
});

CLI

$ npm install --global macos-model
$ macos-model --help

  Example
    $ macos-model
    MacBook Pro (Retina, 15-inch, Mid 2014)

Related

  • osx-info - Get info about your Mac

License

MIT © Kevin Martensson