string-width
Advanced tools
+2
-2
| { | ||
| "name": "string-width", | ||
| "version": "3.0.0", | ||
| "version": "3.1.0", | ||
| "description": "Get the visual width of a string - the number of columns required to display it", | ||
@@ -50,3 +50,3 @@ "license": "MIT", | ||
| "is-fullwidth-code-point": "^2.0.0", | ||
| "strip-ansi": "^5.0.0" | ||
| "strip-ansi": "^5.1.0" | ||
| }, | ||
@@ -53,0 +53,0 @@ "devDependencies": { |
+3
-0
@@ -30,2 +30,5 @@ # string-width [](https://travis-ci.org/sindresorhus/string-width) | ||
| //=> 1 | ||
| stringWidth('\u001B]8;;https://github.com\u0007Click\u001B]8;;\u0007'); | ||
| // => 5 | ||
| ``` | ||
@@ -32,0 +35,0 @@ |
4009
2.06%46
6.98%Updated