{"_id":"os-name","_rev":"184060","name":"os-name","description":"Get the name of the current operating system. Example: macOS Sierra","dist-tags":{"latest":"5.0.1"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2022-10-18T10:56:11.000Z","created":"2014-06-07T22:55:38.804Z","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":{},"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":{"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://name.csiicloud.com:7001/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,"_cnpmcore_publish_time":"2021-12-14T05:48:42.664Z"},"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://name.csiicloud.com:7001/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,"_cnpmcore_publish_time":"2021-12-14T05:48:42.909Z"},"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://name.csiicloud.com:7001/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,"_cnpmcore_publish_time":"2021-12-14T05:48:43.116Z"},"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://name.csiicloud.com:7001/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://name.csiicloud.com:7001/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://name.csiicloud.com:7001/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://name.csiicloud.com:7001/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://name.csiicloud.com:7001/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://name.csiicloud.com:7001/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://name.csiicloud.com:7001/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://name.csiicloud.com:7001/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://name.csiicloud.com:7001/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://name.csiicloud.com:7001/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://name.csiicloud.com:7001/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://name.csiicloud.com:7001/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 os from 'node:os';\nimport osName from 'os-name';\n\n// On a macOS Sierra system\n\nosName();\n//=> 'macOS Sierra'\n\nosName(os.platform(), os.release());\n//=> 'macOS Sierra'\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\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\nCheck out [`getos`](https://github.com/wblankenship/getos) if you need the Linux distribution name.\n\n## Contributing\n\nProduction systems depend on this package for logging / tracking. Please be careful when introducing new output, and adhere to existing output format (whitespace, capitalization, etc.).\n\n## Related\n\n- [os-name-cli](https://github.com/sindresorhus/os-name-cli) - CLI for this module\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-os-name?utm_source=npm-os-name&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n","_attachments":{},"homepage":"https://github.com/sindresorhus/os-name#readme","bugs":{"url":"https://github.com/sindresorhus/os-name/issues"},"license":"MIT"}