package.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "string-width",
  3. "version": "7.2.0",
  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": {
  15. "types": "./index.d.ts",
  16. "default": "./index.js"
  17. },
  18. "sideEffects": false,
  19. "engines": {
  20. "node": ">=18"
  21. },
  22. "scripts": {
  23. "test": "xo && ava && tsd"
  24. },
  25. "files": [
  26. "index.js",
  27. "index.d.ts"
  28. ],
  29. "keywords": [
  30. "string",
  31. "character",
  32. "unicode",
  33. "width",
  34. "visual",
  35. "column",
  36. "columns",
  37. "fullwidth",
  38. "full-width",
  39. "full",
  40. "ansi",
  41. "escape",
  42. "codes",
  43. "cli",
  44. "command-line",
  45. "terminal",
  46. "console",
  47. "cjk",
  48. "chinese",
  49. "japanese",
  50. "korean",
  51. "fixed-width",
  52. "east-asian-width"
  53. ],
  54. "dependencies": {
  55. "emoji-regex": "^10.3.0",
  56. "get-east-asian-width": "^1.0.0",
  57. "strip-ansi": "^7.1.0"
  58. },
  59. "devDependencies": {
  60. "ava": "^5.3.1",
  61. "tsd": "^0.29.0",
  62. "xo": "^0.56.0"
  63. }
  64. }