pnpm
Version:
Fast, disk space efficient package manager
126 lines (125 loc) • 5.63 kB
JSON
{
"_args": [
[
{
"raw": "os-locale@^3.0.0",
"scope": null,
"escapedName": "os-locale",
"name": "os-locale",
"rawSpec": "^3.0.0",
"spec": ">=3.0.0 <4.0.0",
"type": "range"
},
"/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/yargs"
]
],
"_from": "os-locale@^3.0.0",
"_hasShrinkwrap": false,
"_id": "os-locale@3.1.0",
"_location": "/os-locale",
"_nodeVersion": "8.12.0",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/os-locale_3.1.0_1545854172320_0.11432408476987388"
},
"_npmUser": {
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
},
"_npmVersion": "6.4.1",
"_phantomChildren": {},
"_requested": {
"raw": "os-locale@^3.0.0",
"scope": null,
"escapedName": "os-locale",
"name": "os-locale",
"rawSpec": "^3.0.0",
"spec": ">=3.0.0 <4.0.0",
"type": "range"
},
"_requiredBy": [
"/yargs"
],
"_resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz",
"_shasum": "a802a6ee17f24c10483ab9935719cef4ed16bf1a",
"_shrinkwrap": null,
"_spec": "os-locale@^3.0.0",
"_where": "/home/zoltan/src/pnpm/pnpm/packages/pnpm/node_modules/yargs",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/os-locale/issues"
},
"dependencies": {
"execa": "^1.0.0",
"lcid": "^2.0.0",
"mem": "^4.0.0"
},
"description": "Get the system locale",
"devDependencies": {
"ava": "^1.0.1",
"import-fresh": "^3.0.0",
"xo": "^0.23.0"
},
"directories": {},
"dist": {
"integrity": "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==",
"shasum": "a802a6ee17f24c10483ab9935719cef4ed16bf1a",
"tarball": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz",
"fileCount": 4,
"unpackedSize": 6183,
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcI9zdCRA9TVsSAnZWagAAdfcP/jH3KU/YxFmj/U3WAf0s\n5/BcSktePvb61zluirtXhfzpLqcu7He1lgact3tQX+e1bs59F1HD8iMTI+/A\nHo+4e2YyUk8WRup3a4RyO0w9z/fy+S8TxO17AXpJFQpXQLrUXzC4XOvQNLdT\niJlccoQdG3/zEmOwU1F0QYImnkoD8DFXaaxyaIiMpwTWR3zjiRldwsx1tk11\nXfDvpb03ViMXbe2jzqJyDHG1H22OR0A5JnFSVtQBuF4vqcFwyMeAda01fP0n\n2MYovWHS8L85RYBR8iciYT/Bte3jZVNbNWXQsDWfBwW9CB7Ofx/vMFDWUnnB\nKED4s8WlyfR6rfrUhMYl9TBMead5TY0mr9ueT2tXVAbPayYe+FdrduQdrr3q\nV/kimt14ZuHu936mVh6ox5aggKaHu8oUh+8tjy5mO+kbUcLdsZbSZKDd7mCb\n9RHe6whojm6DqsLj9l/vKcbc4adHSZlWiWgjiPnPSc281I0//s37XKSXnTlM\nQeBxgCWat4wprFvcBhSdv6dlSqhGDicK6cImAhJVXOoYYvtN1WTEE64TmLUh\nzxsBF0wudMDScJX+6nXi5boEc6T2FhnwT/J2b4pFkKdI9D+LpaENmJUUrbPa\npVmJWZyWiHj1quqz3Rt21UUx3sesSPGl7p6Jbxp2DwyUqAjjSsR9SYc/G0qu\ny541\r\n=HOiP\r\n-----END PGP SIGNATURE-----\r\n"
},
"engines": {
"node": ">=6"
},
"files": [
"index.js"
],
"gitHead": "7d4d2b5c47a1176e6b73879ec64128e8a6ece938",
"homepage": "https://github.com/sindresorhus/os-locale#readme",
"keywords": [
"locale",
"lang",
"language",
"system",
"os",
"string",
"str",
"user",
"country",
"id",
"identifier",
"region"
],
"license": "MIT",
"maintainers": [
{
"name": "bcoe",
"email": "ben@npmjs.com"
},
{
"name": "nexdrew",
"email": "andrewbgoode@gmail.com"
},
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"name": "os-locale",
"optionalDependencies": {},
"readme": "# os-locale [](https://travis-ci.org/sindresorhus/os-locale)\n\n> Get the system [locale](https://en.wikipedia.org/wiki/Locale_(computer_software))\n\nUseful for localizing your module or app.\n\nPOSIX systems: The returned locale refers to the [`LC_MESSAGE`](http://www.gnu.org/software/libc/manual/html_node/Locale-Categories.html#Locale-Categories) category, suitable for selecting the language used in the user interface for message translation.\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-os-locale?utm_source=npm-os-locale&utm_medium=referral&utm_campaign=readme\">Get professional support for 'os-locale' 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\n---\n\n## Install\n\n```\n$ npm install os-locale\n```\n\n\n## Usage\n\n```js\nconst osLocale = require('os-locale');\n\n(async () => {\n\tconsole.log(await osLocale());\n\t//=> 'en_US'\n})();\n```\n\n\n## API\n\n### osLocale([options])\n\nReturns a `Promise` for the locale.\n\n### osLocale.sync([options])\n\nReturns the locale.\n\n#### options\n\nType: `Object`\n\n##### spawn\n\nType: `boolean`<br>\nDefault: `true`\n\nSet to `false` to avoid spawning subprocesses and instead only resolve the locale from environment variables.\n\n\n## Security\n\nTo report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/os-locale.git"
},
"scripts": {
"test": "xo && ava"
},
"version": "3.1.0"
}