package.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. {
  2. "_args": [
  3. [
  4. {
  5. "raw": "string-width@^1.0.1",
  6. "scope": null,
  7. "escapedName": "string-width",
  8. "name": "string-width",
  9. "rawSpec": "^1.0.1",
  10. "spec": ">=1.0.1 <2.0.0",
  11. "type": "range"
  12. },
  13. "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/gauge"
  14. ]
  15. ],
  16. "_from": "string-width@>=1.0.1 <2.0.0",
  17. "_id": "string-width@1.0.2",
  18. "_inCache": true,
  19. "_location": "/string-width",
  20. "_nodeVersion": "4.4.5",
  21. "_npmOperationalInternal": {
  22. "host": "packages-12-west.internal.npmjs.com",
  23. "tmp": "tmp/string-width-1.0.2.tgz_1471188233009_0.6573935742489994"
  24. },
  25. "_npmUser": {
  26. "name": "sindresorhus",
  27. "email": "sindresorhus@gmail.com"
  28. },
  29. "_npmVersion": "2.15.5",
  30. "_phantomChildren": {},
  31. "_requested": {
  32. "raw": "string-width@^1.0.1",
  33. "scope": null,
  34. "escapedName": "string-width",
  35. "name": "string-width",
  36. "rawSpec": "^1.0.1",
  37. "spec": ">=1.0.1 <2.0.0",
  38. "type": "range"
  39. },
  40. "_requiredBy": [
  41. "/cliui",
  42. "/gauge",
  43. "/wide-align",
  44. "/wrap-ansi",
  45. "/yargs"
  46. ],
  47. "_resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
  48. "_shasum": "118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3",
  49. "_shrinkwrap": null,
  50. "_spec": "string-width@^1.0.1",
  51. "_where": "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/gauge",
  52. "author": {
  53. "name": "Sindre Sorhus",
  54. "email": "sindresorhus@gmail.com",
  55. "url": "sindresorhus.com"
  56. },
  57. "bugs": {
  58. "url": "https://github.com/sindresorhus/string-width/issues"
  59. },
  60. "dependencies": {
  61. "code-point-at": "^1.0.0",
  62. "is-fullwidth-code-point": "^1.0.0",
  63. "strip-ansi": "^3.0.0"
  64. },
  65. "description": "Get the visual width of a string - the number of columns required to display it",
  66. "devDependencies": {
  67. "ava": "*",
  68. "xo": "*"
  69. },
  70. "directories": {},
  71. "dist": {
  72. "shasum": "118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3",
  73. "tarball": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz"
  74. },
  75. "engines": {
  76. "node": ">=0.10.0"
  77. },
  78. "files": [
  79. "index.js"
  80. ],
  81. "gitHead": "282cf3d53918a92cc3ee0778dcf938039bcbc47b",
  82. "homepage": "https://github.com/sindresorhus/string-width#readme",
  83. "keywords": [
  84. "string",
  85. "str",
  86. "character",
  87. "char",
  88. "unicode",
  89. "width",
  90. "visual",
  91. "column",
  92. "columns",
  93. "fullwidth",
  94. "full-width",
  95. "full",
  96. "ansi",
  97. "escape",
  98. "codes",
  99. "cli",
  100. "command-line",
  101. "terminal",
  102. "console",
  103. "cjk",
  104. "chinese",
  105. "japanese",
  106. "korean",
  107. "fixed-width"
  108. ],
  109. "license": "MIT",
  110. "maintainers": [
  111. {
  112. "name": "sindresorhus",
  113. "email": "sindresorhus@gmail.com"
  114. }
  115. ],
  116. "name": "string-width",
  117. "optionalDependencies": {},
  118. "readme": "# string-width [![Build Status](https://travis-ci.org/sindresorhus/string-width.svg?branch=master)](https://travis-ci.org/sindresorhus/string-width)\n\n> Get the visual width of a string - the number of columns required to display it\n\nSome Unicode characters are [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) and use double the normal width. [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code) are stripped and doesn't affect the width.\n\nUseful to be able to measure the actual width of command-line output.\n\n\n## Install\n\n```\n$ npm install --save string-width\n```\n\n\n## Usage\n\n```js\nconst stringWidth = require('string-width');\n\nstringWidth('古');\n//=> 2\n\nstringWidth('\\u001b[1m古\\u001b[22m');\n//=> 2\n\nstringWidth('a');\n//=> 1\n```\n\n\n## Related\n\n- [string-width-cli](https://github.com/sindresorhus/string-width-cli) - CLI for this module\n- [string-length](https://github.com/sindresorhus/string-length) - Get the real length of a string\n- [widest-line](https://github.com/sindresorhus/widest-line) - Get the visual width of the widest line in a string\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
  119. "readmeFilename": "readme.md",
  120. "repository": {
  121. "type": "git",
  122. "url": "git+https://github.com/sindresorhus/string-width.git"
  123. },
  124. "scripts": {
  125. "test": "xo && ava"
  126. },
  127. "version": "1.0.2"
  128. }