| 1 |
{ |
| 2 |
"_id": "string-length", |
| 3 |
"_rev": "16-7e2dd1e4bfdf142c29030c9d8c57b1ce", |
| 4 |
"name": "string-length", |
| 5 |
"description": "Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "4.0.1" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"0.1.0": { |
| 11 |
"name": "string-length", |
| 12 |
"version": "0.1.0", |
| 13 |
"description": "Get the real length of a string by correctly counting astral symbols", |
| 14 |
"license": "MIT", |
| 15 |
"repository": { |
| 16 |
"type": "git", |
| 17 |
"url": "git://github.com/sindresorhus/string-length" |
| 18 |
}, |
| 19 |
"author": { |
| 20 |
"name": "Sindre Sorhus", |
| 21 |
"email": "[email protected]", |
| 22 |
"url": "http://sindresorhus.com" |
| 23 |
}, |
| 24 |
"engines": { |
| 25 |
"node": ">=0.10.0" |
| 26 |
}, |
| 27 |
"scripts": { |
| 28 |
"test": "mocha", |
| 29 |
"browser": "browserify -s $npm_package_name -o browser.js ." |
| 30 |
}, |
| 31 |
"files": [ |
| 32 |
"index.js" |
| 33 |
], |
| 34 |
"keywords": [ |
| 35 |
"unicode", |
| 36 |
"string", |
| 37 |
"str", |
| 38 |
"length", |
| 39 |
"astral", |
| 40 |
"symbol", |
| 41 |
"surrogates", |
| 42 |
"codepoints" |
| 43 |
], |
| 44 |
"devDependencies": { |
| 45 |
"mocha": "*", |
| 46 |
"browserify": "^3.0.0" |
| 47 |
}, |
| 48 |
"bugs": { |
| 49 |
"url": "https://github.com/sindresorhus/string-length/issues" |
| 50 |
}, |
| 51 |
"homepage": "https://github.com/sindresorhus/string-length", |
| 52 |
"_id": "[email protected]", |
| 53 |
"dist": { |
| 54 |
"shasum": "ecedc88d6f5393cc7d13a4439b111cf60fb56ad1", |
| 55 |
"tarball": "https://registry.npmjs.org/string-length/-/string-length-0.1.0.tgz" |
| 56 |
}, |
| 57 |
"_from": ".", |
| 58 |
"_npmVersion": "1.4.6", |
| 59 |
"_npmUser": { |
| 60 |
"name": "sindresorhus", |
| 61 |
"email": "[email protected]" |
| 62 |
}, |
| 63 |
"maintainers": [ |
| 64 |
{ |
| 65 |
"name": "sindresorhus", |
| 66 |
"email": "[email protected]" |
| 67 |
} |
| 68 |
], |
| 69 |
"directories": {} |
| 70 |
}, |
| 71 |
"0.1.1": { |
| 72 |
"name": "string-length", |
| 73 |
"version": "0.1.1", |
| 74 |
"description": "Get the real length of a string by correctly counting astral symbols", |
| 75 |
"license": "MIT", |
| 76 |
"repository": { |
| 77 |
"type": "git", |
| 78 |
"url": "git://github.com/sindresorhus/string-length" |
| 79 |
}, |
| 80 |
"author": { |
| 81 |
"name": "Sindre Sorhus", |
| 82 |
"email": "[email protected]", |
| 83 |
"url": "http://sindresorhus.com" |
| 84 |
}, |
| 85 |
"engines": { |
| 86 |
"node": ">=0.10.0" |
| 87 |
}, |
| 88 |
"scripts": { |
| 89 |
"test": "mocha", |
| 90 |
"browser": "browserify -s $npm_package_name -o browser.js ." |
| 91 |
}, |
| 92 |
"files": [ |
| 93 |
"index.js" |
| 94 |
], |
| 95 |
"keywords": [ |
| 96 |
"unicode", |
| 97 |
"string", |
| 98 |
"str", |
| 99 |
"length", |
| 100 |
"astral", |
| 101 |
"symbol", |
| 102 |
"surrogates", |
| 103 |
"codepoints" |
| 104 |
], |
| 105 |
"devDependencies": { |
| 106 |
"mocha": "*", |
| 107 |
"browserify": "^3.0.0" |
| 108 |
}, |
| 109 |
"bugs": { |
| 110 |
"url": "https://github.com/sindresorhus/string-length/issues" |
| 111 |
}, |
| 112 |
"homepage": "https://github.com/sindresorhus/string-length", |
| 113 |
"_id": "[email protected]", |
| 114 |
"dist": { |
| 115 |
"shasum": "ab77870cddfd4a41deab673e5f6b03b92f3d4172", |
| 116 |
"tarball": "https://registry.npmjs.org/string-length/-/string-length-0.1.1.tgz" |
| 117 |
}, |
| 118 |
"_from": ".", |
| 119 |
"_npmVersion": "1.4.6", |
| 120 |
"_npmUser": { |
| 121 |
"name": "sindresorhus", |
| 122 |
"email": "[email protected]" |
| 123 |
}, |
| 124 |
"maintainers": [ |
| 125 |
{ |
| 126 |
"name": "sindresorhus", |
| 127 |
"email": "[email protected]" |
| 128 |
} |
| 129 |
], |
| 130 |
"directories": {} |
| 131 |
}, |
| 132 |
"0.1.2": { |
| 133 |
"name": "string-length", |
| 134 |
"version": "0.1.2", |
| 135 |
"description": "Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes", |
| 136 |
"license": "MIT", |
| 137 |
"repository": { |
| 138 |
"type": "git", |
| 139 |
"url": "git://github.com/sindresorhus/string-length" |
| 140 |
}, |
| 141 |
"author": { |
| 142 |
"name": "Sindre Sorhus", |
| 143 |
"email": "[email protected]", |
| 144 |
"url": "http://sindresorhus.com" |
| 145 |
}, |
| 146 |
"engines": { |
| 147 |
"node": ">=0.10.0" |
| 148 |
}, |
| 149 |
"scripts": { |
| 150 |
"test": "mocha", |
| 151 |
"browser": "browserify -s $npm_package_name -o browser.js ." |
| 152 |
}, |
| 153 |
"files": [ |
| 154 |
"index.js" |
| 155 |
], |
| 156 |
"keywords": [ |
| 157 |
"unicode", |
| 158 |
"string", |
| 159 |
"str", |
| 160 |
"length", |
| 161 |
"astral", |
| 162 |
"symbol", |
| 163 |
"surrogates", |
| 164 |
"codepoints", |
| 165 |
"ansi", |
| 166 |
"escape", |
| 167 |
"codes" |
| 168 |
], |
| 169 |
"dependencies": { |
| 170 |
"strip-ansi": "^0.2.1" |
| 171 |
}, |
| 172 |
"devDependencies": { |
| 173 |
"mocha": "*", |
| 174 |
"browserify": "^3.0.0" |
| 175 |
}, |
| 176 |
"bugs": { |
| 177 |
"url": "https://github.com/sindresorhus/string-length/issues" |
| 178 |
}, |
| 179 |
"homepage": "https://github.com/sindresorhus/string-length", |
| 180 |
"_id": "[email protected]", |
| 181 |
"dist": { |
| 182 |
"shasum": "ab04bb33867ee74beed7fb89bb7f089d392780f2", |
| 183 |
"tarball": "https://registry.npmjs.org/string-length/-/string-length-0.1.2.tgz" |
| 184 |
}, |
| 185 |
"_from": ".", |
| 186 |
"_npmVersion": "1.4.6", |
| 187 |
"_npmUser": { |
| 188 |
"name": "sindresorhus", |
| 189 |
"email": "[email protected]" |
| 190 |
}, |
| 191 |
"maintainers": [ |
| 192 |
{ |
| 193 |
"name": "sindresorhus", |
| 194 |
"email": "[email protected]" |
| 195 |
} |
| 196 |
], |
| 197 |
"directories": {} |
| 198 |
}, |
| 199 |
"1.0.0": { |
| 200 |
"name": "string-length", |
| 201 |
"version": "1.0.0", |
| 202 |
"description": "Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes", |
| 203 |
"license": "MIT", |
| 204 |
"repository": { |
| 205 |
"type": "git", |
| 206 |
"url": "git://github.com/sindresorhus/string-length" |
| 207 |
}, |
| 208 |
"author": { |
| 209 |
"name": "Sindre Sorhus", |
| 210 |
"email": "[email protected]", |
| 211 |
"url": "http://sindresorhus.com" |
| 212 |
}, |
| 213 |
"engines": { |
| 214 |
"node": ">=0.10.0" |
| 215 |
}, |
| 216 |
"scripts": { |
| 217 |
"test": "mocha" |
| 218 |
}, |
| 219 |
"files": [ |
| 220 |
"index.js" |
| 221 |
], |
| 222 |
"keywords": [ |
| 223 |
"unicode", |
| 224 |
"string", |
| 225 |
"str", |
| 226 |
"length", |
| 227 |
"astral", |
| 228 |
"symbol", |
| 229 |
"surrogates", |
| 230 |
"codepoints", |
| 231 |
"ansi", |
| 232 |
"escape", |
| 233 |
"codes" |
| 234 |
], |
| 235 |
"dependencies": { |
| 236 |
"strip-ansi": "^2.0.0" |
| 237 |
}, |
| 238 |
"devDependencies": { |
| 239 |
"mocha": "*" |
| 240 |
}, |
| 241 |
"gitHead": "5aa9b5946c927c2884a49741a066fdb3f30a6aa1", |
| 242 |
"bugs": { |
| 243 |
"url": "https://github.com/sindresorhus/string-length/issues" |
| 244 |
}, |
| 245 |
"homepage": "https://github.com/sindresorhus/string-length", |
| 246 |
"_id": "[email protected]", |
| 247 |
"_shasum": "5f0564b174feb299595a763da71513266370d3a9", |
| 248 |
"_from": ".", |
| 249 |
"_npmVersion": "1.4.14", |
| 250 |
"_npmUser": { |
| 251 |
"name": "sindresorhus", |
| 252 |
"email": "[email protected]" |
| 253 |
}, |
| 254 |
"maintainers": [ |
| 255 |
{ |
| 256 |
"name": "sindresorhus", |
| 257 |
"email": "[email protected]" |
| 258 |
} |
| 259 |
], |
| 260 |
"dist": { |
| 261 |
"shasum": "5f0564b174feb299595a763da71513266370d3a9", |
| 262 |
"tarball": "https://registry.npmjs.org/string-length/-/string-length-1.0.0.tgz" |
| 263 |
}, |
| 264 |
"directories": {} |
| 265 |
}, |
| 266 |
"1.0.1": { |
| 267 |
"name": "string-length", |
| 268 |
"version": "1.0.1", |
| 269 |
"description": "Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes", |
| 270 |
"license": "MIT", |
| 271 |
"repository": { |
| 272 |
"type": "git", |
| 273 |
"url": "https://github.com/sindresorhus/string-length" |
| 274 |
}, |
| 275 |
"author": { |
| 276 |
"name": "Sindre Sorhus", |
| 277 |
"email": "[email protected]", |
| 278 |
"url": "sindresorhus.com" |
| 279 |
}, |
| 280 |
"engines": { |
| 281 |
"node": ">=0.10.0" |
| 282 |
}, |
| 283 |
"scripts": { |
| 284 |
"test": "mocha" |
| 285 |
}, |
| 286 |
"files": [ |
| 287 |
"index.js" |
| 288 |
], |
| 289 |
"keywords": [ |
| 290 |
"unicode", |
| 291 |
"string", |
| 292 |
"str", |
| 293 |
"length", |
| 294 |
"astral", |
| 295 |
"symbol", |
| 296 |
"surrogates", |
| 297 |
"codepoints", |
| 298 |
"ansi", |
| 299 |
"escape", |
| 300 |
"codes" |
| 301 |
], |
| 302 |
"dependencies": { |
| 303 |
"strip-ansi": "^3.0.0" |
| 304 |
}, |
| 305 |
"devDependencies": { |
| 306 |
"mocha": "*" |
| 307 |
}, |
| 308 |
"gitHead": "18c47a338a5f7b8df45566579ff588ba7a82ac6e", |
| 309 |
"bugs": { |
| 310 |
"url": "https://github.com/sindresorhus/string-length/issues" |
| 311 |
}, |
| 312 |
"homepage": "https://github.com/sindresorhus/string-length", |
| 313 |
"_id": "[email protected]", |
| 314 |
"_shasum": "56970fb1c38558e9e70b728bf3de269ac45adfac", |
| 315 |
"_from": ".", |
| 316 |
"_npmVersion": "2.11.2", |
| 317 |
"_nodeVersion": "0.12.5", |
| 318 |
"_npmUser": { |
| 319 |
"name": "sindresorhus", |
| 320 |
"email": "[email protected]" |
| 321 |
}, |
| 322 |
"dist": { |
| 323 |
"shasum": "56970fb1c38558e9e70b728bf3de269ac45adfac", |
| 324 |
"tarball": "https://registry.npmjs.org/string-length/-/string-length-1.0.1.tgz" |
| 325 |
}, |
| 326 |
"maintainers": [ |
| 327 |
{ |
| 328 |
"name": "sindresorhus", |
| 329 |
"email": "[email protected]" |
| 330 |
} |
| 331 |
], |
| 332 |
"directories": {} |
| 333 |
}, |
| 334 |
"2.0.0": { |
| 335 |
"name": "string-length", |
| 336 |
"version": "2.0.0", |
| 337 |
"description": "Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes", |
| 338 |
"license": "MIT", |
| 339 |
"repository": { |
| 340 |
"type": "git", |
| 341 |
"url": "git+https://github.com/sindresorhus/string-length.git" |
| 342 |
}, |
| 343 |
"author": { |
| 344 |
"name": "Sindre Sorhus", |
| 345 |
"email": "[email protected]", |
| 346 |
"url": "sindresorhus.com" |
| 347 |
}, |
| 348 |
"engines": { |
| 349 |
"node": ">=4" |
| 350 |
}, |
| 351 |
"scripts": { |
| 352 |
"test": "xo && ava" |
| 353 |
}, |
| 354 |
"files": [ |
| 355 |
"index.js" |
| 356 |
], |
| 357 |
"keywords": [ |
| 358 |
"unicode", |
| 359 |
"string", |
| 360 |
"length", |
| 361 |
"size", |
| 362 |
"count", |
| 363 |
"astral", |
| 364 |
"symbol", |
| 365 |
"surrogates", |
| 366 |
"codepoints", |
| 367 |
"ansi", |
| 368 |
"escape", |
| 369 |
"codes" |
| 370 |
], |
| 371 |
"dependencies": { |
| 372 |
"astral-regex": "^1.0.0", |
| 373 |
"strip-ansi": "^4.0.0" |
| 374 |
}, |
| 375 |
"devDependencies": { |
| 376 |
"ava": "*", |
| 377 |
"xo": "*" |
| 378 |
}, |
| 379 |
"gitHead": "dcdf2d91dcb155923ece3b8f77f2279e49bb1d3f", |
| 380 |
"bugs": { |
| 381 |
"url": "https://github.com/sindresorhus/string-length/issues" |
| 382 |
}, |
| 383 |
"homepage": "https://github.com/sindresorhus/string-length#readme", |
| 384 |
"_id": "[email protected]", |
| 385 |
"_shasum": "d40dbb686a3ace960c1cffca562bf2c45f8363ed", |
| 386 |
"_from": ".", |
| 387 |
"_npmVersion": "2.15.11", |
| 388 |
"_nodeVersion": "4.8.3", |
| 389 |
"_npmUser": { |
| 390 |
"name": "sindresorhus", |
| 391 |
"email": "[email protected]" |
| 392 |
}, |
| 393 |
"dist": { |
| 394 |
"shasum": "d40dbb686a3ace960c1cffca562bf2c45f8363ed", |
| 395 |
"tarball": "https://registry.npmjs.org/string-length/-/string-length-2.0.0.tgz" |
| 396 |
}, |
| 397 |
"maintainers": [ |
| 398 |
{ |
| 399 |
"name": "sindresorhus", |
| 400 |
"email": "[email protected]" |
| 401 |
} |
| 402 |
], |
| 403 |
"_npmOperationalInternal": { |
| 404 |
"host": "s3://npm-registry-packages", |
| 405 |
"tmp": "tmp/string-length-2.0.0.tgz_1501117430278_0.7992605706676841" |
| 406 |
}, |
| 407 |
"directories": {} |
| 408 |
}, |
| 409 |
"3.0.0": { |
| 410 |
"name": "string-length", |
| 411 |
"version": "3.0.0", |
| 412 |
"description": "Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes", |
| 413 |
"license": "MIT", |
| 414 |
"repository": { |
| 415 |
"type": "git", |
| 416 |
"url": "git+https://github.com/sindresorhus/string-length.git" |
| 417 |
}, |
| 418 |
"author": { |
| 419 |
"name": "Sindre Sorhus", |
| 420 |
"email": "[email protected]", |
| 421 |
"url": "sindresorhus.com" |
| 422 |
}, |
| 423 |
"engines": { |
| 424 |
"node": ">=8" |
| 425 |
}, |
| 426 |
"scripts": { |
| 427 |
"test": "xo && ava && tsd-check" |
| 428 |
}, |
| 429 |
"keywords": [ |
| 430 |
"unicode", |
| 431 |
"string", |
| 432 |
"length", |
| 433 |
"size", |
| 434 |
"count", |
| 435 |
"astral", |
| 436 |
"symbol", |
| 437 |
"surrogates", |
| 438 |
"codepoints", |
| 439 |
"ansi", |
| 440 |
"escape", |
| 441 |
"codes" |
| 442 |
], |
| 443 |
"dependencies": { |
| 444 |
"astral-regex": "^1.0.0", |
| 445 |
"strip-ansi": "^5.1.0" |
| 446 |
}, |
| 447 |
"devDependencies": { |
| 448 |
"ava": "^1.3.1", |
| 449 |
"tsd-check": "^0.5.0", |
| 450 |
"xo": "^0.24.0" |
| 451 |
}, |
| 452 |
"gitHead": "c6c96299320f9b2707de2ac858c2210298219826", |
| 453 |
"bugs": { |
| 454 |
"url": "https://github.com/sindresorhus/string-length/issues" |
| 455 |
}, |
| 456 |
"homepage": "https://github.com/sindresorhus/string-length#readme", |
| 457 |
"_id": "[email protected]", |
| 458 |
"_nodeVersion": "8.15.0", |
| 459 |
"_npmVersion": "6.9.0", |
| 460 |
"_npmUser": { |
| 461 |
"name": "sindresorhus", |
| 462 |
"email": "[email protected]" |
| 463 |
}, |
| 464 |
"dist": { |
| 465 |
"integrity": "sha512-VeZa3u8MpEpDi7NMsZfp6ggk2x6ncBdE+sObPEVlczaUciCc+3ktm46P3HU2KdXArigN4XeEFNaj1Sg9TYAznw==", |
| 466 |
"shasum": "74ae8d207c716322d4a8fe79736170d3b5a4ed94", |
| 467 |
"tarball": "https://registry.npmjs.org/string-length/-/string-length-3.0.0.tgz", |
| 468 |
"fileCount": 5, |
| 469 |
"unpackedSize": 3606, |
| 470 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcj1NaCRA9TVsSAnZWagAAIj8QAICp1SooW059jCwp49DK\nQ2wPRMaIUKGNoAG6dg2/zF42if82Vec6kZDnJaIFXYNDeaAOVhjp+ffamj8M\ncKI1DeK4WbZhlAQfBLE015N+b0OkhLiAoZIgT6RtZDkIyRIAdSA2BAY5MzJ4\nqLFER+sJjWUZJ1rRw1t8tq5u0hNyLUlpuzo22Fq/vTt2dNuCYpWVc83XytZj\nOK4Q6gYEwqYtmDZR3k7LVPJiMW0Ey3Cb1av2DAMCDPoxmvhdM/2qWuxmhhO0\nOppmDG7uM5UJwW+YO4RwYRhy/fBrY+AqpkAbT8csfObjYxHi3hdwmvqNV7aD\nuy1GCTSo73RzDTRd43j9kyC7oO2mJWLgGhyJOqXgvVKv1iCkDFMxUPa5Jljf\nU2UkKA91wP+TNsxdgESYUgQidiW5XIiPhXgx1EfixL51pz2lzTKOBNozNkY5\nQybqrsnvuxoMc/u+t2US1ZD2S/zKNGIhOM7Tj3eE4uNy0KLyfQLNa3mLrqUj\nL1PUTwFKhD615M4uKSfu0Q3WbXm37UX/cI9cwUSUb0LSov38QOIPUotomVQR\ns9ZQ9dl3u0E1glI6wz5Qnguru7Ra5Dt1DCRCXypBXf3xM6f66bLCgNe3FD8C\nuJmzpv0Cw7wHWhS3hI/8ThdVhaBwiTPCP7+rnsGZEu7Ho78sA/vEAvi3+nqI\nzO5Y\r\n=LGLh\r\n-----END PGP SIGNATURE-----\r\n" |
| 471 |
}, |
| 472 |
"maintainers": [ |
| 473 |
{ |
| 474 |
"name": "sindresorhus", |
| 475 |
"email": "[email protected]" |
| 476 |
} |
| 477 |
], |
| 478 |
"directories": {}, |
| 479 |
"_npmOperationalInternal": { |
| 480 |
"host": "s3://npm-registry-packages", |
| 481 |
"tmp": "tmp/string-length_3.0.0_1552896857942_0.1703975027346425" |
| 482 |
}, |
| 483 |
"_hasShrinkwrap": false |
| 484 |
}, |
| 485 |
"3.1.0": { |
| 486 |
"name": "string-length", |
| 487 |
"version": "3.1.0", |
| 488 |
"description": "Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes", |
| 489 |
"license": "MIT", |
| 490 |
"repository": { |
| 491 |
"type": "git", |
| 492 |
"url": "git+https://github.com/sindresorhus/string-length.git" |
| 493 |
}, |
| 494 |
"author": { |
| 495 |
"name": "Sindre Sorhus", |
| 496 |
"email": "[email protected]", |
| 497 |
"url": "sindresorhus.com" |
| 498 |
}, |
| 499 |
"engines": { |
| 500 |
"node": ">=8" |
| 501 |
}, |
| 502 |
"scripts": { |
| 503 |
"test": "xo && ava && tsd" |
| 504 |
}, |
| 505 |
"keywords": [ |
| 506 |
"unicode", |
| 507 |
"string", |
| 508 |
"length", |
| 509 |
"size", |
| 510 |
"count", |
| 511 |
"astral", |
| 512 |
"symbol", |
| 513 |
"surrogates", |
| 514 |
"codepoints", |
| 515 |
"ansi", |
| 516 |
"escape", |
| 517 |
"codes" |
| 518 |
], |
| 519 |
"dependencies": { |
| 520 |
"astral-regex": "^1.0.0", |
| 521 |
"strip-ansi": "^5.2.0" |
| 522 |
}, |
| 523 |
"devDependencies": { |
| 524 |
"ava": "^1.4.1", |
| 525 |
"tsd": "^0.7.1", |
| 526 |
"xo": "^0.24.0" |
| 527 |
}, |
| 528 |
"gitHead": "083c3ae16f416b9b51ab5d1a6763ca883ab94806", |
| 529 |
"bugs": { |
| 530 |
"url": "https://github.com/sindresorhus/string-length/issues" |
| 531 |
}, |
| 532 |
"homepage": "https://github.com/sindresorhus/string-length#readme", |
| 533 |
"_id": "[email protected]", |
| 534 |
"_nodeVersion": "8.15.0", |
| 535 |
"_npmVersion": "6.9.0", |
| 536 |
"_npmUser": { |
| 537 |
"name": "sindresorhus", |
| 538 |
"email": "[email protected]" |
| 539 |
}, |
| 540 |
"dist": { |
| 541 |
"integrity": "sha512-Ttp5YvkGm5v9Ijagtaz1BnN+k9ObpvS0eIBblPMp2YWL8FBmi9qblQ9fexc2k/CXFgrTIteU3jAw3payCnwSTA==", |
| 542 |
"shasum": "107ef8c23456e187a8abd4a61162ff4ac6e25837", |
| 543 |
"tarball": "https://registry.npmjs.org/string-length/-/string-length-3.1.0.tgz", |
| 544 |
"fileCount": 5, |
| 545 |
"unpackedSize": 3886, |
| 546 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcosqLCRA9TVsSAnZWagAAfz8P/2VKDarayTFywfgo43OL\nSrJX2coUS2QEtLmVp8N072fmjxFgvbPZ/bkUgVqZqeD4YEl+kl4uUwhRIlA0\nvLc2fZL1oBKQjqMANkdzN/4CoW93Wc3XodoR01KxUk3cetOlmlrMtdV+VWQO\n3wjeH1YsNgYCafmeU12MReWgPCSbac3TCcrKUHOWlWUO4ieKhJidl9iiV8RN\n74alhuCzhVnyjTpfoPKvxyMOC5LOS95UcTws3T9yy2IUgoSVby0g/TqDFuNj\nApWIIlf0tHWZR2tcSB21lEXfdsdZGOqDUPywmgG84f1OCTIb4uD+tzOb1YUU\nP9aaigq6e99dqAOqV27Lvx/2gbsfeVoMc1K041YoAEYWJD0cKffRrwkg8FYs\nAtvMFJ/lrCIe86Hv13M/HAS/mgp16W7FYtgaNIspeW8+8hD/L3th1suFl9qs\nJwylYOUYVDVGWKLvTFatrSk1XvD/DDzIFqUu8r++8ONOeyEFqbDc0VIpHd9Z\norN3tNM2mWWeu+o8HcBe4lkWsXsBpATo8JsBv1XZ7oQIQc/fl49Uw484yWP6\nmNDTzbKBol2IlVdnwEFkyrhjaibBG2iQKO5oQIZuClB5tbKB7Fcy+mQHGErD\nZlI9EJo/nbQu2wosCkez0AjdWFjQuqVZc2M+e7bx0H+PkYWolZZ+Vs2j2Go9\nb18I\r\n=oJfb\r\n-----END PGP SIGNATURE-----\r\n" |
| 547 |
}, |
| 548 |
"maintainers": [ |
| 549 |
{ |
| 550 |
"name": "sindresorhus", |
| 551 |
"email": "[email protected]" |
| 552 |
} |
| 553 |
], |
| 554 |
"directories": {}, |
| 555 |
"_npmOperationalInternal": { |
| 556 |
"host": "s3://npm-registry-packages", |
| 557 |
"tmp": "tmp/string-length_3.1.0_1554172554425_0.292397781999574" |
| 558 |
}, |
| 559 |
"_hasShrinkwrap": false |
| 560 |
}, |
| 561 |
"4.0.0": { |
| 562 |
"name": "string-length", |
| 563 |
"version": "4.0.0", |
| 564 |
"description": "Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes", |
| 565 |
"license": "MIT", |
| 566 |
"repository": { |
| 567 |
"type": "git", |
| 568 |
"url": "git+https://github.com/sindresorhus/string-length.git" |
| 569 |
}, |
| 570 |
"author": { |
| 571 |
"name": "Sindre Sorhus", |
| 572 |
"email": "[email protected]", |
| 573 |
"url": "https://sindresorhus.com" |
| 574 |
}, |
| 575 |
"engines": { |
| 576 |
"node": ">=10" |
| 577 |
}, |
| 578 |
"scripts": { |
| 579 |
"test": "xo && ava && tsd" |
| 580 |
}, |
| 581 |
"keywords": [ |
| 582 |
"unicode", |
| 583 |
"string", |
| 584 |
"length", |
| 585 |
"size", |
| 586 |
"count", |
| 587 |
"astral", |
| 588 |
"symbol", |
| 589 |
"surrogates", |
| 590 |
"codepoints", |
| 591 |
"ansi", |
| 592 |
"escape", |
| 593 |
"codes" |
| 594 |
], |
| 595 |
"dependencies": { |
| 596 |
"char-regex": "^1.0.2", |
| 597 |
"strip-ansi": "^6.0.0" |
| 598 |
}, |
| 599 |
"devDependencies": { |
| 600 |
"ava": "^3.1.0", |
| 601 |
"tsd": "^0.11.0", |
| 602 |
"xo": "^0.25.3" |
| 603 |
}, |
| 604 |
"gitHead": "ad032d35f027513ee0aa3d80112625133f8b1b25", |
| 605 |
"bugs": { |
| 606 |
"url": "https://github.com/sindresorhus/string-length/issues" |
| 607 |
}, |
| 608 |
"homepage": "https://github.com/sindresorhus/string-length#readme", |
| 609 |
"_id": "[email protected]", |
| 610 |
"_nodeVersion": "10.18.1", |
| 611 |
"_npmVersion": "6.13.4", |
| 612 |
"_npmUser": { |
| 613 |
"name": "sindresorhus", |
| 614 |
"email": "[email protected]" |
| 615 |
}, |
| 616 |
"dist": { |
| 617 |
"integrity": "sha512-GWDgJDQvvIwP4e5IEu0tuOyRUs/bVvQNNdh0HhMnZwo0Kuo4NKmjI/as/9I34+GHYWKkuS0nUrHubgRTs4O4fw==", |
| 618 |
"shasum": "16fda4aa6a5d0e0ca31d9f86ea238c9c8624f69e", |
| 619 |
"tarball": "https://registry.npmjs.org/string-length/-/string-length-4.0.0.tgz", |
| 620 |
"fileCount": 5, |
| 621 |
"unpackedSize": 4050, |
| 622 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeT7fwCRA9TVsSAnZWagAAZwsP/3LJb1ofHdZVvcsGdvJ6\nCWaCIKscBP96eRWJblHF4h2zIkCqoDs9UZA25KrZ478K3B6HH+9Y8WMkI60e\nlhrc0nq14fGd6dxOtzXMlokemRVIUzzIjC/iCD76bhF9+fWa1cvb3j/HeF45\nEUNFabhVKuZzyg5a1HPipt7eHVSv6RQv9RWwHFqNsLgOddWhoLL1EZDLKX8+\ntEbtrxGgf6Dbnm+YeEpyB5jph/uprZpqtVkf88LpxZppx8DvCSW5PPzkeevR\noAiuFanyHuM6TeS8kEk0inHNkqFauaobywvgCS0PetZg4eKVzrVQA04Wf6qd\n7upcQfyhtdLOnLQseEC8uuAEnizrXG2u4xPTty+iCR5ioW+FKWr1lIfXm2Lz\nbedA1WqA44qAUpHT5lQstLEfvbIUM7n+moW/bUgBp5Ph2qGblno/twSkYhAz\nyNrjDP2Bf4WbPt2HHRdVz3a5YscPddHWrUZ8gE9j/UewXpH6mq80DVbt7vLu\nwd2sho6vLAHYks0XLs9OPmWoela093J6YtRk60B2BlKizv/wpBSxqdJOtc39\n074Q9m43fy1gq5R08oifJ/zMsL4mG+tAdmcQDAXv6bUAAmBztMhtGhcIc0hv\nrNsVUkyqQ+UrvF3xmgPYvKZ5idXLEGWG3eYyBWWOZwG66hb2rKRS2C7ydxnP\nnTA/\r\n=zvjD\r\n-----END PGP SIGNATURE-----\r\n" |
| 623 |
}, |
| 624 |
"maintainers": [ |
| 625 |
{ |
| 626 |
"name": "sindresorhus", |
| 627 |
"email": "[email protected]" |
| 628 |
} |
| 629 |
], |
| 630 |
"directories": {}, |
| 631 |
"_npmOperationalInternal": { |
| 632 |
"host": "s3://npm-registry-packages", |
| 633 |
"tmp": "tmp/string-length_4.0.0_1582282735738_0.6335634559747516" |
| 634 |
}, |
| 635 |
"_hasShrinkwrap": false |
| 636 |
}, |
| 637 |
"4.0.1": { |
| 638 |
"name": "string-length", |
| 639 |
"version": "4.0.1", |
| 640 |
"description": "Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes", |
| 641 |
"license": "MIT", |
| 642 |
"repository": { |
| 643 |
"type": "git", |
| 644 |
"url": "git+https://github.com/sindresorhus/string-length.git" |
| 645 |
}, |
| 646 |
"author": { |
| 647 |
"name": "Sindre Sorhus", |
| 648 |
"email": "[email protected]", |
| 649 |
"url": "https://sindresorhus.com" |
| 650 |
}, |
| 651 |
"engines": { |
| 652 |
"node": ">=10" |
| 653 |
}, |
| 654 |
"scripts": { |
| 655 |
"test": "xo && ava && tsd" |
| 656 |
}, |
| 657 |
"keywords": [ |
| 658 |
"unicode", |
| 659 |
"string", |
| 660 |
"length", |
| 661 |
"size", |
| 662 |
"count", |
| 663 |
"astral", |
| 664 |
"symbol", |
| 665 |
"surrogates", |
| 666 |
"codepoints", |
| 667 |
"ansi", |
| 668 |
"escape", |
| 669 |
"codes" |
| 670 |
], |
| 671 |
"dependencies": { |
| 672 |
"char-regex": "^1.0.2", |
| 673 |
"strip-ansi": "^6.0.0" |
| 674 |
}, |
| 675 |
"devDependencies": { |
| 676 |
"ava": "^3.1.0", |
| 677 |
"tsd": "^0.11.0", |
| 678 |
"xo": "^0.25.3" |
| 679 |
}, |
| 680 |
"gitHead": "20a1ad355fbbc11c9b3c4194e70c1302596ea17f", |
| 681 |
"bugs": { |
| 682 |
"url": "https://github.com/sindresorhus/string-length/issues" |
| 683 |
}, |
| 684 |
"homepage": "https://github.com/sindresorhus/string-length#readme", |
| 685 |
"_id": "[email protected]", |
| 686 |
"_nodeVersion": "10.18.1", |
| 687 |
"_npmVersion": "6.14.2", |
| 688 |
"_npmUser": { |
| 689 |
"name": "sindresorhus", |
| 690 |
"email": "[email protected]" |
| 691 |
}, |
| 692 |
"dist": { |
| 693 |
"integrity": "sha512-PKyXUd0LK0ePjSOnWn34V2uD6acUWev9uy0Ft05k0E8xRW+SKcA0F7eMr7h5xlzfn+4O3N+55rduYyet3Jk+jw==", |
| 694 |
"shasum": "4a973bf31ef77c4edbceadd6af2611996985f8a1", |
| 695 |
"tarball": "https://registry.npmjs.org/string-length/-/string-length-4.0.1.tgz", |
| 696 |
"fileCount": 5, |
| 697 |
"unpackedSize": 4101, |
| 698 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJec5/1CRA9TVsSAnZWagAAZs0P/1UwoOmVWj2JriHeofBO\nHHhy8TyFo/HIXNO5Apz8rDzadNnKoTGVmUWD4rBbPEfOqG2jpc75R9lKxS+7\nGwLJDdp8Tl+0RfXWCQDZKXD6Et6sSw7fEoKgwSu5LjdCtDc1MIMJCw/hKIpi\n7etcxvVj4od/Z/aN+xlXCaObIQgRsSHDH02RGzW1gV4MzIa6DlrrzCUOWF6c\nC+9yH6wQv7045WkHOjFrl1SxubSZxJ0L5O7W/f2yyGtrF5efUooCPv+lOdTl\nv6estwxbVxUN8b5yZBxWn8toj9wLAnuUqAxDLbsFAu/leBu7yHTIrPvc2hlP\nZBsso4FxgBLjhZaa5OudNwiItUrQR5dqeyy3ziO5R3pRaIfdnQWFqAXVCorM\nBvhrxkbbkWxL/Tz5n/cRDWxDIo9T9xoNW34xFmDdYCMq/csJrWNjh+phJ7SF\nhR2de534DS7IRRFm9nXtuUkjP4fYm1POx8C/hI5lu+VnP7juaTvf3LuemzSs\ndLfm5O9XOoG4T1FOj/Km/3F9SEayEtZO4LPxfBWfe7uZcnENbVjhZDuSgHPC\nJ6nPLDhxEOP43QvQOMnsN+FefNTnebF12mgFq+3fk9bCQqcEIjN0BLjctnt1\nI/DMR3ljnpIQz8Hl8Dm5ac0HHy2EgA41H2icV6E5eYnDfSuNmytD9OSIhcwv\nq92f\r\n=CwcQ\r\n-----END PGP SIGNATURE-----\r\n" |
| 699 |
}, |
| 700 |
"maintainers": [ |
| 701 |
{ |
| 702 |
"name": "sindresorhus", |
| 703 |
"email": "[email protected]" |
| 704 |
} |
| 705 |
], |
| 706 |
"directories": {}, |
| 707 |
"_npmOperationalInternal": { |
| 708 |
"host": "s3://npm-registry-packages", |
| 709 |
"tmp": "tmp/string-length_4.0.1_1584635892393_0.5498585482578426" |
| 710 |
}, |
| 711 |
"_hasShrinkwrap": false |
| 712 |
} |
| 713 |
}, |
| 714 |
"readme": "# string-length [](https://travis-ci.org/sindresorhus/string-length)\n\n> Get the real length of a string - by correctly counting astral symbols and ignoring [ansi escape codes](https://github.com/sindresorhus/strip-ansi)\n\n`String#length` errornously counts [astral symbols](https://web.archive.org/web/20150721114550/http://www.tlg.uci.edu/~opoudjis/unicode/unicode_astral.html) as two characters.\n\n## Install\n\n```\n$ npm install string-length\n```\n\n## Usage\n\n```js\nconst stringLength = require('string-length');\n\n'🐴'.length;\n//=> 2\n\nstringLength('🐴');\n//=> 1\n\nstringLength('\\u001B[1municorn\\u001B[22m');\n//=> 7\n```\n\n## Related\n\n- [string-length-cli](https://github.com/LitoMore/string-length-cli) - CLI for this module\n- [string-width](https://github.com/sindresorhus/string-width) - Get visual width of a string\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-string-length?utm_source=npm-string-length&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n", |
| 715 |
"maintainers": [ |
| 716 |
{ |
| 717 |
"name": "sindresorhus", |
| 718 |
"email": "[email protected]" |
| 719 |
} |
| 720 |
], |
| 721 |
"time": { |
| 722 |
"modified": "2020-03-19T16:38:15.170Z", |
| 723 |
"created": "2014-04-16T21:49:45.503Z", |
| 724 |
"0.1.0": "2014-04-16T21:49:45.503Z", |
| 725 |
"0.1.1": "2014-04-30T22:51:26.244Z", |
| 726 |
"0.1.2": "2014-05-01T21:49:01.365Z", |
| 727 |
"1.0.0": "2014-08-13T13:37:13.130Z", |
| 728 |
"1.0.1": "2015-07-16T21:16:09.833Z", |
| 729 |
"2.0.0": "2017-07-27T01:03:51.257Z", |
| 730 |
"3.0.0": "2019-03-18T08:14:18.073Z", |
| 731 |
"3.1.0": "2019-04-02T02:35:54.651Z", |
| 732 |
"4.0.0": "2020-02-21T10:58:55.900Z", |
| 733 |
"4.0.1": "2020-03-19T16:38:12.544Z" |
| 734 |
}, |
| 735 |
"homepage": "https://github.com/sindresorhus/string-length#readme", |
| 736 |
"keywords": [ |
| 737 |
"unicode", |
| 738 |
"string", |
| 739 |
"length", |
| 740 |
"size", |
| 741 |
"count", |
| 742 |
"astral", |
| 743 |
"symbol", |
| 744 |
"surrogates", |
| 745 |
"codepoints", |
| 746 |
"ansi", |
| 747 |
"escape", |
| 748 |
"codes" |
| 749 |
], |
| 750 |
"repository": { |
| 751 |
"type": "git", |
| 752 |
"url": "git+https://github.com/sindresorhus/string-length.git" |
| 753 |
}, |
| 754 |
"author": { |
| 755 |
"name": "Sindre Sorhus", |
| 756 |
"email": "[email protected]", |
| 757 |
"url": "https://sindresorhus.com" |
| 758 |
}, |
| 759 |
"bugs": { |
| 760 |
"url": "https://github.com/sindresorhus/string-length/issues" |
| 761 |
}, |
| 762 |
"license": "MIT", |
| 763 |
"readmeFilename": "readme.md", |
| 764 |
"users": { |
| 765 |
"rocket0191": true, |
| 766 |
"wvlvik": true |
| 767 |
} |
| 768 |
} |