{"_id":"os-name","_rev":"4538933","name":"os-name","description":"Get the name of the current operating system. Example: macOS Sierra","dist-tags":{"latest":"7.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2026-04-09T15:06:44.000Z","created":"2014-06-07T22:55:38.804Z","7.0.0":"2026-02-02T15:03:15.070Z","6.1.0":"2025-05-22T22:44:33.537Z","6.0.0":"2023-11-24T16:53:40.398Z","5.1.0":"2022-12-07T13:18:12.471Z","5.0.1":"2021-11-11T11:51:33.441Z","5.0.0":"2021-08-12T17:24:45.965Z","4.0.1":"2021-07-28T10:46:40.951Z","4.0.0":"2020-08-29T19:59:41.427Z","3.1.0":"2019-04-05T07:12:56.549Z","3.0.0":"2018-11-20T14:19:07.548Z","2.0.1":"2016-06-20T00:31:25.380Z","2.0.0":"2016-06-19T21:12:08.190Z","1.0.3":"2015-01-28T06:02:12.320Z","1.0.2":"2015-01-17T11:30:53.364Z","1.0.1":"2014-10-06T09:21:50.979Z","1.0.0":"2014-08-14T09:32:59.714Z","0.1.2":"2014-06-08T15:43:49.707Z","0.1.1":"2014-06-07T23:09:04.899Z","0.1.0":"2014-06-07T22:55:38.804Z"},"users":{"bcoe":true,"f124275809":true,"machinabio":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/os-name.git"},"versions":{"7.0.0":{"name":"os-name","version":"7.0.0","description":"Get the name of the current operating system. Example: macOS Sierra","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/os-name.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && ava && tsd"},"keywords":["os","operating","system","platform","name","title","release","version","macos","windows","linux"],"dependencies":{"macos-release":"^3.4.0","windows-release":"^7.1.0"},"devDependencies":{"@types/node":"^25.2.0","ava":"^6.4.1","tsd":"^0.33.0","xo":"^1.2.3"},"gitHead":"aaec033dab174cbe06c1cf64393491bc341e4770","types":"./index.d.ts","_id":"os-name@7.0.0","bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"homepage":"https://github.com/sindresorhus/os-name#readme","_nodeVersion":"25.3.0","_npmVersion":"11.7.0","dist":{"shasum":"426f4dd32c1a83e3460caf56bf4b73aba22e8199","size":2403,"noattachment":false,"key":"/os-name/-/os-name-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-name/download/os-name-7.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/os-name_7.0.0_1770044594923_0.13768455753068687"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-02T15:03:15.070Z","publish_time":1770044595070,"_source_registry_name":"default","_cnpm_publish_time":1770044595070},"6.1.0":{"name":"os-name","version":"6.1.0","description":"Get the name of the current operating system. Example: macOS Sierra","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/os-name.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["os","operating","system","platform","name","title","release","version","macos","windows","linux"],"dependencies":{"macos-release":"^3.3.0","windows-release":"^6.1.0"},"devDependencies":{"@types/node":"^20.10.0","ava":"^5.3.1","tsd":"^0.29.0","xo":"^0.56.0"},"_id":"os-name@6.1.0","gitHead":"02d04454bed9479bfdd059d3f74c3fcd7be59ea3","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"homepage":"https://github.com/sindresorhus/os-name#readme","_nodeVersion":"20.19.1","_npmVersion":"10.9.2","dist":{"shasum":"eddc732f5fcf9d942b9183011aea008107bf7af1","size":2186,"noattachment":false,"key":"/os-name/-/os-name-6.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-name/download/os-name-6.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/os-name_6.1.0_1747953873319_0.12119231494256111"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-22T22:44:33.537Z","publish_time":1747953873537,"_source_registry_name":"default","_cnpm_publish_time":1747953873537},"6.0.0":{"name":"os-name","version":"6.0.0","description":"Get the name of the current operating system. Example: macOS Sierra","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/os-name.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["os","operating","system","platform","name","title","release","version","macos","windows","linux"],"dependencies":{"macos-release":"^3.2.0","windows-release":"^6.0.0"},"devDependencies":{"@types/node":"^20.10.0","ava":"^5.3.1","tsd":"^0.29.0","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"40044d3305893c9551e468a7a06694956d3d1804","bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"homepage":"https://github.com/sindresorhus/os-name#readme","_id":"os-name@6.0.0","_nodeVersion":"18.18.2","_npmVersion":"9.2.0","dist":{"shasum":"9b891a5339d516420683aabdc31f4cc1a9c6aa31","size":2168,"noattachment":false,"key":"/os-name/-/os-name-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-name/download/os-name-6.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/os-name_6.0.0_1700844820209_0.42872222466727394"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-24T16:53:40.398Z","publish_time":1700844820398,"_source_registry_name":"default","_cnpm_publish_time":1700844820398},"5.1.0":{"name":"os-name","version":"5.1.0","description":"Get the name of the current operating system. Example: macOS Sierra","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/os-name.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":["os","operating","system","platform","name","title","release","version","macos","windows","linux"],"dependencies":{"macos-release":"^3.1.0","windows-release":"^5.0.1"},"devDependencies":{"@types/node":"^16.11.7","ava":"^3.15.0","tsd":"^0.18.0","xo":"^0.46.4"},"types":"./index.d.ts","gitHead":"ff7af806e5bb960867924bf7fbbbadd801e06b0b","bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"homepage":"https://github.com/sindresorhus/os-name#readme","_id":"os-name@5.1.0","_nodeVersion":"14.21.1","_npmVersion":"8.19.2","dist":{"shasum":"4f5ab5edfa6938b590112714f1570fe79f1d957a","size":2501,"noattachment":false,"key":"/os-name/-/os-name-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-name/download/os-name-5.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/os-name_5.1.0_1670419092173_0.015500710281053376"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-12-07T14:23:07.079Z","publish_time":1670419092471,"_cnpm_publish_time":1670419092471},"5.0.1":{"name":"os-name","version":"5.0.1","description":"Get the name of the current operating system. Example: macOS Sierra","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/os-name.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":["os","operating","system","platform","name","title","release","version","macos","windows","linux"],"dependencies":{"macos-release":"^3.0.1","windows-release":"^5.0.1"},"devDependencies":{"@types/node":"^16.11.7","ava":"^3.15.0","tsd":"^0.18.0","xo":"^0.46.4"},"types":"./index.d.ts","gitHead":"737b7d249f081416259ddd6ee8412dddcbeb7c08","bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"homepage":"https://github.com/sindresorhus/os-name#readme","_id":"os-name@5.0.1","_nodeVersion":"12.22.1","_npmVersion":"8.1.0","dist":{"shasum":"acb4f996ec5bd86c41755fef9d6d31905c47172e","size":2502,"noattachment":false,"key":"/os-name/-/os-name-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-name/download/os-name-5.0.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/os-name_5.0.1_1636631493307_0.3745028566306754"},"_hasShrinkwrap":false,"publish_time":1636631493441,"_cnpm_publish_time":1636631493441},"5.0.0":{"name":"os-name","version":"5.0.0","description":"Get the name of the current operating system. Example: macOS Sierra","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/os-name.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":["os","operating","system","platform","name","title","release","version","macos","windows","linux"],"dependencies":{"macos-release":"^3.0.0","windows-release":"^5.0.0"},"devDependencies":{"@types/node":"^16.6.0","ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.44.0"},"gitHead":"09f90ba9a70e66fec6bf45b371ba07d5eb48c871","bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"homepage":"https://github.com/sindresorhus/os-name#readme","_id":"os-name@5.0.0","_nodeVersion":"12.22.1","_npmVersion":"7.10.0","dist":{"shasum":"287be8ceccc017855753aace59505b8efd0d82a2","size":2476,"noattachment":false,"key":"/os-name/-/os-name-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-name/download/os-name-5.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/os-name_5.0.0_1628789085816_0.619017421176991"},"_hasShrinkwrap":false,"publish_time":1628789085965,"_cnpm_publish_time":1628789085965},"4.0.1":{"name":"os-name","version":"4.0.1","description":"Get the name of the current operating system. Example: macOS Sierra","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/os-name.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["os","operating","system","platform","name","title","release","version","macos","windows","linux"],"dependencies":{"macos-release":"^2.5.0","windows-release":"^4.0.0"},"devDependencies":{"@types/node":"^14.6.2","ava":"^2.4.0","tsd":"^0.13.1","xo":"^0.33.0"},"gitHead":"a0264dfbe13083d58f40519c891dd084434e0b6d","bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"homepage":"https://github.com/sindresorhus/os-name#readme","_id":"os-name@4.0.1","_nodeVersion":"12.22.1","_npmVersion":"7.10.0","dist":{"shasum":"32cee7823de85a8897647ba4d76db46bf845e555","size":2495,"noattachment":false,"key":"/os-name/-/os-name-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-name/download/os-name-4.0.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/os-name_4.0.1_1627469200800_0.42291600096396587"},"_hasShrinkwrap":false,"publish_time":1627469200951,"_cnpm_publish_time":1627469200951},"4.0.0":{"name":"os-name","version":"4.0.0","description":"Get the name of the current operating system. Example: macOS Sierra","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/os-name.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["os","operating","system","platform","name","title","release","version","macos","windows","linux"],"dependencies":{"macos-release":"^2.2.0","windows-release":"^4.0.0"},"devDependencies":{"@types/node":"^14.6.2","ava":"^2.4.0","tsd":"^0.13.1","xo":"^0.33.0"},"gitHead":"3bd71d673212a9c2c10360effcdbb1ecb6e99287","bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"homepage":"https://github.com/sindresorhus/os-name#readme","_id":"os-name@4.0.0","_nodeVersion":"10.22.0","_npmVersion":"6.14.7","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"6c05c09c41c15848ea74658d12c9606f0f286599","size":2585,"noattachment":false,"key":"/os-name/-/os-name-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-name/download/os-name-4.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/os-name_4.0.0_1598731181301_0.8987671077807988"},"_hasShrinkwrap":false,"publish_time":1598731181427,"_cnpm_publish_time":1598731181427},"3.1.0":{"name":"os-name","version":"3.1.0","description":"Get the name of the current operating system. Example: macOS Sierra","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/os-name.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["os","operating","system","platform","name","title","release","version","macos","windows","linux"],"dependencies":{"macos-release":"^2.2.0","windows-release":"^3.1.0"},"devDependencies":{"@types/node":"^11.13.0","ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"befe213df9a08b43e54d3860e3b167cf2d40435f","bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"homepage":"https://github.com/sindresorhus/os-name#readme","_id":"os-name@3.1.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"dec19d966296e1cd62d701a5a66ee1ddeae70801","size":2330,"noattachment":false,"key":"/os-name/-/os-name-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-name/download/os-name-3.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/os-name_3.1.0_1554448376193_0.151155119226144"},"_hasShrinkwrap":false,"publish_time":1554448376549,"_cnpm_publish_time":1554448376549},"3.0.0":{"name":"os-name","version":"3.0.0","description":"Get the name of the current operating system. Example: macOS Sierra","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/os-name.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"keywords":["os","operating","system","platform","name","title","release","version","macos","windows","linux"],"dependencies":{"macos-release":"^2.0.0","windows-release":"^3.1.0"},"devDependencies":{"ava":"^0.25.0","xo":"^0.23.0"},"gitHead":"238cb59a33ace0c58f97fb5bd16701a8192834ea","bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"homepage":"https://github.com/sindresorhus/os-name#readme","_id":"os-name@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"e1434dbfddb8e74b44c98b56797d951b7648a5d9","size":2122,"noattachment":false,"key":"/os-name/-/os-name-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-name/download/os-name-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/os-name_3.0.0_1542723547430_0.9735732347045383"},"_hasShrinkwrap":false,"publish_time":1542723547548,"_cnpm_publish_time":1542723547548},"2.0.1":{"name":"os-name","version":"2.0.1","description":"Get the name of the current operating system. Example: macOS Sierra","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/os-name.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","operating","system","platform","name","title","release","version","macos","osx","windows","linux"],"dependencies":{"macos-release":"^1.0.0","win-release":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"c4903a345f3921e9a500dd3a2704d2f1ca43ecd1","bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"homepage":"https://github.com/sindresorhus/os-name#readme","_id":"os-name@2.0.1","_shasum":"b9a386361c17ae3a21736ef0599405c9a8c5dc5e","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"b9a386361c17ae3a21736ef0599405c9a8c5dc5e","size":2140,"noattachment":false,"key":"/os-name/-/os-name-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-name/download/os-name-2.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/os-name-2.0.1.tgz_1466382684023_0.860145166516304"},"directories":{},"publish_time":1466382685380,"_cnpm_publish_time":1466382685380,"_hasShrinkwrap":false},"2.0.0":{"name":"os-name","version":"2.0.0","description":"Get the name of the current operating system. Example: macOS Sierra","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/os-name.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","operating","system","platform","name","title","release","version","macos","osx","windows","linux"],"dependencies":{"macos-release":"^1.0.0","win-release":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"3f689ba013593b05316a35bfd99a3307dd6f1684","bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"homepage":"https://github.com/sindresorhus/os-name#readme","_id":"os-name@2.0.0","_shasum":"9a5a6beacea2c280bd064e8c0eb0b1a4eae61216","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"9a5a6beacea2c280bd064e8c0eb0b1a4eae61216","size":2138,"noattachment":false,"key":"/os-name/-/os-name-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-name/download/os-name-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/os-name-2.0.0.tgz_1466370725719_0.06153477542102337"},"directories":{},"publish_time":1466370728190,"_cnpm_publish_time":1466370728190,"_hasShrinkwrap":false},"1.0.3":{"name":"os-name","version":"1.0.3","description":"Get the name of the current operating system. Example: OS X Mavericks","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/os-name"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"os-name":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli","bin","os","operating","system","platform","name","title","release","version","osx","windows","linux"],"dependencies":{"osx-release":"^1.0.0","win-release":"^1.0.0"},"devDependencies":{"mocha":"*"},"gitHead":"b731d05cc7fbb3271c05f1b84d4296ea229dc1c5","bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"homepage":"https://github.com/sindresorhus/os-name","_id":"os-name@1.0.3","_shasum":"1b379f64835af7c5a7f498b357cb95215c159edf","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"1b379f64835af7c5a7f498b357cb95215c159edf","size":1610,"noattachment":false,"key":"/os-name/-/os-name-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-name/download/os-name-1.0.3.tgz"},"directories":{},"publish_time":1422424932320,"_cnpm_publish_time":1422424932320,"_hasShrinkwrap":false},"1.0.2":{"name":"os-name","version":"1.0.2","description":"Get the name of the current operating system. Example: OS X Mavericks","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/os-name"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"bin":{"os-name":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli","bin","os","operating","system","platform","name","title","release","version","osx","windows","linux"],"dependencies":{"minimist":"^1.1.0","osx-release":"^1.0.0","win-release":"^1.0.0"},"devDependencies":{"mocha":"*"},"gitHead":"77a08fe4ca592a10c0a583940dc2126866cc7a4b","bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"homepage":"https://github.com/sindresorhus/os-name","_id":"os-name@1.0.2","_shasum":"cd17bf43e927d0f889ae93dbc5e9930baf918277","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"cd17bf43e927d0f889ae93dbc5e9930baf918277","size":1612,"noattachment":false,"key":"/os-name/-/os-name-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-name/download/os-name-1.0.2.tgz"},"directories":{},"publish_time":1421494253364,"_cnpm_publish_time":1421494253364,"_hasShrinkwrap":false},"1.0.1":{"name":"os-name","version":"1.0.1","description":"Get the name of the current operating system. Example: OS X Mavericks","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/os-name"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"bin":{"os-name":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli","bin","os","operating","system","platform","name","title","release","version","osx","windows","linux"],"dependencies":{"minimist":"^1.1.0","osx-release":"^1.0.0"},"devDependencies":{"mocha":"*"},"gitHead":"d2096530b2a6c21eb2bf79ea65d74c569f235658","bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"homepage":"https://github.com/sindresorhus/os-name","_id":"os-name@1.0.1","_shasum":"5d78a4a0d6bc96f7fce8e060fef19525422dcc8f","_from":".","_npmVersion":"2.1.2","_nodeVersion":"0.10.32","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"5d78a4a0d6bc96f7fce8e060fef19525422dcc8f","size":1674,"noattachment":false,"key":"/os-name/-/os-name-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-name/download/os-name-1.0.1.tgz"},"directories":{},"publish_time":1412587310979,"_cnpm_publish_time":1412587310979,"_hasShrinkwrap":false},"1.0.0":{"name":"os-name","version":"1.0.0","description":"Get the name of the current operating system. Example: OS X Mavericks","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/os-name"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"bin":{"os-name":"cli.js"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli","bin","os","operating","system","platform","name","title","release","version","osx","windows","linux"],"dependencies":{"minimist":"^1.1.0","osx-release":"^1.0.0"},"devDependencies":{"mocha":"*"},"gitHead":"682acba68087b768da3f43f329d7bf8feafb484b","bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"homepage":"https://github.com/sindresorhus/os-name","_id":"os-name@1.0.0","_shasum":"f0b2790d05f32c729f8e5168859484ab2cd32bab","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"f0b2790d05f32c729f8e5168859484ab2cd32bab","size":1668,"noattachment":false,"key":"/os-name/-/os-name-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-name/download/os-name-1.0.0.tgz"},"directories":{},"publish_time":1408008779714,"_cnpm_publish_time":1408008779714,"_hasShrinkwrap":false},"0.1.2":{"name":"os-name","version":"0.1.2","description":"Get the name of the current operating system. Example: OS X Mavericks","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/os-name"},"bin":{"os-name":"cli.js"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli","bin","os","operating","system","platform","name","title","release","version","osx","windows","linux"],"dependencies":{"minimist":"^0.1.0","osx-release":"^0.1.0"},"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"homepage":"https://github.com/sindresorhus/os-name","_id":"os-name@0.1.2","_shasum":"15d391987711b8838566993c4606e8691bb94c58","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"15d391987711b8838566993c4606e8691bb94c58","size":1493,"noattachment":false,"key":"/os-name/-/os-name-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-name/download/os-name-0.1.2.tgz"},"directories":{},"publish_time":1402242229707,"_cnpm_publish_time":1402242229707,"_hasShrinkwrap":false},"0.1.1":{"name":"os-name","version":"0.1.1","description":"Get the name of the current operating system. Example: OS X Mavericks","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/os-name"},"bin":{"os-name":"cli.js"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli","bin","os","operating","system","platform","name","title","release","version","osx","windows","linux"],"dependencies":{"minimist":"^0.1.0"},"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"homepage":"https://github.com/sindresorhus/os-name","_id":"os-name@0.1.1","_shasum":"3d8a3126a417d8921efeee8fc3f509d5a2c633ff","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"3d8a3126a417d8921efeee8fc3f509d5a2c633ff","size":1579,"noattachment":false,"key":"/os-name/-/os-name-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-name/download/os-name-0.1.1.tgz"},"directories":{},"publish_time":1402182544899,"_cnpm_publish_time":1402182544899,"_hasShrinkwrap":false},"0.1.0":{"name":"os-name","version":"0.1.0","description":"Get the name of the current operating system. Example: OS X Mavericks","license":"MIT","repository":{"type":"git","url":"git://github.com/sindresorhus/os-name"},"bin":{"os-name":"cli.js"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"files":["index.js","cli.js"],"keywords":["cli","bin","os","operating","system","platform","name","title","release","version","osx","windows","linux"],"dependencies":{"minimist":"^0.1.0"},"devDependencies":{"mocha":"*"},"bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"homepage":"https://github.com/sindresorhus/os-name","_id":"os-name@0.1.0","_shasum":"8a8098932b00ceff6b93d7842860598554ba1c46","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"8a8098932b00ceff6b93d7842860598554ba1c46","size":1575,"noattachment":false,"key":"/os-name/-/os-name-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/os-name/download/os-name-0.1.0.tgz"},"directories":{},"publish_time":1402181738804,"_cnpm_publish_time":1402181738804,"_hasShrinkwrap":false}},"readme":"# os-name\n\n> Get the name of the current operating system\\\n> Example: `macOS Sierra`\n\nUseful for analytics and debugging.\n\n## Install\n\n```sh\nnpm install os-name\n```\n\n## Usage\n\n```js\nimport osName from 'os-name';\n\n// On a macOS Sierra system\n\nosName();\n//=> 'macOS Sierra'\n\n// On an Ubuntu system\n\nosName();\n//=> 'Ubuntu 20.04.1 LTS'\n\nosName('darwin', '14.0.0');\n//=> 'OS X Yosemite'\n\nosName('linux', '3.13.0-24-generic');\n//=> 'Linux 3.13'\n\nosName('win32', '6.3.9600');\n//=> 'Windows 8.1'\n```\n\n## API\n\n### osName(platform?, release?)\n\nBy default, the name of the current operating system is returned.\n\nOn Linux, it reads the pretty name from `/etc/os-release` when available (e.g., `'Ubuntu 20.04.1 LTS'`, `'Debian GNU/Linux 12 (bookworm)'`). When a custom release is provided, it falls back to `'Linux <version>'`.\n\nYou can optionally supply a custom [`os.platform()`](https://nodejs.org/api/os.html#os_os_platform) and [`os.release()`](https://nodejs.org/api/os.html#os_os_release).\n\n## Related\n\n- [os-name-cli](https://github.com/sindresorhus/os-name-cli) - CLI for this module\n","_attachments":{},"homepage":"https://github.com/sindresorhus/os-name#readme","bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"license":"MIT"}