package.json 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "_args": [
  3. [
  4. {
  5. "raw": "has-unicode@^2.0.0",
  6. "scope": null,
  7. "escapedName": "has-unicode",
  8. "name": "has-unicode",
  9. "rawSpec": "^2.0.0",
  10. "spec": ">=2.0.0 <3.0.0",
  11. "type": "range"
  12. },
  13. "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/gauge"
  14. ]
  15. ],
  16. "_from": "has-unicode@>=2.0.0 <3.0.0",
  17. "_id": "has-unicode@2.0.1",
  18. "_inCache": true,
  19. "_location": "/has-unicode",
  20. "_nodeVersion": "4.4.0",
  21. "_npmOperationalInternal": {
  22. "host": "packages-12-west.internal.npmjs.com",
  23. "tmp": "tmp/has-unicode-2.0.1.tgz_1466719828333_0.48896647873334587"
  24. },
  25. "_npmUser": {
  26. "name": "iarna",
  27. "email": "me@re-becca.org"
  28. },
  29. "_npmVersion": "3.10.2",
  30. "_phantomChildren": {},
  31. "_requested": {
  32. "raw": "has-unicode@^2.0.0",
  33. "scope": null,
  34. "escapedName": "has-unicode",
  35. "name": "has-unicode",
  36. "rawSpec": "^2.0.0",
  37. "spec": ">=2.0.0 <3.0.0",
  38. "type": "range"
  39. },
  40. "_requiredBy": [
  41. "/gauge"
  42. ],
  43. "_resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",
  44. "_shasum": "e0e6fe6a28cf51138855e086d1691e771de2a8b9",
  45. "_shrinkwrap": null,
  46. "_spec": "has-unicode@^2.0.0",
  47. "_where": "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/gauge",
  48. "author": {
  49. "name": "Rebecca Turner",
  50. "email": "me@re-becca.org"
  51. },
  52. "bugs": {
  53. "url": "https://github.com/iarna/has-unicode/issues"
  54. },
  55. "dependencies": {},
  56. "description": "Try to guess if your terminal supports unicode",
  57. "devDependencies": {
  58. "require-inject": "^1.3.0",
  59. "tap": "^2.3.1"
  60. },
  61. "directories": {},
  62. "dist": {
  63. "shasum": "e0e6fe6a28cf51138855e086d1691e771de2a8b9",
  64. "tarball": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz"
  65. },
  66. "files": [
  67. "index.js"
  68. ],
  69. "gitHead": "0a05df154e8d89a7fb9798da60b68c78c2df6646",
  70. "homepage": "https://github.com/iarna/has-unicode",
  71. "keywords": [
  72. "unicode",
  73. "terminal"
  74. ],
  75. "license": "ISC",
  76. "main": "index.js",
  77. "maintainers": [
  78. {
  79. "name": "iarna",
  80. "email": "me@re-becca.org"
  81. }
  82. ],
  83. "name": "has-unicode",
  84. "optionalDependencies": {},
  85. "readme": "has-unicode\n===========\n\nTry to guess if your terminal supports unicode\n\n```javascript\nvar hasUnicode = require(\"has-unicode\")\n\nif (hasUnicode()) {\n // the terminal probably has unicode support\n}\n```\n```javascript\nvar hasUnicode = require(\"has-unicode\").tryHarder\nhasUnicode(function(unicodeSupported) {\n if (unicodeSupported) {\n // the terminal probably has unicode support\n }\n})\n```\n\n## Detecting Unicode\n\nWhat we actually detect is UTF-8 support, as that's what Node itself supports.\nIf you have a UTF-16 locale then you won't be detected as unicode capable.\n\n### Windows\n\nSince at least Windows 7, `cmd` and `powershell` have been unicode capable,\nbut unfortunately even then it's not guaranteed. In many localizations it\nstill uses legacy code pages and there's no facility short of running\nprograms or linking C++ that will let us detect this. As such, we\nreport any Windows installation as NOT unicode capable, and recommend\nthat you encourage your users to override this via config.\n\n### Unix Like Operating Systems\n\nWe look at the environment variables `LC_ALL`, `LC_CTYPE`, and `LANG` in\nthat order. For `LC_ALL` and `LANG`, it looks for `.UTF-8` in the value. \nFor `LC_CTYPE` it looks to see if the value is `UTF-8`. This is sufficient\nfor most POSIX systems. While locale data can be put in `/etc/locale.conf`\nas well, AFAIK it's always copied into the environment.\n\n",
  86. "readmeFilename": "README.md",
  87. "repository": {
  88. "type": "git",
  89. "url": "git+https://github.com/iarna/has-unicode.git"
  90. },
  91. "scripts": {
  92. "test": "tap test/*.js"
  93. },
  94. "version": "2.0.1"
  95. }