package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. {
  2. "_args": [
  3. [
  4. {
  5. "raw": "os-locale@^1.4.0",
  6. "scope": null,
  7. "escapedName": "os-locale",
  8. "name": "os-locale",
  9. "rawSpec": "^1.4.0",
  10. "spec": ">=1.4.0 <2.0.0",
  11. "type": "range"
  12. },
  13. "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/yargs"
  14. ]
  15. ],
  16. "_from": "os-locale@>=1.4.0 <2.0.0",
  17. "_id": "os-locale@1.4.0",
  18. "_inCache": true,
  19. "_location": "/os-locale",
  20. "_nodeVersion": "3.0.0",
  21. "_npmUser": {
  22. "name": "sindresorhus",
  23. "email": "sindresorhus@gmail.com"
  24. },
  25. "_npmVersion": "2.13.3",
  26. "_phantomChildren": {},
  27. "_requested": {
  28. "raw": "os-locale@^1.4.0",
  29. "scope": null,
  30. "escapedName": "os-locale",
  31. "name": "os-locale",
  32. "rawSpec": "^1.4.0",
  33. "spec": ">=1.4.0 <2.0.0",
  34. "type": "range"
  35. },
  36. "_requiredBy": [
  37. "/yargs"
  38. ],
  39. "_resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz",
  40. "_shasum": "20f9f17ae29ed345e8bde583b13d2009803c14d9",
  41. "_shrinkwrap": null,
  42. "_spec": "os-locale@^1.4.0",
  43. "_where": "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/yargs",
  44. "author": {
  45. "name": "Sindre Sorhus",
  46. "email": "sindresorhus@gmail.com",
  47. "url": "sindresorhus.com"
  48. },
  49. "bugs": {
  50. "url": "https://github.com/sindresorhus/os-locale/issues"
  51. },
  52. "dependencies": {
  53. "lcid": "^1.0.0"
  54. },
  55. "description": "Get the system locale",
  56. "devDependencies": {
  57. "ava": "*",
  58. "require-uncached": "^1.0.2",
  59. "xo": "*"
  60. },
  61. "directories": {},
  62. "dist": {
  63. "shasum": "20f9f17ae29ed345e8bde583b13d2009803c14d9",
  64. "tarball": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz"
  65. },
  66. "engines": {
  67. "node": ">=0.10.0"
  68. },
  69. "files": [
  70. "index.js"
  71. ],
  72. "gitHead": "b5c88233910b2e959fe84d841addb7a15e1cc813",
  73. "homepage": "https://github.com/sindresorhus/os-locale#readme",
  74. "keywords": [
  75. "locale",
  76. "lang",
  77. "language",
  78. "system",
  79. "os",
  80. "string",
  81. "str",
  82. "user",
  83. "country",
  84. "id",
  85. "identifier",
  86. "region"
  87. ],
  88. "license": "MIT",
  89. "maintainers": [
  90. {
  91. "name": "abg",
  92. "email": "andrewbgoode@gmail.com"
  93. },
  94. {
  95. "name": "bcoe",
  96. "email": "ben@npmjs.com"
  97. },
  98. {
  99. "name": "sindresorhus",
  100. "email": "sindresorhus@gmail.com"
  101. }
  102. ],
  103. "name": "os-locale",
  104. "optionalDependencies": {},
  105. "readme": "# os-locale [![Build Status](https://travis-ci.org/sindresorhus/os-locale.svg?branch=master)](https://travis-ci.org/sindresorhus/os-locale)\n\n> Get the system [locale](http://en.wikipedia.org/wiki/Locale)\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## Install\n\n```\n$ npm install --save os-locale\n```\n\n\n## Usage\n\n```js\nvar osLocale = require('os-locale');\n\nosLocale(function (err, locale) {\n\tconsole.log(locale);\n\t//=> 'en_US'\n});\n```\n\n\n## API\n\n### osLocale([options], callback(error, locale))\n\n### osLocale.sync([options])\n\nReturns the locale.\n\n#### options.spawn\n\nType: `boolean` \nDefault: `true`\n\nSet to `false` to avoid spawning subprocesses and instead only resolve the locale from environment variables.\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
  106. "readmeFilename": "readme.md",
  107. "repository": {
  108. "type": "git",
  109. "url": "git+https://github.com/sindresorhus/os-locale.git"
  110. },
  111. "scripts": {
  112. "test": "xo && ava"
  113. },
  114. "version": "1.4.0"
  115. }