| 1 |
{ |
| 2 |
"_id": "cli-truncate", |
| 3 |
"_rev": "8-dfd64982602a53d81f6f826e3ee0d65d", |
| 4 |
"name": "cli-truncate", |
| 5 |
"description": "Truncate a string to a specific width in the terminal", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "2.1.0" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"0.1.0": { |
| 11 |
"name": "cli-truncate", |
| 12 |
"version": "0.1.0", |
| 13 |
"description": "Truncate a string to a specific width in the terminal", |
| 14 |
"license": "MIT", |
| 15 |
"repository": { |
| 16 |
"type": "git", |
| 17 |
"url": "https://github.com/sindresorhus/cli-truncate" |
| 18 |
}, |
| 19 |
"author": { |
| 20 |
"name": "Sindre Sorhus", |
| 21 |
"email": "[email protected]", |
| 22 |
"url": "sindresorhus.com" |
| 23 |
}, |
| 24 |
"engines": { |
| 25 |
"node": ">=0.10.0" |
| 26 |
}, |
| 27 |
"scripts": { |
| 28 |
"test": "xo && ava" |
| 29 |
}, |
| 30 |
"files": [ |
| 31 |
"index.js" |
| 32 |
], |
| 33 |
"keywords": [ |
| 34 |
"truncate", |
| 35 |
"ellipsis", |
| 36 |
"text", |
| 37 |
"limit", |
| 38 |
"slice", |
| 39 |
"cli", |
| 40 |
"terminal", |
| 41 |
"term", |
| 42 |
"shell", |
| 43 |
"width", |
| 44 |
"ansi" |
| 45 |
], |
| 46 |
"dependencies": { |
| 47 |
"string-width": "^1.0.1", |
| 48 |
"wrap-ansi": "^2.0.0" |
| 49 |
}, |
| 50 |
"devDependencies": { |
| 51 |
"ava": "*", |
| 52 |
"xo": "*" |
| 53 |
}, |
| 54 |
"gitHead": "dbc522d6f3c1fd7b287b39521ed73a7c9e98fd66", |
| 55 |
"bugs": { |
| 56 |
"url": "https://github.com/sindresorhus/cli-truncate/issues" |
| 57 |
}, |
| 58 |
"homepage": "https://github.com/sindresorhus/cli-truncate", |
| 59 |
"_id": "[email protected]", |
| 60 |
"_shasum": "914809251f8fcfc4f22a716061731c6b94513935", |
| 61 |
"_from": ".", |
| 62 |
"_npmVersion": "2.14.12", |
| 63 |
"_nodeVersion": "4.3.0", |
| 64 |
"_npmUser": { |
| 65 |
"name": "sindresorhus", |
| 66 |
"email": "[email protected]" |
| 67 |
}, |
| 68 |
"dist": { |
| 69 |
"shasum": "914809251f8fcfc4f22a716061731c6b94513935", |
| 70 |
"tarball": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-0.1.0.tgz" |
| 71 |
}, |
| 72 |
"maintainers": [ |
| 73 |
{ |
| 74 |
"name": "sindresorhus", |
| 75 |
"email": "[email protected]" |
| 76 |
} |
| 77 |
], |
| 78 |
"_npmOperationalInternal": { |
| 79 |
"host": "packages-12-west.internal.npmjs.com", |
| 80 |
"tmp": "tmp/cli-truncate-0.1.0.tgz_1457686382816_0.01899998914450407" |
| 81 |
}, |
| 82 |
"directories": {} |
| 83 |
}, |
| 84 |
"0.2.0": { |
| 85 |
"name": "cli-truncate", |
| 86 |
"version": "0.2.0", |
| 87 |
"description": "Truncate a string to a specific width in the terminal", |
| 88 |
"license": "MIT", |
| 89 |
"repository": { |
| 90 |
"type": "git", |
| 91 |
"url": "https://github.com/sindresorhus/cli-truncate" |
| 92 |
}, |
| 93 |
"author": { |
| 94 |
"name": "Sindre Sorhus", |
| 95 |
"email": "[email protected]", |
| 96 |
"url": "sindresorhus.com" |
| 97 |
}, |
| 98 |
"engines": { |
| 99 |
"node": ">=0.10.0" |
| 100 |
}, |
| 101 |
"scripts": { |
| 102 |
"test": "xo && ava" |
| 103 |
}, |
| 104 |
"files": [ |
| 105 |
"index.js" |
| 106 |
], |
| 107 |
"keywords": [ |
| 108 |
"truncate", |
| 109 |
"ellipsis", |
| 110 |
"text", |
| 111 |
"limit", |
| 112 |
"slice", |
| 113 |
"cli", |
| 114 |
"terminal", |
| 115 |
"term", |
| 116 |
"shell", |
| 117 |
"width", |
| 118 |
"ansi" |
| 119 |
], |
| 120 |
"dependencies": { |
| 121 |
"slice-ansi": "0.0.4", |
| 122 |
"string-width": "^1.0.1" |
| 123 |
}, |
| 124 |
"devDependencies": { |
| 125 |
"ava": "*", |
| 126 |
"xo": "*" |
| 127 |
}, |
| 128 |
"gitHead": "86ee06ef054f93afe78b42333e00e9ed3cd70835", |
| 129 |
"bugs": { |
| 130 |
"url": "https://github.com/sindresorhus/cli-truncate/issues" |
| 131 |
}, |
| 132 |
"homepage": "https://github.com/sindresorhus/cli-truncate", |
| 133 |
"_id": "[email protected]", |
| 134 |
"_shasum": "def59aa9a148d7b826178c545779871df3cafef3", |
| 135 |
"_from": ".", |
| 136 |
"_npmVersion": "2.14.12", |
| 137 |
"_nodeVersion": "4.3.0", |
| 138 |
"_npmUser": { |
| 139 |
"name": "sindresorhus", |
| 140 |
"email": "[email protected]" |
| 141 |
}, |
| 142 |
"dist": { |
| 143 |
"shasum": "def59aa9a148d7b826178c545779871df3cafef3", |
| 144 |
"tarball": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-0.2.0.tgz" |
| 145 |
}, |
| 146 |
"maintainers": [ |
| 147 |
{ |
| 148 |
"name": "sindresorhus", |
| 149 |
"email": "[email protected]" |
| 150 |
} |
| 151 |
], |
| 152 |
"_npmOperationalInternal": { |
| 153 |
"host": "packages-13-west.internal.npmjs.com", |
| 154 |
"tmp": "tmp/cli-truncate-0.2.0.tgz_1457855333123_0.12254591472446918" |
| 155 |
}, |
| 156 |
"directories": {} |
| 157 |
}, |
| 158 |
"0.2.1": { |
| 159 |
"name": "cli-truncate", |
| 160 |
"version": "0.2.1", |
| 161 |
"description": "Truncate a string to a specific width in the terminal", |
| 162 |
"license": "MIT", |
| 163 |
"repository": { |
| 164 |
"type": "git", |
| 165 |
"url": "https://github.com/sindresorhus/cli-truncate" |
| 166 |
}, |
| 167 |
"author": { |
| 168 |
"name": "Sindre Sorhus", |
| 169 |
"email": "[email protected]", |
| 170 |
"url": "sindresorhus.com" |
| 171 |
}, |
| 172 |
"engines": { |
| 173 |
"node": ">=0.10.0" |
| 174 |
}, |
| 175 |
"scripts": { |
| 176 |
"test": "xo && ava" |
| 177 |
}, |
| 178 |
"files": [ |
| 179 |
"index.js" |
| 180 |
], |
| 181 |
"keywords": [ |
| 182 |
"truncate", |
| 183 |
"ellipsis", |
| 184 |
"text", |
| 185 |
"limit", |
| 186 |
"slice", |
| 187 |
"cli", |
| 188 |
"terminal", |
| 189 |
"term", |
| 190 |
"shell", |
| 191 |
"width", |
| 192 |
"ansi" |
| 193 |
], |
| 194 |
"dependencies": { |
| 195 |
"slice-ansi": "0.0.4", |
| 196 |
"string-width": "^1.0.1" |
| 197 |
}, |
| 198 |
"devDependencies": { |
| 199 |
"ava": "*", |
| 200 |
"xo": "*" |
| 201 |
}, |
| 202 |
"gitHead": "b76c964800573b5131e4965b3c0f2eaff22a3650", |
| 203 |
"bugs": { |
| 204 |
"url": "https://github.com/sindresorhus/cli-truncate/issues" |
| 205 |
}, |
| 206 |
"homepage": "https://github.com/sindresorhus/cli-truncate", |
| 207 |
"_id": "[email protected]", |
| 208 |
"_shasum": "9f15cfbb0705005369216c626ac7d05ab90dd574", |
| 209 |
"_from": ".", |
| 210 |
"_npmVersion": "2.14.12", |
| 211 |
"_nodeVersion": "4.3.0", |
| 212 |
"_npmUser": { |
| 213 |
"name": "sindresorhus", |
| 214 |
"email": "[email protected]" |
| 215 |
}, |
| 216 |
"dist": { |
| 217 |
"shasum": "9f15cfbb0705005369216c626ac7d05ab90dd574", |
| 218 |
"tarball": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-0.2.1.tgz" |
| 219 |
}, |
| 220 |
"maintainers": [ |
| 221 |
{ |
| 222 |
"name": "sindresorhus", |
| 223 |
"email": "[email protected]" |
| 224 |
} |
| 225 |
], |
| 226 |
"_npmOperationalInternal": { |
| 227 |
"host": "packages-12-west.internal.npmjs.com", |
| 228 |
"tmp": "tmp/cli-truncate-0.2.1.tgz_1459844422490_0.3644009679555893" |
| 229 |
}, |
| 230 |
"directories": {} |
| 231 |
}, |
| 232 |
"1.0.0": { |
| 233 |
"name": "cli-truncate", |
| 234 |
"version": "1.0.0", |
| 235 |
"description": "Truncate a string to a specific width in the terminal", |
| 236 |
"license": "MIT", |
| 237 |
"repository": { |
| 238 |
"type": "git", |
| 239 |
"url": "git+https://github.com/sindresorhus/cli-truncate.git" |
| 240 |
}, |
| 241 |
"author": { |
| 242 |
"name": "Sindre Sorhus", |
| 243 |
"email": "[email protected]", |
| 244 |
"url": "sindresorhus.com" |
| 245 |
}, |
| 246 |
"engines": { |
| 247 |
"node": ">=4" |
| 248 |
}, |
| 249 |
"scripts": { |
| 250 |
"test": "xo && ava" |
| 251 |
}, |
| 252 |
"files": [ |
| 253 |
"index.js" |
| 254 |
], |
| 255 |
"keywords": [ |
| 256 |
"truncate", |
| 257 |
"ellipsis", |
| 258 |
"text", |
| 259 |
"limit", |
| 260 |
"slice", |
| 261 |
"cli", |
| 262 |
"terminal", |
| 263 |
"term", |
| 264 |
"shell", |
| 265 |
"width", |
| 266 |
"ansi" |
| 267 |
], |
| 268 |
"dependencies": { |
| 269 |
"slice-ansi": "0.0.4", |
| 270 |
"string-width": "^2.0.0" |
| 271 |
}, |
| 272 |
"devDependencies": { |
| 273 |
"ava": "*", |
| 274 |
"xo": "*" |
| 275 |
}, |
| 276 |
"gitHead": "4da60e7a45a8c333843ffdc941726edd9f0cd050", |
| 277 |
"bugs": { |
| 278 |
"url": "https://github.com/sindresorhus/cli-truncate/issues" |
| 279 |
}, |
| 280 |
"homepage": "https://github.com/sindresorhus/cli-truncate#readme", |
| 281 |
"_id": "[email protected]", |
| 282 |
"_shasum": "21eb91f47b3f6560f004db77a769b4668d9c5518", |
| 283 |
"_from": ".", |
| 284 |
"_npmVersion": "2.15.11", |
| 285 |
"_nodeVersion": "4.6.2", |
| 286 |
"_npmUser": { |
| 287 |
"name": "sindresorhus", |
| 288 |
"email": "[email protected]" |
| 289 |
}, |
| 290 |
"dist": { |
| 291 |
"shasum": "21eb91f47b3f6560f004db77a769b4668d9c5518", |
| 292 |
"tarball": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-1.0.0.tgz" |
| 293 |
}, |
| 294 |
"maintainers": [ |
| 295 |
{ |
| 296 |
"name": "sindresorhus", |
| 297 |
"email": "[email protected]" |
| 298 |
} |
| 299 |
], |
| 300 |
"_npmOperationalInternal": { |
| 301 |
"host": "packages-12-west.internal.npmjs.com", |
| 302 |
"tmp": "tmp/cli-truncate-1.0.0.tgz_1484304234747_0.6612277985550463" |
| 303 |
}, |
| 304 |
"directories": {} |
| 305 |
}, |
| 306 |
"1.1.0": { |
| 307 |
"name": "cli-truncate", |
| 308 |
"version": "1.1.0", |
| 309 |
"description": "Truncate a string to a specific width in the terminal", |
| 310 |
"license": "MIT", |
| 311 |
"repository": { |
| 312 |
"type": "git", |
| 313 |
"url": "git+https://github.com/sindresorhus/cli-truncate.git" |
| 314 |
}, |
| 315 |
"author": { |
| 316 |
"name": "Sindre Sorhus", |
| 317 |
"email": "[email protected]", |
| 318 |
"url": "sindresorhus.com" |
| 319 |
}, |
| 320 |
"engines": { |
| 321 |
"node": ">=4" |
| 322 |
}, |
| 323 |
"scripts": { |
| 324 |
"test": "xo && ava" |
| 325 |
}, |
| 326 |
"files": [ |
| 327 |
"index.js" |
| 328 |
], |
| 329 |
"keywords": [ |
| 330 |
"truncate", |
| 331 |
"ellipsis", |
| 332 |
"text", |
| 333 |
"limit", |
| 334 |
"slice", |
| 335 |
"cli", |
| 336 |
"terminal", |
| 337 |
"term", |
| 338 |
"shell", |
| 339 |
"width", |
| 340 |
"ansi" |
| 341 |
], |
| 342 |
"dependencies": { |
| 343 |
"slice-ansi": "^1.0.0", |
| 344 |
"string-width": "^2.0.0" |
| 345 |
}, |
| 346 |
"devDependencies": { |
| 347 |
"ava": "*", |
| 348 |
"xo": "*" |
| 349 |
}, |
| 350 |
"gitHead": "94f26977e8f1603b306e8759147c8c9159ab3b39", |
| 351 |
"bugs": { |
| 352 |
"url": "https://github.com/sindresorhus/cli-truncate/issues" |
| 353 |
}, |
| 354 |
"homepage": "https://github.com/sindresorhus/cli-truncate#readme", |
| 355 |
"_id": "[email protected]", |
| 356 |
"_npmVersion": "5.3.0", |
| 357 |
"_nodeVersion": "8.2.1", |
| 358 |
"_npmUser": { |
| 359 |
"name": "sindresorhus", |
| 360 |
"email": "[email protected]" |
| 361 |
}, |
| 362 |
"dist": { |
| 363 |
"integrity": "sha512-bAtZo0u82gCfaAGfSNxUdTI9mNyza7D8w4CVCcaOsy7sgwDzvx6ekr6cuWJqY3UGzgnQ1+4wgENup5eIhgxEYA==", |
| 364 |
"shasum": "2b2dfd83c53cfd3572b87fc4d430a808afb04086", |
| 365 |
"tarball": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-1.1.0.tgz" |
| 366 |
}, |
| 367 |
"maintainers": [ |
| 368 |
{ |
| 369 |
"name": "sindresorhus", |
| 370 |
"email": "[email protected]" |
| 371 |
} |
| 372 |
], |
| 373 |
"_npmOperationalInternal": { |
| 374 |
"host": "s3://npm-registry-packages", |
| 375 |
"tmp": "tmp/cli-truncate-1.1.0.tgz_1500807402887_0.6349338984582573" |
| 376 |
}, |
| 377 |
"directories": {} |
| 378 |
}, |
| 379 |
"2.0.0": { |
| 380 |
"name": "cli-truncate", |
| 381 |
"version": "2.0.0", |
| 382 |
"description": "Truncate a string to a specific width in the terminal", |
| 383 |
"license": "MIT", |
| 384 |
"repository": { |
| 385 |
"type": "git", |
| 386 |
"url": "git+https://github.com/sindresorhus/cli-truncate.git" |
| 387 |
}, |
| 388 |
"author": { |
| 389 |
"name": "Sindre Sorhus", |
| 390 |
"email": "[email protected]", |
| 391 |
"url": "sindresorhus.com" |
| 392 |
}, |
| 393 |
"engines": { |
| 394 |
"node": ">=8" |
| 395 |
}, |
| 396 |
"scripts": { |
| 397 |
"test": "xo && ava && tsd" |
| 398 |
}, |
| 399 |
"keywords": [ |
| 400 |
"truncate", |
| 401 |
"ellipsis", |
| 402 |
"text", |
| 403 |
"limit", |
| 404 |
"slice", |
| 405 |
"cli", |
| 406 |
"terminal", |
| 407 |
"term", |
| 408 |
"shell", |
| 409 |
"width", |
| 410 |
"ansi", |
| 411 |
"string" |
| 412 |
], |
| 413 |
"dependencies": { |
| 414 |
"slice-ansi": "^2.1.0", |
| 415 |
"string-width": "^4.1.0" |
| 416 |
}, |
| 417 |
"devDependencies": { |
| 418 |
"ava": "^2.1.0", |
| 419 |
"tsd": "^0.7.2", |
| 420 |
"xo": "^0.24.0" |
| 421 |
}, |
| 422 |
"gitHead": "4ded8c0075e0bedd4dba69db9017d0ec7c6798a3", |
| 423 |
"bugs": { |
| 424 |
"url": "https://github.com/sindresorhus/cli-truncate/issues" |
| 425 |
}, |
| 426 |
"homepage": "https://github.com/sindresorhus/cli-truncate#readme", |
| 427 |
"_id": "[email protected]", |
| 428 |
"_nodeVersion": "8.16.0", |
| 429 |
"_npmVersion": "6.9.0", |
| 430 |
"_npmUser": { |
| 431 |
"name": "sindresorhus", |
| 432 |
"email": "[email protected]" |
| 433 |
}, |
| 434 |
"dist": { |
| 435 |
"integrity": "sha512-C4hp+8GCIFVsUUiXcw+ce+7wexVWImw8rQrgMBFsqerx9LvvcGlwm6sMjQYAEmV/Xb87xc1b5Ttx505MSpZVqg==", |
| 436 |
"shasum": "68ff6aaa53b203b52ad89b8b1a80f1f61ad1e1d5", |
| 437 |
"tarball": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.0.0.tgz", |
| 438 |
"fileCount": 5, |
| 439 |
"unpackedSize": 9873, |
| 440 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAfkUCRA9TVsSAnZWagAAsgMQAIl1CuCUiDcV48KyVEU2\n5i3wGAIp94PVNWI7rEAc1yjtXIA51R2jagtUqDv6u/Z2r4hPNneR3Qi9Wl2g\n65iyRGZxRE8lBVH0Wz0ONSqkJPeIuzhjAblgvyBWyFB/GKXDMKhUDH0hnpfK\n6jOPCbfW3raxwC9QqyPMYKTX4ljrRIRaUEiDyeYRiqUd7akfVU+/dkXuVkU5\nuTky27YrJPj9gN2Xt4iMOp06ivIgwzvV43AsDZgnfGSE8WLF/rsYRLw99+xP\nS+0wmui9C4WIgejPKPiqar3SnOuFY6euSH59aCGI/77u0QFVgh7z/a8ixl2j\nQOXPSCAF3Wragvdenw/QZ03mUTZp5Dz2F6seRs3zDN9WcN6QQxOEDFWXgY2R\nsbpUs0ZFE2wyt+wDl56XH9cf6roo1q0DqF3neztc9FgqJntnC+pn/eBg4aou\nLwRTKCSVeFSIf0ucGmEyg32esWTuHJcRVnqtiCJ2Waw8ppToOdFds7HdlimP\novbFEpkBTIdFkaAksThG1xbt7xojJ9iuKPx2HI5pU1kb+CtpaIYFitt6Xt4H\n9V+r9h9c9EH4g2DIIngUda57rpwUbKoNFW+LKMl3/6/hgKzJ8nlD0dlTuACg\ne1O0bbT//qZrbUEQkRx5GuaPDJruhEwX30YbDHPGcp6Cj7PK0LKyYC0f8feq\nFYEL\r\n=7V+O\r\n-----END PGP SIGNATURE-----\r\n" |
| 441 |
}, |
| 442 |
"maintainers": [ |
| 443 |
{ |
| 444 |
"name": "sindresorhus", |
| 445 |
"email": "[email protected]" |
| 446 |
} |
| 447 |
], |
| 448 |
"directories": {}, |
| 449 |
"_npmOperationalInternal": { |
| 450 |
"host": "s3://npm-registry-packages", |
| 451 |
"tmp": "tmp/cli-truncate_2.0.0_1560410388373_0.3194934995762728" |
| 452 |
}, |
| 453 |
"_hasShrinkwrap": false |
| 454 |
}, |
| 455 |
"2.1.0": { |
| 456 |
"name": "cli-truncate", |
| 457 |
"version": "2.1.0", |
| 458 |
"description": "Truncate a string to a specific width in the terminal", |
| 459 |
"license": "MIT", |
| 460 |
"repository": { |
| 461 |
"type": "git", |
| 462 |
"url": "git+https://github.com/sindresorhus/cli-truncate.git" |
| 463 |
}, |
| 464 |
"funding": "https://github.com/sponsors/sindresorhus", |
| 465 |
"author": { |
| 466 |
"name": "Sindre Sorhus", |
| 467 |
"email": "[email protected]", |
| 468 |
"url": "sindresorhus.com" |
| 469 |
}, |
| 470 |
"engines": { |
| 471 |
"node": ">=8" |
| 472 |
}, |
| 473 |
"scripts": { |
| 474 |
"test": "xo && ava && tsd" |
| 475 |
}, |
| 476 |
"keywords": [ |
| 477 |
"truncate", |
| 478 |
"ellipsis", |
| 479 |
"text", |
| 480 |
"limit", |
| 481 |
"slice", |
| 482 |
"cli", |
| 483 |
"terminal", |
| 484 |
"term", |
| 485 |
"shell", |
| 486 |
"width", |
| 487 |
"ansi", |
| 488 |
"string" |
| 489 |
], |
| 490 |
"dependencies": { |
| 491 |
"slice-ansi": "^3.0.0", |
| 492 |
"string-width": "^4.2.0" |
| 493 |
}, |
| 494 |
"devDependencies": { |
| 495 |
"ava": "^2.1.0", |
| 496 |
"tsd": "^0.11.0", |
| 497 |
"xo": "^0.25.3" |
| 498 |
}, |
| 499 |
"gitHead": "2f422c146701b9e76ac93b2f88753a915be37301", |
| 500 |
"bugs": { |
| 501 |
"url": "https://github.com/sindresorhus/cli-truncate/issues" |
| 502 |
}, |
| 503 |
"homepage": "https://github.com/sindresorhus/cli-truncate#readme", |
| 504 |
"_id": "[email protected]", |
| 505 |
"_nodeVersion": "10.17.0", |
| 506 |
"_npmVersion": "6.13.2", |
| 507 |
"_npmUser": { |
| 508 |
"name": "sindresorhus", |
| 509 |
"email": "[email protected]" |
| 510 |
}, |
| 511 |
"dist": { |
| 512 |
"integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==", |
| 513 |
"shasum": "c39e28bf05edcde5be3b98992a22deed5a2b93c7", |
| 514 |
"tarball": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz", |
| 515 |
"fileCount": 5, |
| 516 |
"unpackedSize": 10357, |
| 517 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd6gesCRA9TVsSAnZWagAAbm4QAIdYis7Se3KxP0KrxVV9\nItI7IF/Yzy+6M6FtovLkkimWLWOBZYso408GT0+6YCuQIqluLdg80Hh49m/7\nOFjH2iUPfIN4U/ogtf/OxnnxaTviJB2t72xSlIEE90pQuwOUv4D0+4G7GCQ0\nw93wXhmquyociDHxDaAhJEvI3Gf3tAfmAkBwD5D0lh7Zfz53mbOVU3a+ZtXA\n67M31rKlnrFwS2hU3ONa10k0USB6t+thHleSDt5DroDaZ8xEj01+RLxWLH1u\nrXi3ATRInJECu/hKCffWiAhIkdFaG5fHEuoh0pKsKdjQKP84ZjOQ1MPyeoeU\nEry4cNKYvp5BjeKhxUp4nkwR+VSPICMKPytd42FlEb+sQROhOorJOykSt09G\nUQDf0FgXND8Qdk+loncEfSDCh4Nqz7cnnytioWiHE0seOo5lOiSdLN5x1Zve\nxcH3wgHITMiWLjd4XFHddc52myEwswkzHli1QAJdnOt+9wTXs9Sd+jDYmIHV\nmyl5ifrP6EnI0itc5Nin4trkqgZQTURvGrFl/V7LK7w50hHc/xDQTygNHHhy\nH6sKzpWf6eJHmKc2HL00kBtFK/CcISXYHCEWFdBD+GcTS/nhfphjAlIxj+sb\n8m5fZSWoZPBlPa3rOIVEKI/nfhGvtO6+dyluOhzMuq0QfV+vTXrV5ZwMD5+B\njJgD\r\n=ogSx\r\n-----END PGP SIGNATURE-----\r\n" |
| 518 |
}, |
| 519 |
"maintainers": [ |
| 520 |
{ |
| 521 |
"name": "sindresorhus", |
| 522 |
"email": "[email protected]" |
| 523 |
} |
| 524 |
], |
| 525 |
"directories": {}, |
| 526 |
"_npmOperationalInternal": { |
| 527 |
"host": "s3://npm-registry-packages", |
| 528 |
"tmp": "tmp/cli-truncate_2.1.0_1575618475548_0.4744743301264074" |
| 529 |
}, |
| 530 |
"_hasShrinkwrap": false |
| 531 |
} |
| 532 |
}, |
| 533 |
"readme": "# cli-truncate [](https://travis-ci.org/sindresorhus/cli-truncate)\n\n> Truncate a string to a specific width in the terminal\n\nGracefully handles [ANSI escapes](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles). Like a string styled with [`chalk`](https://github.com/chalk/chalk). It also supports Unicode surrogate pairs and fullwidth characters.\n\n## Install\n\n```\n$ npm install cli-truncate\n```\n\n## Usage\n\n```js\nconst cliTruncate = require('cli-truncate');\n\ncliTruncate('unicorn', 4);\n//=> 'uni…'\n\n// Truncate at different positions\ncliTruncate('unicorn', 4, {position: 'start'});\n//=> '…orn'\n\ncliTruncate('unicorn', 4, {position: 'middle'});\n//=> 'un…n'\n\ncliTruncate('unicorns rainbow dragons', 6, {position: 'end'})\n//=> 'unico…'\n\ncliTruncate('\\u001B[31municorn\\u001B[39m', 4);\n//=> '\\u001B[31muni\\u001B[39m…'\n\n// Truncate Unicode surrogate pairs\ncliTruncate('uni\\uD83C\\uDE00corn', 5);\n//=> 'uni\\uD83C\\uDE00…'\n\n// Truncate fullwidth characters\ncliTruncate('안녕하세요', 3);\n//=> '안…'\n\n// Truncate the paragraph to the terminal width\nconst paragraph = 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa.';\ncliTruncate(paragraph, process.stdout.columns));\n//=> 'Lorem ipsum dolor sit amet, consectetuer adipiscing…'\n```\n\n## API\n\n### cliTruncate(text, columns, options?)\n\n#### text\n\nType: `string`\n\nText to truncate.\n\n#### columns\n\nType: `number`\n\nColumns to occupy in the terminal.\n\n#### options\n\nType: `object`\n\n##### position\n\nType: `string`\\\nDefault: `'end'`\\\nValues: `'start'` `'middle'` `'end'`\n\nPosition to truncate the string.\n\n##### space\n\nType: `boolean`\\\nDefault: `false`\n\nAdd a space between the text and the ellipsis.\n\n```js\ncliTruncate('unicorns', 5, {space: false});\n//=> 'unic…'\n\ncliTruncate('unicorns', 5, {space: true});\n//=> 'uni …'\n\ncliTruncate('unicorns', 6, {position: 'start', space: true});\n//=> '… orns'\n\ncliTruncate('unicorns', 7, {position: 'middle', space: true});\n//=> 'uni … s'\n```\n\n##### preferTruncationOnSpace\n\nType: `boolean`\\\nDefault: `false`\n\nTruncate the string from a whitespace if it is within 3 characters from the actual breaking point.\n\n```js\ncliTruncate('unicorns rainbow dragons', 20, {position: 'start', preferTruncationOnSpace: true})\n//=> '…rainbow dragons'\n\n// without preferTruncationOnSpace\ncliTruncate('unicorns rainbow dragons', 20, {position: 'start'})\n//=> '…rns rainbow dragons'\n\ncliTruncate('unicorns rainbow dragons', 20, {position: 'middle', preferTruncationOnSpace: true})\n//=> 'unicorns…dragons'\n\ncliTruncate('unicorns rainbow dragons', 6, {position: 'end', preferTruncationOnSpace: true})\n//=> 'unico…'\n\n// preferTruncationOnSpace would have no effect if space isn't found within next 3 indexes\ncliTruncate('unicorns rainbow dragons', 6, {position: 'middle', preferTruncationOnSpace: true})\n//=> 'uni…ns'\n```\n\n## Related\n\n- [wrap-ansi](https://github.com/chalk/wrap-ansi) - Wordwrap a string with ANSI escape codes\n- [slice-ansi](https://github.com/chalk/slice-ansi) - Slice a string with ANSI escape codes\n\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-cli-truncate?utm_source=npm-cli-truncate&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", |
| 534 |
"maintainers": [ |
| 535 |
{ |
| 536 |
"name": "sindresorhus", |
| 537 |
"email": "[email protected]" |
| 538 |
} |
| 539 |
], |
| 540 |
"time": { |
| 541 |
"modified": "2019-12-06T07:47:58.056Z", |
| 542 |
"created": "2016-03-11T08:53:03.286Z", |
| 543 |
"0.1.0": "2016-03-11T08:53:03.286Z", |
| 544 |
"0.2.0": "2016-03-13T07:48:53.614Z", |
| 545 |
"0.2.1": "2016-04-05T08:20:22.975Z", |
| 546 |
"1.0.0": "2017-01-13T10:43:54.984Z", |
| 547 |
"1.1.0": "2017-07-23T10:56:44.162Z", |
| 548 |
"2.0.0": "2019-06-13T07:19:48.480Z", |
| 549 |
"2.1.0": "2019-12-06T07:47:55.662Z" |
| 550 |
}, |
| 551 |
"homepage": "https://github.com/sindresorhus/cli-truncate#readme", |
| 552 |
"keywords": [ |
| 553 |
"truncate", |
| 554 |
"ellipsis", |
| 555 |
"text", |
| 556 |
"limit", |
| 557 |
"slice", |
| 558 |
"cli", |
| 559 |
"terminal", |
| 560 |
"term", |
| 561 |
"shell", |
| 562 |
"width", |
| 563 |
"ansi", |
| 564 |
"string" |
| 565 |
], |
| 566 |
"repository": { |
| 567 |
"type": "git", |
| 568 |
"url": "git+https://github.com/sindresorhus/cli-truncate.git" |
| 569 |
}, |
| 570 |
"author": { |
| 571 |
"name": "Sindre Sorhus", |
| 572 |
"email": "[email protected]", |
| 573 |
"url": "sindresorhus.com" |
| 574 |
}, |
| 575 |
"bugs": { |
| 576 |
"url": "https://github.com/sindresorhus/cli-truncate/issues" |
| 577 |
}, |
| 578 |
"license": "MIT", |
| 579 |
"readmeFilename": "readme.md", |
| 580 |
"users": { |
| 581 |
"insomniaqc": true |
| 582 |
} |
| 583 |
} |