| 1 |
{ |
| 2 |
"_id": "ansi-html", |
| 3 |
"_rev": "16-f179ab89262272216698e6256b13f03c", |
| 4 |
"name": "ansi-html", |
| 5 |
"description": "An elegant lib that converts the chalked (ANSI) text to HTML.", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "0.0.7" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"0.0.1": { |
| 11 |
"name": "ansi-html", |
| 12 |
"version": "0.0.1", |
| 13 |
"description": "An elegant lib that converts the chalked (ANSI) text to HTML.", |
| 14 |
"main": "index.js", |
| 15 |
"scripts": { |
| 16 |
"test": "mocha -R spec -t 5000" |
| 17 |
}, |
| 18 |
"repository": { |
| 19 |
"type": "git", |
| 20 |
"url": "git://github.com/Tjatse/ansi-html.git" |
| 21 |
}, |
| 22 |
"keywords": [ |
| 23 |
"ansi", |
| 24 |
"ansi html", |
| 25 |
"chalk html" |
| 26 |
], |
| 27 |
"author": { |
| 28 |
"name": "Tjatse" |
| 29 |
}, |
| 30 |
"license": "Apache, Version 2.0", |
| 31 |
"bugs": { |
| 32 |
"url": "https://github.com/Tjatse/ansi-html/issues" |
| 33 |
}, |
| 34 |
"engines": [ |
| 35 |
"node >= 0.8.0" |
| 36 |
], |
| 37 |
"dependencies": {}, |
| 38 |
"devDependencies": { |
| 39 |
"chalk": "~0.5.1", |
| 40 |
"mocha": "^1.21.4", |
| 41 |
"chai": "^1.9.1", |
| 42 |
"lodash": "~2.4.1" |
| 43 |
}, |
| 44 |
"homepage": "https://github.com/Tjatse/ansi-html", |
| 45 |
"_id": "[email protected]", |
| 46 |
"_shasum": "5c3f418bdfd84da61f9c698224dc89ce818fff40", |
| 47 |
"_from": ".", |
| 48 |
"_npmVersion": "1.4.10", |
| 49 |
"_npmUser": { |
| 50 |
"name": "tjatse", |
| 51 |
"email": "[email protected]" |
| 52 |
}, |
| 53 |
"maintainers": [ |
| 54 |
{ |
| 55 |
"name": "tjatse", |
| 56 |
"email": "[email protected]" |
| 57 |
} |
| 58 |
], |
| 59 |
"dist": { |
| 60 |
"shasum": "5c3f418bdfd84da61f9c698224dc89ce818fff40", |
| 61 |
"tarball": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.1.tgz" |
| 62 |
}, |
| 63 |
"directories": {} |
| 64 |
}, |
| 65 |
"0.0.2": { |
| 66 |
"name": "ansi-html", |
| 67 |
"version": "0.0.2", |
| 68 |
"description": "An elegant lib that converts the chalked (ANSI) text to HTML.", |
| 69 |
"main": "index.js", |
| 70 |
"scripts": { |
| 71 |
"test": "mocha -R spec -t 5000" |
| 72 |
}, |
| 73 |
"repository": { |
| 74 |
"type": "git", |
| 75 |
"url": "git://github.com/Tjatse/ansi-html.git" |
| 76 |
}, |
| 77 |
"keywords": [ |
| 78 |
"ansi", |
| 79 |
"ansi html", |
| 80 |
"chalk html" |
| 81 |
], |
| 82 |
"author": { |
| 83 |
"name": "Tjatse" |
| 84 |
}, |
| 85 |
"license": "Apache, Version 2.0", |
| 86 |
"bugs": { |
| 87 |
"url": "https://github.com/Tjatse/ansi-html/issues" |
| 88 |
}, |
| 89 |
"engines": [ |
| 90 |
"node >= 0.8.0" |
| 91 |
], |
| 92 |
"dependencies": {}, |
| 93 |
"devDependencies": { |
| 94 |
"chalk": "~0.5.1", |
| 95 |
"mocha": "^1.21.4", |
| 96 |
"chai": "^1.9.1", |
| 97 |
"lodash": "~2.4.1" |
| 98 |
}, |
| 99 |
"homepage": "https://github.com/Tjatse/ansi-html", |
| 100 |
"_id": "[email protected]", |
| 101 |
"_shasum": "159fed1f3eef5ab6b61003299e493f7540b64898", |
| 102 |
"_from": ".", |
| 103 |
"_npmVersion": "1.4.10", |
| 104 |
"_npmUser": { |
| 105 |
"name": "tjatse", |
| 106 |
"email": "[email protected]" |
| 107 |
}, |
| 108 |
"maintainers": [ |
| 109 |
{ |
| 110 |
"name": "tjatse", |
| 111 |
"email": "[email protected]" |
| 112 |
} |
| 113 |
], |
| 114 |
"dist": { |
| 115 |
"shasum": "159fed1f3eef5ab6b61003299e493f7540b64898", |
| 116 |
"tarball": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.2.tgz" |
| 117 |
}, |
| 118 |
"directories": {} |
| 119 |
}, |
| 120 |
"0.0.3": { |
| 121 |
"name": "ansi-html", |
| 122 |
"version": "0.0.3", |
| 123 |
"description": "An elegant lib that converts the chalked (ANSI) text to HTML.", |
| 124 |
"main": "index.js", |
| 125 |
"scripts": { |
| 126 |
"test": "mocha -R spec -t 5000" |
| 127 |
}, |
| 128 |
"repository": { |
| 129 |
"type": "git", |
| 130 |
"url": "git://github.com/Tjatse/ansi-html.git" |
| 131 |
}, |
| 132 |
"keywords": [ |
| 133 |
"ansi", |
| 134 |
"ansi html", |
| 135 |
"chalk html" |
| 136 |
], |
| 137 |
"author": { |
| 138 |
"name": "Tjatse" |
| 139 |
}, |
| 140 |
"license": "Apache, Version 2.0", |
| 141 |
"bugs": { |
| 142 |
"url": "https://github.com/Tjatse/ansi-html/issues" |
| 143 |
}, |
| 144 |
"engines": [ |
| 145 |
"node >= 0.8.0" |
| 146 |
], |
| 147 |
"dependencies": {}, |
| 148 |
"devDependencies": { |
| 149 |
"chalk": "~0.5.1", |
| 150 |
"mocha": "^1.21.4", |
| 151 |
"chai": "^1.9.1", |
| 152 |
"lodash": "~2.4.1" |
| 153 |
}, |
| 154 |
"homepage": "https://github.com/Tjatse/ansi-html", |
| 155 |
"_id": "[email protected]", |
| 156 |
"_shasum": "555187be5a15091b7084dbff1aa9a5c3afe652cd", |
| 157 |
"_from": ".", |
| 158 |
"_npmVersion": "1.4.10", |
| 159 |
"_npmUser": { |
| 160 |
"name": "tjatse", |
| 161 |
"email": "[email protected]" |
| 162 |
}, |
| 163 |
"maintainers": [ |
| 164 |
{ |
| 165 |
"name": "tjatse", |
| 166 |
"email": "[email protected]" |
| 167 |
} |
| 168 |
], |
| 169 |
"dist": { |
| 170 |
"shasum": "555187be5a15091b7084dbff1aa9a5c3afe652cd", |
| 171 |
"tarball": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.3.tgz" |
| 172 |
}, |
| 173 |
"directories": {} |
| 174 |
}, |
| 175 |
"0.0.4": { |
| 176 |
"name": "ansi-html", |
| 177 |
"version": "0.0.4", |
| 178 |
"description": "An elegant lib that converts the chalked (ANSI) text to HTML.", |
| 179 |
"main": "index.js", |
| 180 |
"scripts": { |
| 181 |
"test": "mocha -R spec -t 5000" |
| 182 |
}, |
| 183 |
"repository": { |
| 184 |
"type": "git", |
| 185 |
"url": "git://github.com/Tjatse/ansi-html.git" |
| 186 |
}, |
| 187 |
"keywords": [ |
| 188 |
"ansi", |
| 189 |
"ansi html", |
| 190 |
"chalk html" |
| 191 |
], |
| 192 |
"author": { |
| 193 |
"name": "Tjatse" |
| 194 |
}, |
| 195 |
"license": "Apache, Version 2.0", |
| 196 |
"bugs": { |
| 197 |
"url": "https://github.com/Tjatse/ansi-html/issues" |
| 198 |
}, |
| 199 |
"engines": [ |
| 200 |
"node >= 0.8.0" |
| 201 |
], |
| 202 |
"dependencies": {}, |
| 203 |
"devDependencies": { |
| 204 |
"chalk": "~0.5.1", |
| 205 |
"mocha": "^1.21.4", |
| 206 |
"chai": "^1.9.1", |
| 207 |
"lodash": "~2.4.1" |
| 208 |
}, |
| 209 |
"homepage": "https://github.com/Tjatse/ansi-html", |
| 210 |
"_id": "[email protected]", |
| 211 |
"_shasum": "61c1184577d304214ce873c35967acbac53793c7", |
| 212 |
"_from": ".", |
| 213 |
"_npmVersion": "1.4.10", |
| 214 |
"_npmUser": { |
| 215 |
"name": "tjatse", |
| 216 |
"email": "[email protected]" |
| 217 |
}, |
| 218 |
"maintainers": [ |
| 219 |
{ |
| 220 |
"name": "tjatse", |
| 221 |
"email": "[email protected]" |
| 222 |
} |
| 223 |
], |
| 224 |
"dist": { |
| 225 |
"shasum": "61c1184577d304214ce873c35967acbac53793c7", |
| 226 |
"tarball": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.4.tgz" |
| 227 |
}, |
| 228 |
"directories": {} |
| 229 |
}, |
| 230 |
"0.0.5": { |
| 231 |
"name": "ansi-html", |
| 232 |
"version": "0.0.5", |
| 233 |
"description": "An elegant lib that converts the chalked (ANSI) text to HTML.", |
| 234 |
"main": "index.js", |
| 235 |
"scripts": { |
| 236 |
"test": "mocha -R spec -t 5000" |
| 237 |
}, |
| 238 |
"repository": { |
| 239 |
"type": "git", |
| 240 |
"url": "git://github.com/Tjatse/ansi-html.git" |
| 241 |
}, |
| 242 |
"keywords": [ |
| 243 |
"ansi", |
| 244 |
"ansi html", |
| 245 |
"chalk html" |
| 246 |
], |
| 247 |
"author": { |
| 248 |
"name": "Tjatse" |
| 249 |
}, |
| 250 |
"license": "Apache, Version 2.0", |
| 251 |
"bugs": { |
| 252 |
"url": "https://github.com/Tjatse/ansi-html/issues" |
| 253 |
}, |
| 254 |
"engines": [ |
| 255 |
"node >= 0.8.0" |
| 256 |
], |
| 257 |
"dependencies": {}, |
| 258 |
"devDependencies": { |
| 259 |
"chalk": "~1.1.1", |
| 260 |
"mocha": "^1.21.4", |
| 261 |
"chai": "^1.9.1", |
| 262 |
"lodash": "~2.4.1" |
| 263 |
}, |
| 264 |
"homepage": "https://github.com/Tjatse/ansi-html", |
| 265 |
"_id": "[email protected]", |
| 266 |
"_shasum": "0dcaa5a081206866bc240a3b773a184ea3b88b64", |
| 267 |
"_from": ".", |
| 268 |
"_npmVersion": "2.14.7", |
| 269 |
"_nodeVersion": "4.2.2", |
| 270 |
"_npmUser": { |
| 271 |
"name": "tjatse", |
| 272 |
"email": "[email protected]" |
| 273 |
}, |
| 274 |
"maintainers": [ |
| 275 |
{ |
| 276 |
"name": "tjatse", |
| 277 |
"email": "[email protected]" |
| 278 |
} |
| 279 |
], |
| 280 |
"dist": { |
| 281 |
"shasum": "0dcaa5a081206866bc240a3b773a184ea3b88b64", |
| 282 |
"tarball": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.5.tgz" |
| 283 |
}, |
| 284 |
"directories": {} |
| 285 |
}, |
| 286 |
"0.0.6": { |
| 287 |
"name": "ansi-html", |
| 288 |
"version": "0.0.6", |
| 289 |
"description": "An elegant lib that converts the chalked (ANSI) text to HTML.", |
| 290 |
"main": "index.js", |
| 291 |
"scripts": { |
| 292 |
"test": "mocha -R spec -t 5000" |
| 293 |
}, |
| 294 |
"bin": { |
| 295 |
"ansi-html": "./bin/ansi-html" |
| 296 |
}, |
| 297 |
"repository": { |
| 298 |
"type": "git", |
| 299 |
"url": "git://github.com/Tjatse/ansi-html.git" |
| 300 |
}, |
| 301 |
"keywords": [ |
| 302 |
"ansi", |
| 303 |
"ansi html", |
| 304 |
"chalk html" |
| 305 |
], |
| 306 |
"author": { |
| 307 |
"name": "Tjatse" |
| 308 |
}, |
| 309 |
"license": "Apache-2.0", |
| 310 |
"bugs": { |
| 311 |
"url": "https://github.com/Tjatse/ansi-html/issues" |
| 312 |
}, |
| 313 |
"engines": [ |
| 314 |
"node >= 0.8.0" |
| 315 |
], |
| 316 |
"dependencies": {}, |
| 317 |
"devDependencies": { |
| 318 |
"mocha": "^1.21.4", |
| 319 |
"chai": "^1.9.1", |
| 320 |
"chalk": "^1.1.3", |
| 321 |
"lodash": "^2.4.2" |
| 322 |
}, |
| 323 |
"homepage": "https://github.com/Tjatse/ansi-html", |
| 324 |
"standard": { |
| 325 |
"ignore": [], |
| 326 |
"globals": [ |
| 327 |
"describe", |
| 328 |
"it", |
| 329 |
"before", |
| 330 |
"after" |
| 331 |
] |
| 332 |
}, |
| 333 |
"gitHead": "29055aed2ccf07ecd75340b2200f6a6e24fb9e7f", |
| 334 |
"_id": "[email protected]", |
| 335 |
"_shasum": "bda8e33dd2ee1c20f54c08eb405713cbfc0ed80e", |
| 336 |
"_from": ".", |
| 337 |
"_npmVersion": "3.10.6", |
| 338 |
"_nodeVersion": "4.5.0", |
| 339 |
"_npmUser": { |
| 340 |
"name": "tjatse", |
| 341 |
"email": "[email protected]" |
| 342 |
}, |
| 343 |
"maintainers": [ |
| 344 |
{ |
| 345 |
"name": "tjatse", |
| 346 |
"email": "[email protected]" |
| 347 |
} |
| 348 |
], |
| 349 |
"dist": { |
| 350 |
"shasum": "bda8e33dd2ee1c20f54c08eb405713cbfc0ed80e", |
| 351 |
"tarball": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.6.tgz" |
| 352 |
}, |
| 353 |
"_npmOperationalInternal": { |
| 354 |
"host": "packages-18-east.internal.npmjs.com", |
| 355 |
"tmp": "tmp/ansi-html-0.0.6.tgz_1477457737513_0.8344127773307264" |
| 356 |
}, |
| 357 |
"directories": {} |
| 358 |
}, |
| 359 |
"0.0.7": { |
| 360 |
"name": "ansi-html", |
| 361 |
"version": "0.0.7", |
| 362 |
"description": "An elegant lib that converts the chalked (ANSI) text to HTML.", |
| 363 |
"main": "index.js", |
| 364 |
"scripts": { |
| 365 |
"test": "mocha -R spec -t 5000" |
| 366 |
}, |
| 367 |
"bin": { |
| 368 |
"ansi-html": "./bin/ansi-html" |
| 369 |
}, |
| 370 |
"repository": { |
| 371 |
"type": "git", |
| 372 |
"url": "git://github.com/Tjatse/ansi-html.git" |
| 373 |
}, |
| 374 |
"keywords": [ |
| 375 |
"ansi", |
| 376 |
"ansi html", |
| 377 |
"chalk html" |
| 378 |
], |
| 379 |
"author": { |
| 380 |
"name": "Tjatse" |
| 381 |
}, |
| 382 |
"license": "Apache-2.0", |
| 383 |
"bugs": { |
| 384 |
"url": "https://github.com/Tjatse/ansi-html/issues" |
| 385 |
}, |
| 386 |
"engines": [ |
| 387 |
"node >= 0.8.0" |
| 388 |
], |
| 389 |
"dependencies": {}, |
| 390 |
"devDependencies": { |
| 391 |
"mocha": "^1.21.4", |
| 392 |
"chai": "^1.9.1", |
| 393 |
"chalk": "^1.1.3", |
| 394 |
"lodash": "^2.4.2" |
| 395 |
}, |
| 396 |
"homepage": "https://github.com/Tjatse/ansi-html", |
| 397 |
"standard": { |
| 398 |
"ignore": [], |
| 399 |
"globals": [ |
| 400 |
"describe", |
| 401 |
"it", |
| 402 |
"before", |
| 403 |
"after" |
| 404 |
] |
| 405 |
}, |
| 406 |
"gitHead": "99ec49e431c70af6275b3c4e00c7be34be51753c", |
| 407 |
"_id": "[email protected]", |
| 408 |
"_shasum": "813584021962a9e9e6fd039f940d12f56ca7859e", |
| 409 |
"_from": ".", |
| 410 |
"_npmVersion": "4.1.1", |
| 411 |
"_nodeVersion": "6.9.2", |
| 412 |
"_npmUser": { |
| 413 |
"name": "tjatse", |
| 414 |
"email": "[email protected]" |
| 415 |
}, |
| 416 |
"maintainers": [ |
| 417 |
{ |
| 418 |
"name": "tjatse", |
| 419 |
"email": "[email protected]" |
| 420 |
} |
| 421 |
], |
| 422 |
"dist": { |
| 423 |
"shasum": "813584021962a9e9e6fd039f940d12f56ca7859e", |
| 424 |
"tarball": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz" |
| 425 |
}, |
| 426 |
"_npmOperationalInternal": { |
| 427 |
"host": "packages-18-east.internal.npmjs.com", |
| 428 |
"tmp": "tmp/ansi-html-0.0.7.tgz_1483330528298_0.18794766115024686" |
| 429 |
}, |
| 430 |
"directories": {} |
| 431 |
} |
| 432 |
}, |
| 433 |
"readme": "ansi-html [](http://badge.fury.io/js/ansi-html) [](https://travis-ci.org/Tjatse/ansi-html)\n=========\nAn elegant lib that converts the chalked (ANSI) text to HTML.\n\n# Coverage\n- All styles of [chalk](https://github.com/sindresorhus/chalk) (100%) and [colors](https://github.com/Marak/colors.js).\n- There are over **150** randomized test cases under `test`.\n\n# Installation\n```\n$ npm install ansi-html\n```\n\n# Usage\n```javascript\nvar ansiHTML = require('ansi-html');\nvar str = ansiHTML('[ANSI_TEXT]');\n```\n\ne.g.:\n```javascript\nvar chalk = require('chalk');\n\nvar str = chalk.bold.red('foo') + ' bar';\nconsole.log('[ANSI]', str)\nconsole.log('[HTML]', ansiHTML(str));\n```\n\nSee complete examples under `test` / `examples` directory.\n\n# Set Colors\n```javascript\nansiHTML.setColors({\n reset: ['555', '666'], // FOREGROUND-COLOR or [FOREGROUND-COLOR] or [, BACKGROUND-COLOR] or [FOREGROUND-COLOR, BACKGROUND-COLOR]\n black: 'aaa',\t// String\n red: 'bbb',\n green: 'ccc',\n yellow: 'ddd',\n blue: 'eee',\n magenta: 'fff',\n cyan: '999',\n lightgrey: '888',\n darkgrey: '777'\n});\n```\n\n# Reset\n```javascript\nansiHTML.reset();\n```\n\n# Exposed Tags\n```javascript\nvar openTags = ansiHTML.tags.open;\nvar closeTags = ansiHTML.tags.close;\n```\n\n# Test\n```\n$ npm install -l\n$ npm test\n```\n", |
| 434 |
"maintainers": [ |
| 435 |
{ |
| 436 |
"name": "tjatse", |
| 437 |
"email": "[email protected]" |
| 438 |
} |
| 439 |
], |
| 440 |
"time": { |
| 441 |
"modified": "2018-02-24T22:11:06.592Z", |
| 442 |
"created": "2014-12-15T07:30:55.472Z", |
| 443 |
"0.0.1": "2014-12-15T07:30:55.472Z", |
| 444 |
"0.0.2": "2014-12-15T07:36:56.101Z", |
| 445 |
"0.0.3": "2014-12-15T08:22:29.960Z", |
| 446 |
"0.0.4": "2014-12-16T06:24:34.172Z", |
| 447 |
"0.0.5": "2015-11-21T10:16:13.285Z", |
| 448 |
"0.0.6": "2016-10-26T04:55:40.736Z", |
| 449 |
"0.0.7": "2017-01-02T04:15:30.119Z" |
| 450 |
}, |
| 451 |
"homepage": "https://github.com/Tjatse/ansi-html", |
| 452 |
"keywords": [ |
| 453 |
"ansi", |
| 454 |
"ansi html", |
| 455 |
"chalk html" |
| 456 |
], |
| 457 |
"repository": { |
| 458 |
"type": "git", |
| 459 |
"url": "git://github.com/Tjatse/ansi-html.git" |
| 460 |
}, |
| 461 |
"author": { |
| 462 |
"name": "Tjatse" |
| 463 |
}, |
| 464 |
"bugs": { |
| 465 |
"url": "https://github.com/Tjatse/ansi-html/issues" |
| 466 |
}, |
| 467 |
"license": "Apache-2.0", |
| 468 |
"readmeFilename": "README.md", |
| 469 |
"users": { |
| 470 |
"color_cat": true, |
| 471 |
"d-band": true, |
| 472 |
"shangsinian": true, |
| 473 |
"princetoad": true, |
| 474 |
"rubiadias": true |
| 475 |
}, |
| 476 |
"_attachments": {} |
| 477 |
} |