{"_id":"macos-release","_rev":"4048074","name":"macos-release","description":"Get the name and version of a macOS release from the Darwin version","dist-tags":{"latest":"3.4.0","version-2":"2.5.1"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2025-09-01T06:31:25.000Z","created":"2016-06-19T20:37:42.961Z","3.4.0":"2025-06-11T18:30:18.212Z","3.3.0":"2024-07-31T16:03:14.109Z","3.2.0":"2023-06-06T10:18:46.534Z","2.5.1":"2023-02-23T17:06:24.463Z","3.1.0":"2022-06-07T04:55:21.789Z","3.0.1":"2021-09-01T13:33:04.426Z","3.0.0":"2021-08-12T17:13:43.711Z","2.5.0":"2021-06-08T07:15:41.043Z","2.4.1":"2020-07-22T17:43:36.944Z","2.4.0":"2020-06-30T20:03:39.703Z","2.3.0":"2019-06-10T08:56:50.692Z","2.2.0":"2019-03-31T12:31:12.081Z","2.1.0":"2019-03-17T17:27:37.047Z","2.0.0":"2018-06-05T07:33:04.659Z","1.1.0":"2017-06-12T10:16:13.309Z","1.0.0":"2016-06-19T20:37:42.961Z"},"users":{},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/macos-release.git"},"versions":{"3.4.0":{"name":"macos-release","version":"3.4.0","description":"Get the name and version of a macOS release from the Darwin version","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/macos-release.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","types":"./index.d.ts","sideEffects":false,"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["macos","os","darwin","operating","system","platform","name","title","release","version"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.44.0"},"_id":"macos-release@3.4.0","gitHead":"2f7763c2e0be14532d8c49186cfae7b8d3fd8801","bugs":{"url":"https://github.com/sindresorhus/macos-release/issues"},"homepage":"https://github.com/sindresorhus/macos-release#readme","_nodeVersion":"20.19.1","_npmVersion":"10.9.2","dist":{"shasum":"1b223706b13106c158e2b40cb81ba35dd74d7856","size":2219,"noattachment":false,"key":"/macos-release/-/macos-release-3.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/macos-release/download/macos-release-3.4.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/macos-release_3.4.0_1749666618048_0.7686885292094192"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-06-11T18:30:18.212Z","publish_time":1749666618212,"_source_registry_name":"default","_cnpm_publish_time":1749666618212},"3.3.0":{"name":"macos-release","version":"3.3.0","description":"Get the name and version of a macOS release from the Darwin version","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/macos-release.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","types":"./index.d.ts","sideEffects":false,"engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["macos","os","darwin","operating","system","platform","name","title","release","version"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.44.0"},"_id":"macos-release@3.3.0","gitHead":"f349212f7050d65ec7ec16a296ef3a1cc5a19a2f","bugs":{"url":"https://github.com/sindresorhus/macos-release/issues"},"homepage":"https://github.com/sindresorhus/macos-release#readme","_nodeVersion":"20.16.0","_npmVersion":"10.6.0","dist":{"shasum":"92cb67bc66d67c3fde4a9e14f5f909afa418b072","size":2210,"noattachment":false,"key":"/macos-release/-/macos-release-3.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/macos-release/download/macos-release-3.3.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/macos-release_3.3.0_1722441793955_0.37749484331096816"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-07-31T16:03:14.109Z","publish_time":1722441794109,"_source_registry_name":"default","_cnpm_publish_time":1722441794109},"3.2.0":{"name":"macos-release","version":"3.2.0","description":"Get the name and version of a macOS release from the Darwin version","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/macos-release.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["macos","os","darwin","operating","system","platform","name","title","release","version"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.44.0"},"types":"./index.d.ts","gitHead":"494c0dfd0848bd436ae2fb3ce53ee88dbdf2b367","bugs":{"url":"https://github.com/sindresorhus/macos-release/issues"},"homepage":"https://github.com/sindresorhus/macos-release#readme","_id":"macos-release@3.2.0","_nodeVersion":"16.20.0","_npmVersion":"9.2.0","dist":{"shasum":"dcee82b6a4932971b1538dbf6f3aabc4a903b613","size":2395,"noattachment":false,"key":"/macos-release/-/macos-release-3.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/macos-release/download/macos-release-3.2.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/macos-release_3.2.0_1686046726336_0.4183586738670597"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-06T10:18:46.534Z","publish_time":1686046726534,"_source_registry_name":"default","_cnpm_publish_time":1686046726534},"2.5.1":{"name":"macos-release","version":"2.5.1","description":"Get the name and version of a macOS release from the Darwin version","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/macos-release.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["macos","os","darwin","operating","system","platform","name","title","release","version"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.1","xo":"^0.24.0"},"types":"./index.d.ts","readmeFilename":"readme.md","gitHead":"8161ec864449ce6701850fe89593871500fd67e8","bugs":{"url":"https://github.com/sindresorhus/macos-release/issues"},"homepage":"https://github.com/sindresorhus/macos-release#readme","_id":"macos-release@2.5.1","_nodeVersion":"16.16.0","_npmVersion":"9.2.0","dist":{"shasum":"bccac4a8f7b93163a8d163b8ebf385b3c5f55bf9","size":2527,"noattachment":false,"key":"/macos-release/-/macos-release-2.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/macos-release/download/macos-release-2.5.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/macos-release_2.5.1_1677171984272_0.1834779047421189"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-02-23T17:06:24.463Z","publish_time":1677171984463,"_cnpm_publish_time":1677171984463},"3.1.0":{"name":"macos-release","version":"3.1.0","description":"Get the name and version of a macOS release from the Darwin version","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/macos-release.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["macos","os","darwin","operating","system","platform","name","title","release","version"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.44.0"},"types":"./index.d.ts","gitHead":"74d928f6cc6b8b0d302d6900ad395fc51c04bf39","bugs":{"url":"https://github.com/sindresorhus/macos-release/issues"},"homepage":"https://github.com/sindresorhus/macos-release#readme","_id":"macos-release@3.1.0","_nodeVersion":"14.19.2","_npmVersion":"8.3.2","dist":{"shasum":"6165bb0736ae567ed6649e36ce6a24d87cbb7aca","size":2387,"noattachment":false,"key":"/macos-release/-/macos-release-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/macos-release/download/macos-release-3.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/macos-release_3.1.0_1654577721572_0.35319323584385365"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-07T04:55:24.802Z","publish_time":1654577721789,"_cnpm_publish_time":1654577721789},"3.0.1":{"name":"macos-release","version":"3.0.1","description":"Get the name and version of a macOS release from the Darwin version","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/macos-release.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["macos","os","darwin","operating","system","platform","name","title","release","version"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.44.0"},"gitHead":"7e8008173ef2ff45bd096d406b92904a89986621","bugs":{"url":"https://github.com/sindresorhus/macos-release/issues"},"homepage":"https://github.com/sindresorhus/macos-release#readme","_id":"macos-release@3.0.1","_nodeVersion":"14.17.5","_npmVersion":"7.20.3","dist":{"shasum":"7d2a1329a616297db4a57f3d3ba8fa07a7caadd6","size":2379,"noattachment":false,"key":"/macos-release/-/macos-release-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/macos-release/download/macos-release-3.0.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/macos-release_3.0.1_1630503184323_0.5777788729179703"},"_hasShrinkwrap":false,"publish_time":1630503184426,"_cnpm_publish_time":1630503184426},"3.0.0":{"name":"macos-release","version":"3.0.0","description":"Get the name and version of a macOS release from the Darwin version","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/macos-release.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["macos","os","darwin","operating","system","platform","name","title","release","version"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.44.0"},"gitHead":"7c370c87b819f674a78c3670edd0240ff7145b90","bugs":{"url":"https://github.com/sindresorhus/macos-release/issues"},"homepage":"https://github.com/sindresorhus/macos-release#readme","_id":"macos-release@3.0.0","_nodeVersion":"12.22.1","_npmVersion":"7.10.0","dist":{"shasum":"2dd203bd27545ff45c000ac795878b0f8c30ce6d","size":2376,"noattachment":false,"key":"/macos-release/-/macos-release-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/macos-release/download/macos-release-3.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/macos-release_3.0.0_1628788423574_0.016615062961848004"},"_hasShrinkwrap":false,"publish_time":1628788423711,"_cnpm_publish_time":1628788423711},"2.5.0":{"name":"macos-release","version":"2.5.0","description":"Get the name and version of a macOS release from the Darwin version","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/macos-release.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["macos","os","darwin","operating","system","platform","name","title","release","version"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.1","xo":"^0.24.0"},"gitHead":"f81046cf89a7078c0dc912d83e2e72bfa3225de8","bugs":{"url":"https://github.com/sindresorhus/macos-release/issues"},"homepage":"https://github.com/sindresorhus/macos-release#readme","_id":"macos-release@2.5.0","_nodeVersion":"12.22.1","_npmVersion":"7.10.0","dist":{"shasum":"067c2c88b5f3fb3c56a375b2ec93826220fa1ff2","size":2514,"noattachment":false,"key":"/macos-release/-/macos-release-2.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/macos-release/download/macos-release-2.5.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/macos-release_2.5.0_1623136540891_0.5963238709343921"},"_hasShrinkwrap":false,"publish_time":1623136541043,"_cnpm_publish_time":1623136541043},"2.4.1":{"name":"macos-release","version":"2.4.1","description":"Get the name and version of a macOS release from the Darwin version","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/macos-release.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["macos","os","darwin","operating","system","platform","name","title","release","version"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.1","xo":"^0.24.0"},"gitHead":"290f24dd5afb18ede673bd78f0a730e5408b5a10","bugs":{"url":"https://github.com/sindresorhus/macos-release/issues"},"homepage":"https://github.com/sindresorhus/macos-release#readme","_id":"macos-release@2.4.1","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"64033d0ec6a5e6375155a74b1a1eba8e509820ac","size":2566,"noattachment":false,"key":"/macos-release/-/macos-release-2.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/macos-release/download/macos-release-2.4.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/macos-release_2.4.1_1595439816790_0.03145067547861524"},"_hasShrinkwrap":false,"publish_time":1595439816944,"_cnpm_publish_time":1595439816944},"2.4.0":{"name":"macos-release","version":"2.4.0","description":"Get the name and version of a macOS release from the Darwin version","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/macos-release.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["macos","os","darwin","operating","system","platform","name","title","release","version"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.1","xo":"^0.24.0"},"gitHead":"70f782f6a2c80f13c98245400b43d668edc91736","bugs":{"url":"https://github.com/sindresorhus/macos-release/issues"},"homepage":"https://github.com/sindresorhus/macos-release#readme","_id":"macos-release@2.4.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"837b39fc01785c3584f103c5599e0f0c8068b49e","size":2559,"noattachment":false,"key":"/macos-release/-/macos-release-2.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/macos-release/download/macos-release-2.4.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/macos-release_2.4.0_1593547419589_0.02882971470958351"},"_hasShrinkwrap":false,"publish_time":1593547419703,"_cnpm_publish_time":1593547419703},"2.3.0":{"name":"macos-release","version":"2.3.0","description":"Get the name and version of a macOS release from the Darwin version","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/macos-release.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["macos","os","darwin","operating","system","platform","name","title","release","version"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.1","xo":"^0.24.0"},"gitHead":"0cc3270917527134fbe84dd9e8583cbc4866d71b","bugs":{"url":"https://github.com/sindresorhus/macos-release/issues"},"homepage":"https://github.com/sindresorhus/macos-release#readme","_id":"macos-release@2.3.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"eb1930b036c0800adebccd5f17bc4c12de8bb71f","size":2235,"noattachment":false,"key":"/macos-release/-/macos-release-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/macos-release/download/macos-release-2.3.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/macos-release_2.3.0_1560157010567_0.9738404545539197"},"_hasShrinkwrap":false,"publish_time":1560157010692,"_cnpm_publish_time":1560157010692},"2.2.0":{"name":"macos-release","version":"2.2.0","description":"Get the name and version of a macOS release from the Darwin version","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/macos-release.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["macos","os","darwin","operating","system","platform","name","title","release","version"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.1","xo":"^0.24.0"},"gitHead":"96afc2cbd94a8f09a5daf9c1356ff500a9033c67","bugs":{"url":"https://github.com/sindresorhus/macos-release/issues"},"homepage":"https://github.com/sindresorhus/macos-release#readme","_id":"macos-release@2.2.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ab58d55dd4714f0a05ad4b0e90f4370fef5cdea8","size":2224,"noattachment":false,"key":"/macos-release/-/macos-release-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/macos-release/download/macos-release-2.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/macos-release_2.2.0_1554035471486_0.17345447678299042"},"_hasShrinkwrap":false,"publish_time":1554035472081,"_cnpm_publish_time":1554035472081},"2.1.0":{"name":"macos-release","version":"2.1.0","description":"Get the name and version of a macOS release from the Darwin version","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/macos-release.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd-check"},"keywords":["macos","os","darwin","operating","system","platform","name","title","release","version"],"devDependencies":{"ava":"^1.3.1","tsd-check":"^0.5.0","xo":"^0.24.0"},"gitHead":"be63c3e585fd771c4f3d33fff82c9f98c87a070c","bugs":{"url":"https://github.com/sindresorhus/macos-release/issues"},"homepage":"https://github.com/sindresorhus/macos-release#readme","_id":"macos-release@2.1.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"c87935891fbeb0dba7537913fc66f469fee9d662","size":2082,"noattachment":false,"key":"/macos-release/-/macos-release-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/macos-release/download/macos-release-2.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/macos-release_2.1.0_1552843656895_0.8939299106229306"},"_hasShrinkwrap":false,"publish_time":1552843657047,"_cnpm_publish_time":1552843657047},"2.0.0":{"name":"macos-release","version":"2.0.0","description":"Get the name and version of a macOS release from the Darwin version","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/macos-release.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["os","macos","osx","darwin","operating","system","platform","name","title","release","version"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"d0cc866a28745391d6f755e70e7dd95466f2f3b9","bugs":{"url":"https://github.com/sindresorhus/macos-release/issues"},"homepage":"https://github.com/sindresorhus/macos-release#readme","_id":"macos-release@2.0.0","_npmVersion":"6.1.0","_nodeVersion":"8.11.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"7dddf4caf79001a851eb4fba7fb6034f251276ab","size":1953,"noattachment":false,"key":"/macos-release/-/macos-release-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/macos-release/download/macos-release-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/macos-release_2.0.0_1528183984590_0.2572244344958987"},"_hasShrinkwrap":false,"publish_time":1528183984659,"_cnpm_publish_time":1528183984659},"1.1.0":{"name":"macos-release","version":"1.1.0","description":"Get the name and version of a macOS release from the Darwin version","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/macos-release.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["os","macos","osx","darwin","operating","system","platform","name","title","release","version"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"f39133483defff1d33d44ebac7f13ca44ff7b4af","bugs":{"url":"https://github.com/sindresorhus/macos-release/issues"},"homepage":"https://github.com/sindresorhus/macos-release#readme","_id":"macos-release@1.1.0","_npmVersion":"5.0.0","_nodeVersion":"8.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"831945e29365b470aa8724b0ab36c8f8959d10fb","size":1992,"noattachment":false,"key":"/macos-release/-/macos-release-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/macos-release/download/macos-release-1.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/macos-release-1.1.0.tgz_1497262572278_0.40303571335971355"},"directories":{},"publish_time":1497262573309,"_hasShrinkwrap":false,"_cnpm_publish_time":1497262573309},"1.0.0":{"name":"macos-release","version":"1.0.0","description":"Get the name and version of a macOS release from the Darwin version","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/macos-release.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["os","macos","osx","darwin","operating","system","platform","name","title","release","version"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"4a79656e9c3072d5bac6aa1c6a26d0bf09464da4","bugs":{"url":"https://github.com/sindresorhus/macos-release/issues"},"homepage":"https://github.com/sindresorhus/macos-release#readme","_id":"macos-release@1.0.0","_shasum":"e168ce8f4d934399ab1acb92a6c309273072eb1b","_from":".","_npmVersion":"3.9.6","_nodeVersion":"4.4.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"e168ce8f4d934399ab1acb92a6c309273072eb1b","size":1984,"noattachment":false,"key":"/macos-release/-/macos-release-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/macos-release/download/macos-release-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/macos-release-1.0.0.tgz_1466368661731_0.42513905256055295"},"directories":{},"publish_time":1466368662961,"_cnpm_publish_time":1466368662961,"_hasShrinkwrap":false}},"readme":"# macos-release\n\n> Get the name and version of a macOS release from the Darwin version\\\n> Example: `13.2.0` → `{name: 'Mavericks', version: '10.9'}`\n\n## Install\n\n```sh\nnpm install macos-release\n```\n\n## Usage\n\n```js\nimport os from 'node:os';\nimport macosRelease from 'macos-release';\n\n// On a macOS Sierra system\n\nmacosRelease();\n//=> {name: 'Sierra', version: '10.12'}\n\nos.release();\n//=> 13.2.0\n// This is the Darwin kernel version\n\nmacosRelease(os.release());\n//=> {name: 'Sierra', version: '10.12'}\n\nmacosRelease('14.0.0');\n//=> {name: 'Yosemite', version: '10.10'}\n\nmacosRelease('20.0.0');\n//=> {name: 'Big Sur', version: '11'}\n```\n\n## API\n\n### macosRelease(release?)\n\n#### release\n\nType: `string`\n\nBy default, the current operating system is used, but you can supply a custom [Darwin kernel version](https://en.wikipedia.org/wiki/Darwin_%28operating_system%29#Release_history), which is the output of [`os.release()`](https://nodejs.org/api/os.html#os_os_release).\n\n## Related\n\n- [os-name](https://github.com/sindresorhus/os-name) - Get the name of the current operating system. Example: `macOS Sierra`\n- [macos-version](https://github.com/sindresorhus/macos-version) - Get the macOS version of the current system. Example: `10.9.3`\n- [windows-release](https://github.com/sindresorhus/windows-release) - Get the name of a Windows version from the release number: `5.1.2600` → `XP`\n","_attachments":{},"homepage":"https://github.com/sindresorhus/macos-release#readme","bugs":{"url":"https://github.com/sindresorhus/macos-release/issues"},"license":"MIT"}