Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

macos-release

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

macos-release

Get the name and version of a macOS release from the Darwin version

  • 1.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2M
decreased by-29.51%
Maintainers
1
Weekly downloads
 
Created

What is macos-release?

The macos-release npm package is used to get the macOS name and version from the Darwin version. It is useful for applications that need to display or log the macOS version in a human-readable format.

What are macos-release's main functionalities?

Get macOS release name and version

This feature allows you to get the macOS release name and version. The code sample demonstrates how to use the macos-release package to get the current macOS release information and log it to the console.

const macosRelease = require('macos-release');
const release = macosRelease();
console.log(release);

Get macOS release name and version from a specific Darwin version

This feature allows you to get the macOS release name and version from a specific Darwin version. The code sample demonstrates how to use the macos-release package to get the macOS release information for Darwin version '20.3.0' and log it to the console.

const macosRelease = require('macos-release');
const release = macosRelease('20.3.0');
console.log(release);

Other packages similar to macos-release

Keywords

FAQs

Package last updated on 12 Jun 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc