package.json 803 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "name": "string-length",
  3. "version": "2.0.0",
  4. "description": "Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes",
  5. "license": "MIT",
  6. "repository": "sindresorhus/string-length",
  7. "author": {
  8. "name": "Sindre Sorhus",
  9. "email": "sindresorhus@gmail.com",
  10. "url": "sindresorhus.com"
  11. },
  12. "engines": {
  13. "node": ">=4"
  14. },
  15. "scripts": {
  16. "test": "xo && ava"
  17. },
  18. "files": [
  19. "index.js"
  20. ],
  21. "keywords": [
  22. "unicode",
  23. "string",
  24. "length",
  25. "size",
  26. "count",
  27. "astral",
  28. "symbol",
  29. "surrogates",
  30. "codepoints",
  31. "ansi",
  32. "escape",
  33. "codes"
  34. ],
  35. "dependencies": {
  36. "astral-regex": "^1.0.0",
  37. "strip-ansi": "^4.0.0"
  38. },
  39. "devDependencies": {
  40. "ava": "*",
  41. "xo": "*"
  42. }
  43. }