Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

package.json 1.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "name": "string-width",
  3. "version": "5.1.2",
  4. "description": "Get the visual width of a string - the number of columns required to display it",
  5. "license": "MIT",
  6. "repository": "sindresorhus/string-width",
  7. "funding": "https://github.com/sponsors/sindresorhus",
  8. "author": {
  9. "name": "Sindre Sorhus",
  10. "email": "sindresorhus@gmail.com",
  11. "url": "https://sindresorhus.com"
  12. },
  13. "type": "module",
  14. "exports": "./index.js",
  15. "engines": {
  16. "node": ">=12"
  17. },
  18. "scripts": {
  19. "test": "xo && ava && tsd"
  20. },
  21. "files": [
  22. "index.js",
  23. "index.d.ts"
  24. ],
  25. "keywords": [
  26. "string",
  27. "character",
  28. "unicode",
  29. "width",
  30. "visual",
  31. "column",
  32. "columns",
  33. "fullwidth",
  34. "full-width",
  35. "full",
  36. "ansi",
  37. "escape",
  38. "codes",
  39. "cli",
  40. "command-line",
  41. "terminal",
  42. "console",
  43. "cjk",
  44. "chinese",
  45. "japanese",
  46. "korean",
  47. "fixed-width"
  48. ],
  49. "dependencies": {
  50. "eastasianwidth": "^0.2.0",
  51. "emoji-regex": "^9.2.2",
  52. "strip-ansi": "^7.0.1"
  53. },
  54. "devDependencies": {
  55. "ava": "^3.15.0",
  56. "tsd": "^0.14.0",
  57. "xo": "^0.38.2"
  58. }
  59. }