{ "_args": [ [ { "raw": "win-release@^1.0.0", "scope": null, "escapedName": "win-release", "name": "win-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": "win-release@>=1.0.0 <2.0.0", "_id": "win-release@1.1.1", "_inCache": true, "_location": "/win-release", "_nodeVersion": "4.0.0", "_npmUser": { "name": "sindresorhus", "email": "sindresorhus@gmail.com" }, "_npmVersion": "2.14.2", "_phantomChildren": {}, "_requested": { "raw": "win-release@^1.0.0", "scope": null, "escapedName": "win-release", "name": "win-release", "rawSpec": "^1.0.0", "spec": ">=1.0.0 <2.0.0", "type": "range" }, "_requiredBy": [ "/os-name" ], "_resolved": "https://registry.npmjs.org/win-release/-/win-release-1.1.1.tgz", "_shasum": "5fa55e02be7ca934edfc12665632e849b72e5209", "_shrinkwrap": null, "_spec": "win-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/win-release/issues" }, "dependencies": { "semver": "^5.0.1" }, "description": "Get the name of a Windows version from the release number: 5.1.2600 → XP", "devDependencies": { "ava": "*", "xo": "*" }, "directories": {}, "dist": { "shasum": "5fa55e02be7ca934edfc12665632e849b72e5209", "tarball": "https://registry.npmjs.org/win-release/-/win-release-1.1.1.tgz" }, "engines": { "node": ">=0.10.0" }, "files": [ "index.js" ], "gitHead": "426c5d3dba12c7495cfda699cf614f4d8ea8fd3d", "homepage": "https://github.com/sindresorhus/win-release#readme", "keywords": [ "os", "win", "win32", "windows", "operating", "system", "platform", "name", "title", "release", "version" ], "license": "MIT", "maintainers": [ { "name": "sindresorhus", "email": "sindresorhus@gmail.com" } ], "name": "win-release", "optionalDependencies": {}, "readme": "# win-release [![Build Status](https://travis-ci.org/sindresorhus/win-release.svg?branch=master)](https://travis-ci.org/sindresorhus/win-release)\n\n> Get the name of a Windows version from the release number: `5.1.2600` → `XP`\n\n\n## Install\n\n```\n$ npm install --save win-release\n```\n\n\n## Usage\n\n```js\nvar os = require('os');\nvar winRelease = require('win-release');\n\n// on a Windows XP system\n\nwinRelease();\n//=> 'XP'\n\nos.release();\n//=> '5.1.2600'\n\nwinRelease(os.release());\n//=> 'XP'\n\nwinRelease('4.9.3000');\n//=> 'ME'\n```\n\n\n## API\n\n### winRelease([release])\n\n#### release\n\nType: `string`\n\nBy default the current OS is used, but you can supply a custom release number, 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\n- [osx-release](https://github.com/sindresorhus/osx-release) - Get the name and version of a OS X release from the Darwin version\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n", "readmeFilename": "readme.md", "repository": { "type": "git", "url": "git+https://github.com/sindresorhus/win-release.git" }, "scripts": { "test": "xo && ava" }, "version": "1.1.1" }