109 lines
4.3 KiB
JSON
109 lines
4.3 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "macos-release@^1.0.0",
|
|
"scope": null,
|
|
"escapedName": "macos-release",
|
|
"name": "macos-release",
|
|
"rawSpec": "^1.0.0",
|
|
"spec": ">=1.0.0 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/os-name"
|
|
]
|
|
],
|
|
"_from": "macos-release@>=1.0.0 <2.0.0",
|
|
"_id": "macos-release@1.1.0",
|
|
"_inCache": true,
|
|
"_location": "/macos-release",
|
|
"_nodeVersion": "8.0.0",
|
|
"_npmOperationalInternal": {
|
|
"host": "s3://npm-registry-packages",
|
|
"tmp": "tmp/macos-release-1.1.0.tgz_1497262572278_0.40303571335971355"
|
|
},
|
|
"_npmUser": {
|
|
"name": "sindresorhus",
|
|
"email": "sindresorhus@gmail.com"
|
|
},
|
|
"_npmVersion": "5.0.0",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "macos-release@^1.0.0",
|
|
"scope": null,
|
|
"escapedName": "macos-release",
|
|
"name": "macos-release",
|
|
"rawSpec": "^1.0.0",
|
|
"spec": ">=1.0.0 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/os-name"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/macos-release/-/macos-release-1.1.0.tgz",
|
|
"_shasum": "831945e29365b470aa8724b0ab36c8f8959d10fb",
|
|
"_shrinkwrap": null,
|
|
"_spec": "macos-release@^1.0.0",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/os-name",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "sindresorhus.com"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/sindresorhus/macos-release/issues"
|
|
},
|
|
"dependencies": {},
|
|
"description": "Get the name and version of a macOS release from the Darwin version",
|
|
"devDependencies": {
|
|
"ava": "*",
|
|
"xo": "*"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"integrity": "sha512-mmLbumEYMi5nXReB9js3WGsB8UE6cDBWyIO62Z4DNx6GbRhDxHNjA1MlzSpJ2S2KM1wyiPRA0d19uHWYYvMHjA==",
|
|
"shasum": "831945e29365b470aa8724b0ab36c8f8959d10fb",
|
|
"tarball": "https://registry.npmjs.org/macos-release/-/macos-release-1.1.0.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"gitHead": "f39133483defff1d33d44ebac7f13ca44ff7b4af",
|
|
"homepage": "https://github.com/sindresorhus/macos-release#readme",
|
|
"keywords": [
|
|
"os",
|
|
"macos",
|
|
"osx",
|
|
"darwin",
|
|
"operating",
|
|
"system",
|
|
"platform",
|
|
"name",
|
|
"title",
|
|
"release",
|
|
"version"
|
|
],
|
|
"license": "MIT",
|
|
"maintainers": [
|
|
{
|
|
"name": "sindresorhus",
|
|
"email": "sindresorhus@gmail.com"
|
|
}
|
|
],
|
|
"name": "macos-release",
|
|
"optionalDependencies": {},
|
|
"readme": "# macos-release [![Build Status](https://travis-ci.org/sindresorhus/macos-release.svg?branch=master)](https://travis-ci.org/sindresorhus/macos-release)\n\n> Get the name and version of a macOS release from the Darwin version<br>\n> Example: `13.2.0` → `{name: 'Mavericks', version: '10.9'}`\n\n\n## Install\n\n```\n$ npm install --save macos-release\n```\n\n\n## Usage\n\n```js\nconst os = require('os');\nconst macosRelease = require('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```\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](http://en.wikipedia.org/wiki/Darwin_%28operating_system%29#Release_history), which is the output of [`os.release()`](http://nodejs.org/api/os.html#os_os_release).\n\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- [win-release](https://github.com/sindresorhus/win-release) - Get the name of a Windows version from the release number: `5.1.2600` → `XP`\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
|
|
"readmeFilename": "readme.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/sindresorhus/macos-release.git"
|
|
},
|
|
"scripts": {
|
|
"test": "xo && ava"
|
|
},
|
|
"version": "1.1.0"
|
|
}
|