Socket
Book a DemoInstallSign in
Socket

macos-model

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

macos-model

Get your Mac model

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

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)
  • osx-info - Get info about your Mac

License

MIT © Kevin Martensson

Keywords

app

FAQs

Package last updated on 08 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts