| 1 |
{ |
| 2 |
"_id": "cardinal", |
| 3 |
"_rev": "78-28b869e3d87bbf656782e0f3c0276308", |
| 4 |
"name": "cardinal", |
| 5 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "2.1.1" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"0.1.0": { |
| 11 |
"name": "cardinal", |
| 12 |
"version": "0.1.0", |
| 13 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 14 |
"main": "cardinal.js", |
| 15 |
"scripts": { |
| 16 |
"test": "tap ./test/*.js" |
| 17 |
}, |
| 18 |
"bin": { |
| 19 |
"cardinal": "./bin/cardinal.js" |
| 20 |
}, |
| 21 |
"repository": { |
| 22 |
"type": "git", |
| 23 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 24 |
}, |
| 25 |
"keywords": [ |
| 26 |
"syntax", |
| 27 |
"highlight", |
| 28 |
"theme", |
| 29 |
"javascript", |
| 30 |
"terminal", |
| 31 |
"console", |
| 32 |
"print", |
| 33 |
"output" |
| 34 |
], |
| 35 |
"author": { |
| 36 |
"name": "Thorsten Lorenz", |
| 37 |
"email": "[email protected]", |
| 38 |
"url": "thlorenz.com" |
| 39 |
}, |
| 40 |
"license": "MIT", |
| 41 |
"dependencies": { |
| 42 |
"redeyed": "~0.1.0" |
| 43 |
}, |
| 44 |
"devDependencies": { |
| 45 |
"tap": "~0.3.1" |
| 46 |
}, |
| 47 |
"_id": "[email protected]", |
| 48 |
"dist": { |
| 49 |
"shasum": "60e1a98728bc24e5517f9ee5b82e0c48b93aba07", |
| 50 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-0.1.0.tgz" |
| 51 |
}, |
| 52 |
"_npmVersion": "1.1.59", |
| 53 |
"_npmUser": { |
| 54 |
"name": "thlorenz", |
| 55 |
"email": "[email protected]" |
| 56 |
}, |
| 57 |
"maintainers": [ |
| 58 |
{ |
| 59 |
"name": "thlorenz", |
| 60 |
"email": "[email protected]" |
| 61 |
} |
| 62 |
], |
| 63 |
"directories": {} |
| 64 |
}, |
| 65 |
"0.1.1": { |
| 66 |
"name": "cardinal", |
| 67 |
"version": "0.1.1", |
| 68 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 69 |
"main": "cardinal.js", |
| 70 |
"scripts": { |
| 71 |
"test": "tap ./test/*.js", |
| 72 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 73 |
}, |
| 74 |
"bin": { |
| 75 |
"cardinal": "./bin/cardinal.js" |
| 76 |
}, |
| 77 |
"repository": { |
| 78 |
"type": "git", |
| 79 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 80 |
}, |
| 81 |
"keywords": [ |
| 82 |
"syntax", |
| 83 |
"highlight", |
| 84 |
"theme", |
| 85 |
"javascript", |
| 86 |
"terminal", |
| 87 |
"console", |
| 88 |
"print", |
| 89 |
"output" |
| 90 |
], |
| 91 |
"author": { |
| 92 |
"name": "Thorsten Lorenz", |
| 93 |
"email": "[email protected]", |
| 94 |
"url": "thlorenz.com" |
| 95 |
}, |
| 96 |
"license": "MIT", |
| 97 |
"dependencies": { |
| 98 |
"redeyed": "~0.1.0" |
| 99 |
}, |
| 100 |
"devDependencies": { |
| 101 |
"tap": "~0.3.1" |
| 102 |
}, |
| 103 |
"_id": "[email protected]", |
| 104 |
"dist": { |
| 105 |
"shasum": "6696dc37d1b1a28295b35d68d5acefe322b5fd27", |
| 106 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-0.1.1.tgz" |
| 107 |
}, |
| 108 |
"_npmVersion": "1.1.59", |
| 109 |
"_npmUser": { |
| 110 |
"name": "thlorenz", |
| 111 |
"email": "[email protected]" |
| 112 |
}, |
| 113 |
"maintainers": [ |
| 114 |
{ |
| 115 |
"name": "thlorenz", |
| 116 |
"email": "[email protected]" |
| 117 |
} |
| 118 |
], |
| 119 |
"directories": {} |
| 120 |
}, |
| 121 |
"0.1.2": { |
| 122 |
"name": "cardinal", |
| 123 |
"version": "0.1.2", |
| 124 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 125 |
"main": "cardinal.js", |
| 126 |
"scripts": { |
| 127 |
"test": "tap ./test/*.js", |
| 128 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 129 |
}, |
| 130 |
"bin": { |
| 131 |
"cdl": "./bin/cdl.js" |
| 132 |
}, |
| 133 |
"repository": { |
| 134 |
"type": "git", |
| 135 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 136 |
}, |
| 137 |
"keywords": [ |
| 138 |
"syntax", |
| 139 |
"highlight", |
| 140 |
"theme", |
| 141 |
"javascript", |
| 142 |
"terminal", |
| 143 |
"console", |
| 144 |
"print", |
| 145 |
"output" |
| 146 |
], |
| 147 |
"author": { |
| 148 |
"name": "Thorsten Lorenz", |
| 149 |
"email": "[email protected]", |
| 150 |
"url": "thlorenz.com" |
| 151 |
}, |
| 152 |
"license": "MIT", |
| 153 |
"dependencies": { |
| 154 |
"redeyed": "~0.1.0" |
| 155 |
}, |
| 156 |
"devDependencies": { |
| 157 |
"tap": "~0.3.1", |
| 158 |
"readdirp": "~0.2.1" |
| 159 |
}, |
| 160 |
"_id": "[email protected]", |
| 161 |
"dist": { |
| 162 |
"shasum": "4c04fe1b48920ce80f930e56327de62e1a9649c9", |
| 163 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-0.1.2.tgz" |
| 164 |
}, |
| 165 |
"_npmVersion": "1.1.59", |
| 166 |
"_npmUser": { |
| 167 |
"name": "thlorenz", |
| 168 |
"email": "[email protected]" |
| 169 |
}, |
| 170 |
"maintainers": [ |
| 171 |
{ |
| 172 |
"name": "thlorenz", |
| 173 |
"email": "[email protected]" |
| 174 |
} |
| 175 |
], |
| 176 |
"directories": {} |
| 177 |
}, |
| 178 |
"0.1.3": { |
| 179 |
"name": "cardinal", |
| 180 |
"version": "0.1.3", |
| 181 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 182 |
"main": "cardinal.js", |
| 183 |
"scripts": { |
| 184 |
"test": "tap ./test/*.js", |
| 185 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 186 |
}, |
| 187 |
"bin": { |
| 188 |
"cdl": "./bin/cdl.js" |
| 189 |
}, |
| 190 |
"repository": { |
| 191 |
"type": "git", |
| 192 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 193 |
}, |
| 194 |
"keywords": [ |
| 195 |
"syntax", |
| 196 |
"highlight", |
| 197 |
"theme", |
| 198 |
"javascript", |
| 199 |
"terminal", |
| 200 |
"console", |
| 201 |
"print", |
| 202 |
"output" |
| 203 |
], |
| 204 |
"author": { |
| 205 |
"name": "Thorsten Lorenz", |
| 206 |
"email": "[email protected]", |
| 207 |
"url": "thlorenz.com" |
| 208 |
}, |
| 209 |
"license": "MIT", |
| 210 |
"dependencies": { |
| 211 |
"redeyed": "~0.1.0" |
| 212 |
}, |
| 213 |
"devDependencies": { |
| 214 |
"tap": "~0.3.1", |
| 215 |
"readdirp": "~0.2.1" |
| 216 |
}, |
| 217 |
"_id": "[email protected]", |
| 218 |
"dist": { |
| 219 |
"shasum": "21fef0d8484c9db591b0e6a9a6274eaa5173ee10", |
| 220 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-0.1.3.tgz" |
| 221 |
}, |
| 222 |
"_npmVersion": "1.1.59", |
| 223 |
"_npmUser": { |
| 224 |
"name": "thlorenz", |
| 225 |
"email": "[email protected]" |
| 226 |
}, |
| 227 |
"maintainers": [ |
| 228 |
{ |
| 229 |
"name": "thlorenz", |
| 230 |
"email": "[email protected]" |
| 231 |
} |
| 232 |
], |
| 233 |
"directories": {} |
| 234 |
}, |
| 235 |
"0.2.0": { |
| 236 |
"name": "cardinal", |
| 237 |
"version": "0.2.0", |
| 238 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 239 |
"main": "cardinal.js", |
| 240 |
"scripts": { |
| 241 |
"test": "tap ./test/*.js", |
| 242 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 243 |
}, |
| 244 |
"bin": { |
| 245 |
"cdl": "./bin/cdl.js" |
| 246 |
}, |
| 247 |
"repository": { |
| 248 |
"type": "git", |
| 249 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 250 |
}, |
| 251 |
"keywords": [ |
| 252 |
"syntax", |
| 253 |
"highlight", |
| 254 |
"theme", |
| 255 |
"javascript", |
| 256 |
"terminal", |
| 257 |
"console", |
| 258 |
"print", |
| 259 |
"output" |
| 260 |
], |
| 261 |
"author": { |
| 262 |
"name": "Thorsten Lorenz", |
| 263 |
"email": "[email protected]", |
| 264 |
"url": "thlorenz.com" |
| 265 |
}, |
| 266 |
"license": "MIT", |
| 267 |
"dependencies": { |
| 268 |
"redeyed": "~0.4.0" |
| 269 |
}, |
| 270 |
"devDependencies": { |
| 271 |
"tap": "~0.3.1", |
| 272 |
"readdirp": "~0.2.1" |
| 273 |
}, |
| 274 |
"_id": "[email protected]", |
| 275 |
"dist": { |
| 276 |
"shasum": "a358231a66feb12d31c00f83624c4a0be4c96a2e", |
| 277 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-0.2.0.tgz" |
| 278 |
}, |
| 279 |
"_npmVersion": "1.1.59", |
| 280 |
"_npmUser": { |
| 281 |
"name": "thlorenz", |
| 282 |
"email": "[email protected]" |
| 283 |
}, |
| 284 |
"maintainers": [ |
| 285 |
{ |
| 286 |
"name": "thlorenz", |
| 287 |
"email": "[email protected]" |
| 288 |
} |
| 289 |
], |
| 290 |
"directories": {} |
| 291 |
}, |
| 292 |
"0.3.0": { |
| 293 |
"name": "cardinal", |
| 294 |
"version": "0.3.0", |
| 295 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 296 |
"main": "cardinal.js", |
| 297 |
"scripts": { |
| 298 |
"test": "tap ./test/*.js", |
| 299 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 300 |
}, |
| 301 |
"bin": { |
| 302 |
"cdl": "./bin/cdl.js" |
| 303 |
}, |
| 304 |
"repository": { |
| 305 |
"type": "git", |
| 306 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 307 |
}, |
| 308 |
"keywords": [ |
| 309 |
"syntax", |
| 310 |
"highlight", |
| 311 |
"theme", |
| 312 |
"javascript", |
| 313 |
"terminal", |
| 314 |
"console", |
| 315 |
"print", |
| 316 |
"output" |
| 317 |
], |
| 318 |
"author": { |
| 319 |
"name": "Thorsten Lorenz", |
| 320 |
"email": "[email protected]", |
| 321 |
"url": "thlorenz.com" |
| 322 |
}, |
| 323 |
"license": "MIT", |
| 324 |
"dependencies": { |
| 325 |
"redeyed": "~0.4.0" |
| 326 |
}, |
| 327 |
"devDependencies": { |
| 328 |
"tap": "~0.3.1", |
| 329 |
"readdirp": "~0.2.1" |
| 330 |
}, |
| 331 |
"_id": "[email protected]", |
| 332 |
"dist": { |
| 333 |
"shasum": "cc58904710c1c8c70a76f9975f3d349c8ab91ead", |
| 334 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-0.3.0.tgz" |
| 335 |
}, |
| 336 |
"_npmVersion": "1.1.65", |
| 337 |
"_npmUser": { |
| 338 |
"name": "thlorenz", |
| 339 |
"email": "[email protected]" |
| 340 |
}, |
| 341 |
"maintainers": [ |
| 342 |
{ |
| 343 |
"name": "thlorenz", |
| 344 |
"email": "[email protected]" |
| 345 |
} |
| 346 |
], |
| 347 |
"directories": {} |
| 348 |
}, |
| 349 |
"0.3.1": { |
| 350 |
"name": "cardinal", |
| 351 |
"version": "0.3.1", |
| 352 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 353 |
"main": "cardinal.js", |
| 354 |
"scripts": { |
| 355 |
"test": "tap ./test/*.js", |
| 356 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 357 |
}, |
| 358 |
"bin": { |
| 359 |
"cdl": "./bin/cdl.js" |
| 360 |
}, |
| 361 |
"repository": { |
| 362 |
"type": "git", |
| 363 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 364 |
}, |
| 365 |
"keywords": [ |
| 366 |
"syntax", |
| 367 |
"highlight", |
| 368 |
"theme", |
| 369 |
"javascript", |
| 370 |
"terminal", |
| 371 |
"console", |
| 372 |
"print", |
| 373 |
"output" |
| 374 |
], |
| 375 |
"author": { |
| 376 |
"name": "Thorsten Lorenz", |
| 377 |
"email": "[email protected]", |
| 378 |
"url": "thlorenz.com" |
| 379 |
}, |
| 380 |
"license": "MIT", |
| 381 |
"dependencies": { |
| 382 |
"redeyed": "~0.4.0" |
| 383 |
}, |
| 384 |
"devDependencies": { |
| 385 |
"tap": "~0.3.1", |
| 386 |
"readdirp": "~0.2.1" |
| 387 |
}, |
| 388 |
"_id": "[email protected]", |
| 389 |
"dist": { |
| 390 |
"shasum": "5fb52a3f655fdc026a4f8371ddd6f64f7635f072", |
| 391 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-0.3.1.tgz" |
| 392 |
}, |
| 393 |
"_npmVersion": "1.1.65", |
| 394 |
"_npmUser": { |
| 395 |
"name": "thlorenz", |
| 396 |
"email": "[email protected]" |
| 397 |
}, |
| 398 |
"maintainers": [ |
| 399 |
{ |
| 400 |
"name": "thlorenz", |
| 401 |
"email": "[email protected]" |
| 402 |
} |
| 403 |
], |
| 404 |
"directories": {} |
| 405 |
}, |
| 406 |
"0.3.2": { |
| 407 |
"name": "cardinal", |
| 408 |
"version": "0.3.2", |
| 409 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 410 |
"main": "cardinal.js", |
| 411 |
"scripts": { |
| 412 |
"test": "tap ./test/*.js", |
| 413 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 414 |
}, |
| 415 |
"bin": { |
| 416 |
"cdl": "./bin/cdl.js" |
| 417 |
}, |
| 418 |
"repository": { |
| 419 |
"type": "git", |
| 420 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 421 |
}, |
| 422 |
"keywords": [ |
| 423 |
"syntax", |
| 424 |
"highlight", |
| 425 |
"theme", |
| 426 |
"javascript", |
| 427 |
"terminal", |
| 428 |
"console", |
| 429 |
"print", |
| 430 |
"output" |
| 431 |
], |
| 432 |
"author": { |
| 433 |
"name": "Thorsten Lorenz", |
| 434 |
"email": "[email protected]", |
| 435 |
"url": "thlorenz.com" |
| 436 |
}, |
| 437 |
"license": "MIT", |
| 438 |
"dependencies": { |
| 439 |
"redeyed": "~0.4.0" |
| 440 |
}, |
| 441 |
"devDependencies": { |
| 442 |
"tap": "~0.3.1", |
| 443 |
"readdirp": "~0.2.1" |
| 444 |
}, |
| 445 |
"_id": "[email protected]", |
| 446 |
"dist": { |
| 447 |
"shasum": "a363ea1389a22549730ed3bb157c7ef8ae0f7d25", |
| 448 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-0.3.2.tgz" |
| 449 |
}, |
| 450 |
"_from": ".", |
| 451 |
"_npmVersion": "1.2.14", |
| 452 |
"_npmUser": { |
| 453 |
"name": "thlorenz", |
| 454 |
"email": "[email protected]" |
| 455 |
}, |
| 456 |
"maintainers": [ |
| 457 |
{ |
| 458 |
"name": "thlorenz", |
| 459 |
"email": "[email protected]" |
| 460 |
} |
| 461 |
], |
| 462 |
"directories": {} |
| 463 |
}, |
| 464 |
"0.4.0": { |
| 465 |
"name": "cardinal", |
| 466 |
"version": "0.4.0", |
| 467 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 468 |
"main": "cardinal.js", |
| 469 |
"scripts": { |
| 470 |
"test": "tap ./test/*.js", |
| 471 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 472 |
}, |
| 473 |
"bin": { |
| 474 |
"cdl": "./bin/cdl.js" |
| 475 |
}, |
| 476 |
"repository": { |
| 477 |
"type": "git", |
| 478 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 479 |
}, |
| 480 |
"keywords": [ |
| 481 |
"syntax", |
| 482 |
"highlight", |
| 483 |
"theme", |
| 484 |
"javascript", |
| 485 |
"terminal", |
| 486 |
"console", |
| 487 |
"print", |
| 488 |
"output" |
| 489 |
], |
| 490 |
"author": { |
| 491 |
"name": "Thorsten Lorenz", |
| 492 |
"email": "[email protected]", |
| 493 |
"url": "thlorenz.com" |
| 494 |
}, |
| 495 |
"license": "MIT", |
| 496 |
"dependencies": { |
| 497 |
"redeyed": "~0.4.0" |
| 498 |
}, |
| 499 |
"devDependencies": { |
| 500 |
"tap": "~0.3.1", |
| 501 |
"readdirp": "~0.2.1" |
| 502 |
}, |
| 503 |
"bugs": { |
| 504 |
"url": "https://github.com/thlorenz/cardinal/issues" |
| 505 |
}, |
| 506 |
"_id": "[email protected]", |
| 507 |
"dist": { |
| 508 |
"shasum": "7d10aafb20837bde043c45e43a0c8c28cdaae45e", |
| 509 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-0.4.0.tgz" |
| 510 |
}, |
| 511 |
"_from": ".", |
| 512 |
"_npmVersion": "1.3.5", |
| 513 |
"_npmUser": { |
| 514 |
"name": "thlorenz", |
| 515 |
"email": "[email protected]" |
| 516 |
}, |
| 517 |
"maintainers": [ |
| 518 |
{ |
| 519 |
"name": "thlorenz", |
| 520 |
"email": "[email protected]" |
| 521 |
} |
| 522 |
], |
| 523 |
"directories": {} |
| 524 |
}, |
| 525 |
"0.4.1": { |
| 526 |
"name": "cardinal", |
| 527 |
"version": "0.4.1", |
| 528 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 529 |
"main": "cardinal.js", |
| 530 |
"scripts": { |
| 531 |
"test": "tap ./test/*.js", |
| 532 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 533 |
}, |
| 534 |
"bin": { |
| 535 |
"cdl": "./bin/cdl.js" |
| 536 |
}, |
| 537 |
"repository": { |
| 538 |
"type": "git", |
| 539 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 540 |
}, |
| 541 |
"keywords": [ |
| 542 |
"syntax", |
| 543 |
"highlight", |
| 544 |
"theme", |
| 545 |
"javascript", |
| 546 |
"json", |
| 547 |
"terminal", |
| 548 |
"console", |
| 549 |
"print", |
| 550 |
"output" |
| 551 |
], |
| 552 |
"author": { |
| 553 |
"name": "Thorsten Lorenz", |
| 554 |
"email": "[email protected]", |
| 555 |
"url": "thlorenz.com" |
| 556 |
}, |
| 557 |
"license": "MIT", |
| 558 |
"dependencies": { |
| 559 |
"redeyed": "~0.4.0", |
| 560 |
"ansicolors": "~0.2.1" |
| 561 |
}, |
| 562 |
"devDependencies": { |
| 563 |
"tap": "~0.3.1", |
| 564 |
"readdirp": "~0.2.1" |
| 565 |
}, |
| 566 |
"bugs": { |
| 567 |
"url": "https://github.com/thlorenz/cardinal/issues" |
| 568 |
}, |
| 569 |
"_id": "[email protected]", |
| 570 |
"dist": { |
| 571 |
"shasum": "809b8083e53385fd976e47767b6c369e58990036", |
| 572 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-0.4.1.tgz" |
| 573 |
}, |
| 574 |
"_from": ".", |
| 575 |
"_npmVersion": "1.3.5", |
| 576 |
"_npmUser": { |
| 577 |
"name": "thlorenz", |
| 578 |
"email": "[email protected]" |
| 579 |
}, |
| 580 |
"maintainers": [ |
| 581 |
{ |
| 582 |
"name": "thlorenz", |
| 583 |
"email": "[email protected]" |
| 584 |
} |
| 585 |
], |
| 586 |
"directories": {} |
| 587 |
}, |
| 588 |
"0.4.2": { |
| 589 |
"name": "cardinal", |
| 590 |
"version": "0.4.2", |
| 591 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 592 |
"main": "cardinal.js", |
| 593 |
"scripts": { |
| 594 |
"test": "tap ./test/*.js", |
| 595 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 596 |
}, |
| 597 |
"bin": { |
| 598 |
"cdl": "./bin/cdl.js" |
| 599 |
}, |
| 600 |
"repository": { |
| 601 |
"type": "git", |
| 602 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 603 |
}, |
| 604 |
"keywords": [ |
| 605 |
"syntax", |
| 606 |
"highlight", |
| 607 |
"theme", |
| 608 |
"javascript", |
| 609 |
"json", |
| 610 |
"terminal", |
| 611 |
"console", |
| 612 |
"print", |
| 613 |
"output" |
| 614 |
], |
| 615 |
"author": { |
| 616 |
"name": "Thorsten Lorenz", |
| 617 |
"email": "[email protected]", |
| 618 |
"url": "thlorenz.com" |
| 619 |
}, |
| 620 |
"license": "MIT", |
| 621 |
"dependencies": { |
| 622 |
"redeyed": "~0.4.0", |
| 623 |
"ansicolors": "~0.2.1" |
| 624 |
}, |
| 625 |
"devDependencies": { |
| 626 |
"tap": "~0.3.1", |
| 627 |
"readdirp": "~0.2.1" |
| 628 |
}, |
| 629 |
"bugs": { |
| 630 |
"url": "https://github.com/thlorenz/cardinal/issues" |
| 631 |
}, |
| 632 |
"_id": "[email protected]", |
| 633 |
"dist": { |
| 634 |
"shasum": "b6563a882f58a56c1abd574baec64b5d0b7ef942", |
| 635 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-0.4.2.tgz" |
| 636 |
}, |
| 637 |
"_from": ".", |
| 638 |
"_npmVersion": "1.3.5", |
| 639 |
"_npmUser": { |
| 640 |
"name": "thlorenz", |
| 641 |
"email": "[email protected]" |
| 642 |
}, |
| 643 |
"maintainers": [ |
| 644 |
{ |
| 645 |
"name": "thlorenz", |
| 646 |
"email": "[email protected]" |
| 647 |
} |
| 648 |
], |
| 649 |
"directories": {} |
| 650 |
}, |
| 651 |
"0.4.3": { |
| 652 |
"name": "cardinal", |
| 653 |
"version": "0.4.3", |
| 654 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 655 |
"main": "cardinal.js", |
| 656 |
"scripts": { |
| 657 |
"test": "tap ./test/*.js", |
| 658 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 659 |
}, |
| 660 |
"bin": { |
| 661 |
"cdl": "./bin/cdl.js" |
| 662 |
}, |
| 663 |
"repository": { |
| 664 |
"type": "git", |
| 665 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 666 |
}, |
| 667 |
"keywords": [ |
| 668 |
"syntax", |
| 669 |
"highlight", |
| 670 |
"theme", |
| 671 |
"javascript", |
| 672 |
"json", |
| 673 |
"terminal", |
| 674 |
"console", |
| 675 |
"print", |
| 676 |
"output" |
| 677 |
], |
| 678 |
"author": { |
| 679 |
"name": "Thorsten Lorenz", |
| 680 |
"email": "[email protected]", |
| 681 |
"url": "thlorenz.com" |
| 682 |
}, |
| 683 |
"license": "MIT", |
| 684 |
"dependencies": { |
| 685 |
"redeyed": "~0.4.0", |
| 686 |
"ansicolors": "~0.2.1" |
| 687 |
}, |
| 688 |
"devDependencies": { |
| 689 |
"tap": "~0.3.1", |
| 690 |
"readdirp": "~0.2.1" |
| 691 |
}, |
| 692 |
"bugs": { |
| 693 |
"url": "https://github.com/thlorenz/cardinal/issues" |
| 694 |
}, |
| 695 |
"homepage": "https://github.com/thlorenz/cardinal", |
| 696 |
"_id": "[email protected]", |
| 697 |
"dist": { |
| 698 |
"shasum": "7b74c3d1541002bd3d5b555048206719af91d313", |
| 699 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-0.4.3.tgz" |
| 700 |
}, |
| 701 |
"_from": ".", |
| 702 |
"_npmVersion": "1.3.17", |
| 703 |
"_npmUser": { |
| 704 |
"name": "thlorenz", |
| 705 |
"email": "[email protected]" |
| 706 |
}, |
| 707 |
"maintainers": [ |
| 708 |
{ |
| 709 |
"name": "thlorenz", |
| 710 |
"email": "[email protected]" |
| 711 |
} |
| 712 |
], |
| 713 |
"directories": {} |
| 714 |
}, |
| 715 |
"0.4.4": { |
| 716 |
"name": "cardinal", |
| 717 |
"version": "0.4.4", |
| 718 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 719 |
"main": "cardinal.js", |
| 720 |
"scripts": { |
| 721 |
"test": "tap ./test/*.js", |
| 722 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 723 |
}, |
| 724 |
"bin": { |
| 725 |
"cdl": "./bin/cdl.js" |
| 726 |
}, |
| 727 |
"repository": { |
| 728 |
"type": "git", |
| 729 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 730 |
}, |
| 731 |
"keywords": [ |
| 732 |
"syntax", |
| 733 |
"highlight", |
| 734 |
"theme", |
| 735 |
"javascript", |
| 736 |
"json", |
| 737 |
"terminal", |
| 738 |
"console", |
| 739 |
"print", |
| 740 |
"output" |
| 741 |
], |
| 742 |
"author": { |
| 743 |
"name": "Thorsten Lorenz", |
| 744 |
"email": "[email protected]", |
| 745 |
"url": "thlorenz.com" |
| 746 |
}, |
| 747 |
"license": "MIT", |
| 748 |
"dependencies": { |
| 749 |
"redeyed": "~0.4.0", |
| 750 |
"ansicolors": "~0.2.1" |
| 751 |
}, |
| 752 |
"devDependencies": { |
| 753 |
"tap": "~0.3.1", |
| 754 |
"readdirp": "~0.2.1" |
| 755 |
}, |
| 756 |
"bugs": { |
| 757 |
"url": "https://github.com/thlorenz/cardinal/issues" |
| 758 |
}, |
| 759 |
"homepage": "https://github.com/thlorenz/cardinal", |
| 760 |
"_id": "[email protected]", |
| 761 |
"dist": { |
| 762 |
"shasum": "ca5bb68a5b511b90fe93b9acea49bdee5c32bfe2", |
| 763 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-0.4.4.tgz" |
| 764 |
}, |
| 765 |
"_from": ".", |
| 766 |
"_npmVersion": "1.3.22", |
| 767 |
"_npmUser": { |
| 768 |
"name": "thlorenz", |
| 769 |
"email": "[email protected]" |
| 770 |
}, |
| 771 |
"maintainers": [ |
| 772 |
{ |
| 773 |
"name": "thlorenz", |
| 774 |
"email": "[email protected]" |
| 775 |
} |
| 776 |
], |
| 777 |
"directories": {} |
| 778 |
}, |
| 779 |
"0.5.0": { |
| 780 |
"name": "cardinal", |
| 781 |
"version": "0.5.0", |
| 782 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 783 |
"main": "cardinal.js", |
| 784 |
"scripts": { |
| 785 |
"test": "tap ./test/*.js", |
| 786 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 787 |
}, |
| 788 |
"bin": { |
| 789 |
"cdl": "./bin/cdl.js" |
| 790 |
}, |
| 791 |
"repository": { |
| 792 |
"type": "git", |
| 793 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 794 |
}, |
| 795 |
"keywords": [ |
| 796 |
"syntax", |
| 797 |
"highlight", |
| 798 |
"theme", |
| 799 |
"javascript", |
| 800 |
"json", |
| 801 |
"terminal", |
| 802 |
"console", |
| 803 |
"print", |
| 804 |
"output" |
| 805 |
], |
| 806 |
"author": { |
| 807 |
"name": "Thorsten Lorenz", |
| 808 |
"email": "[email protected]", |
| 809 |
"url": "thlorenz.com" |
| 810 |
}, |
| 811 |
"license": "MIT", |
| 812 |
"dependencies": { |
| 813 |
"redeyed": "~0.5.0", |
| 814 |
"ansicolors": "~0.2.1" |
| 815 |
}, |
| 816 |
"devDependencies": { |
| 817 |
"tap": "~0.3.1", |
| 818 |
"readdirp": "~0.2.1" |
| 819 |
}, |
| 820 |
"gitHead": "5567bcafef4a082db41639800701c671cbd7721b", |
| 821 |
"bugs": { |
| 822 |
"url": "https://github.com/thlorenz/cardinal/issues" |
| 823 |
}, |
| 824 |
"homepage": "https://github.com/thlorenz/cardinal", |
| 825 |
"_id": "[email protected]", |
| 826 |
"_shasum": "00d5f661dbd4aabfdf7d41ce48a5a59bca35a291", |
| 827 |
"_from": ".", |
| 828 |
"_npmVersion": "2.6.1", |
| 829 |
"_nodeVersion": "1.4.2", |
| 830 |
"_npmUser": { |
| 831 |
"name": "thlorenz", |
| 832 |
"email": "[email protected]" |
| 833 |
}, |
| 834 |
"maintainers": [ |
| 835 |
{ |
| 836 |
"name": "thlorenz", |
| 837 |
"email": "[email protected]" |
| 838 |
} |
| 839 |
], |
| 840 |
"dist": { |
| 841 |
"shasum": "00d5f661dbd4aabfdf7d41ce48a5a59bca35a291", |
| 842 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-0.5.0.tgz" |
| 843 |
}, |
| 844 |
"directories": {} |
| 845 |
}, |
| 846 |
"0.6.0": { |
| 847 |
"name": "cardinal", |
| 848 |
"version": "0.6.0", |
| 849 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 850 |
"main": "cardinal.js", |
| 851 |
"scripts": { |
| 852 |
"test": "tap ./test/*.js", |
| 853 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 854 |
}, |
| 855 |
"bin": { |
| 856 |
"cdl": "./bin/cdl.js" |
| 857 |
}, |
| 858 |
"repository": { |
| 859 |
"type": "git", |
| 860 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 861 |
}, |
| 862 |
"keywords": [ |
| 863 |
"syntax", |
| 864 |
"highlight", |
| 865 |
"theme", |
| 866 |
"javascript", |
| 867 |
"json", |
| 868 |
"terminal", |
| 869 |
"console", |
| 870 |
"print", |
| 871 |
"output" |
| 872 |
], |
| 873 |
"author": { |
| 874 |
"name": "Thorsten Lorenz", |
| 875 |
"email": "[email protected]", |
| 876 |
"url": "thlorenz.com" |
| 877 |
}, |
| 878 |
"license": "MIT", |
| 879 |
"dependencies": { |
| 880 |
"ansicolors": "~0.2.1", |
| 881 |
"redeyed": "~0.6.0" |
| 882 |
}, |
| 883 |
"devDependencies": { |
| 884 |
"tap": "~0.3.1", |
| 885 |
"readdirp": "~0.2.1" |
| 886 |
}, |
| 887 |
"gitHead": "a8be1fadbf1754ac2266b5abbf7e07b2298211bc", |
| 888 |
"bugs": { |
| 889 |
"url": "https://github.com/thlorenz/cardinal/issues" |
| 890 |
}, |
| 891 |
"homepage": "https://github.com/thlorenz/cardinal", |
| 892 |
"_id": "[email protected]", |
| 893 |
"_shasum": "5650ccb5b316e0d948a5bf65cbc8557ad833daef", |
| 894 |
"_from": ".", |
| 895 |
"_npmVersion": "2.14.4", |
| 896 |
"_nodeVersion": "4.1.2", |
| 897 |
"_npmUser": { |
| 898 |
"name": "thlorenz", |
| 899 |
"email": "[email protected]" |
| 900 |
}, |
| 901 |
"dist": { |
| 902 |
"shasum": "5650ccb5b316e0d948a5bf65cbc8557ad833daef", |
| 903 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-0.6.0.tgz" |
| 904 |
}, |
| 905 |
"maintainers": [ |
| 906 |
{ |
| 907 |
"name": "thlorenz", |
| 908 |
"email": "[email protected]" |
| 909 |
} |
| 910 |
], |
| 911 |
"directories": {} |
| 912 |
}, |
| 913 |
"0.7.0": { |
| 914 |
"name": "cardinal", |
| 915 |
"version": "0.7.0", |
| 916 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 917 |
"main": "cardinal.js", |
| 918 |
"scripts": { |
| 919 |
"test": "tap ./test/*.js", |
| 920 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 921 |
}, |
| 922 |
"bin": { |
| 923 |
"cdl": "./bin/cdl.js" |
| 924 |
}, |
| 925 |
"repository": { |
| 926 |
"type": "git", |
| 927 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 928 |
}, |
| 929 |
"keywords": [ |
| 930 |
"syntax", |
| 931 |
"highlight", |
| 932 |
"theme", |
| 933 |
"javascript", |
| 934 |
"json", |
| 935 |
"terminal", |
| 936 |
"console", |
| 937 |
"print", |
| 938 |
"output" |
| 939 |
], |
| 940 |
"author": { |
| 941 |
"name": "Thorsten Lorenz", |
| 942 |
"email": "[email protected]", |
| 943 |
"url": "thlorenz.com" |
| 944 |
}, |
| 945 |
"license": "MIT", |
| 946 |
"dependencies": { |
| 947 |
"ansicolors": "~0.2.1", |
| 948 |
"redeyed": "~0.6.0" |
| 949 |
}, |
| 950 |
"devDependencies": { |
| 951 |
"tap": "~0.3.1", |
| 952 |
"readdirp": "~0.2.1" |
| 953 |
}, |
| 954 |
"gitHead": "b1724eedfb1f5dd00f0b2c6b76c9eab2dedbf3a7", |
| 955 |
"bugs": { |
| 956 |
"url": "https://github.com/thlorenz/cardinal/issues" |
| 957 |
}, |
| 958 |
"homepage": "https://github.com/thlorenz/cardinal#readme", |
| 959 |
"_id": "[email protected]", |
| 960 |
"_shasum": "6512c0785c430df823ae38d2e02fc227ee3cc660", |
| 961 |
"_from": ".", |
| 962 |
"_npmVersion": "2.14.15", |
| 963 |
"_nodeVersion": "4.3.1-rc.2", |
| 964 |
"_npmUser": { |
| 965 |
"name": "thlorenz", |
| 966 |
"email": "[email protected]" |
| 967 |
}, |
| 968 |
"dist": { |
| 969 |
"shasum": "6512c0785c430df823ae38d2e02fc227ee3cc660", |
| 970 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-0.7.0.tgz" |
| 971 |
}, |
| 972 |
"maintainers": [ |
| 973 |
{ |
| 974 |
"name": "thlorenz", |
| 975 |
"email": "[email protected]" |
| 976 |
} |
| 977 |
], |
| 978 |
"_npmOperationalInternal": { |
| 979 |
"host": "packages-16-east.internal.npmjs.com", |
| 980 |
"tmp": "tmp/cardinal-0.7.0.tgz_1459271891182_0.3146513558458537" |
| 981 |
}, |
| 982 |
"directories": {} |
| 983 |
}, |
| 984 |
"0.7.1": { |
| 985 |
"name": "cardinal", |
| 986 |
"version": "0.7.1", |
| 987 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 988 |
"main": "cardinal.js", |
| 989 |
"scripts": { |
| 990 |
"test": "tap ./test/*.js", |
| 991 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 992 |
}, |
| 993 |
"bin": { |
| 994 |
"cdl": "./bin/cdl.js" |
| 995 |
}, |
| 996 |
"repository": { |
| 997 |
"type": "git", |
| 998 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 999 |
}, |
| 1000 |
"keywords": [ |
| 1001 |
"syntax", |
| 1002 |
"highlight", |
| 1003 |
"theme", |
| 1004 |
"javascript", |
| 1005 |
"json", |
| 1006 |
"terminal", |
| 1007 |
"console", |
| 1008 |
"print", |
| 1009 |
"output" |
| 1010 |
], |
| 1011 |
"author": { |
| 1012 |
"name": "Thorsten Lorenz", |
| 1013 |
"email": "[email protected]", |
| 1014 |
"url": "thlorenz.com" |
| 1015 |
}, |
| 1016 |
"license": "MIT", |
| 1017 |
"dependencies": { |
| 1018 |
"ansicolors": "~0.2.1", |
| 1019 |
"redeyed": "~0.6.0" |
| 1020 |
}, |
| 1021 |
"devDependencies": { |
| 1022 |
"tap": "~0.3.1", |
| 1023 |
"readdirp": "~0.2.1" |
| 1024 |
}, |
| 1025 |
"gitHead": "c03ae0f678e31f9de06aa1800f857bfac0becab8", |
| 1026 |
"bugs": { |
| 1027 |
"url": "https://github.com/thlorenz/cardinal/issues" |
| 1028 |
}, |
| 1029 |
"homepage": "https://github.com/thlorenz/cardinal#readme", |
| 1030 |
"_id": "[email protected]", |
| 1031 |
"_shasum": "2c270cdc751c86ceaafa08459c2bb38da2a2e297", |
| 1032 |
"_from": ".", |
| 1033 |
"_npmVersion": "2.14.15", |
| 1034 |
"_nodeVersion": "4.3.1-rc.2", |
| 1035 |
"_npmUser": { |
| 1036 |
"name": "thlorenz", |
| 1037 |
"email": "[email protected]" |
| 1038 |
}, |
| 1039 |
"dist": { |
| 1040 |
"shasum": "2c270cdc751c86ceaafa08459c2bb38da2a2e297", |
| 1041 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-0.7.1.tgz" |
| 1042 |
}, |
| 1043 |
"maintainers": [ |
| 1044 |
{ |
| 1045 |
"name": "thlorenz", |
| 1046 |
"email": "[email protected]" |
| 1047 |
} |
| 1048 |
], |
| 1049 |
"_npmOperationalInternal": { |
| 1050 |
"host": "packages-16-east.internal.npmjs.com", |
| 1051 |
"tmp": "tmp/cardinal-0.7.1.tgz_1459389317978_0.5028135688044131" |
| 1052 |
}, |
| 1053 |
"directories": {} |
| 1054 |
}, |
| 1055 |
"1.0.0": { |
| 1056 |
"name": "cardinal", |
| 1057 |
"version": "1.0.0", |
| 1058 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 1059 |
"main": "cardinal.js", |
| 1060 |
"scripts": { |
| 1061 |
"test": "tap ./test/*.js", |
| 1062 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 1063 |
}, |
| 1064 |
"bin": { |
| 1065 |
"cdl": "./bin/cdl.js" |
| 1066 |
}, |
| 1067 |
"repository": { |
| 1068 |
"type": "git", |
| 1069 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 1070 |
}, |
| 1071 |
"keywords": [ |
| 1072 |
"syntax", |
| 1073 |
"highlight", |
| 1074 |
"theme", |
| 1075 |
"javascript", |
| 1076 |
"json", |
| 1077 |
"terminal", |
| 1078 |
"console", |
| 1079 |
"print", |
| 1080 |
"output" |
| 1081 |
], |
| 1082 |
"author": { |
| 1083 |
"name": "Thorsten Lorenz", |
| 1084 |
"email": "[email protected]", |
| 1085 |
"url": "thlorenz.com" |
| 1086 |
}, |
| 1087 |
"license": "MIT", |
| 1088 |
"dependencies": { |
| 1089 |
"ansicolors": "~0.2.1", |
| 1090 |
"redeyed": "~1.0.0" |
| 1091 |
}, |
| 1092 |
"devDependencies": { |
| 1093 |
"tap": "~0.3.1", |
| 1094 |
"readdirp": "~0.2.1" |
| 1095 |
}, |
| 1096 |
"gitHead": "ce0befef82535d86218fc32e5872809212e4b274", |
| 1097 |
"bugs": { |
| 1098 |
"url": "https://github.com/thlorenz/cardinal/issues" |
| 1099 |
}, |
| 1100 |
"homepage": "https://github.com/thlorenz/cardinal#readme", |
| 1101 |
"_id": "[email protected]", |
| 1102 |
"_shasum": "50e21c1b0aa37729f9377def196b5a9cec932ee9", |
| 1103 |
"_from": ".", |
| 1104 |
"_npmVersion": "2.15.6", |
| 1105 |
"_nodeVersion": "4.4.6", |
| 1106 |
"_npmUser": { |
| 1107 |
"name": "thlorenz", |
| 1108 |
"email": "[email protected]" |
| 1109 |
}, |
| 1110 |
"dist": { |
| 1111 |
"shasum": "50e21c1b0aa37729f9377def196b5a9cec932ee9", |
| 1112 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-1.0.0.tgz" |
| 1113 |
}, |
| 1114 |
"maintainers": [ |
| 1115 |
{ |
| 1116 |
"name": "thlorenz", |
| 1117 |
"email": "[email protected]" |
| 1118 |
} |
| 1119 |
], |
| 1120 |
"_npmOperationalInternal": { |
| 1121 |
"host": "packages-12-west.internal.npmjs.com", |
| 1122 |
"tmp": "tmp/cardinal-1.0.0.tgz_1472599040783_0.3466065616812557" |
| 1123 |
}, |
| 1124 |
"directories": {} |
| 1125 |
}, |
| 1126 |
"2.0.0": { |
| 1127 |
"name": "cardinal", |
| 1128 |
"version": "2.0.0", |
| 1129 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 1130 |
"main": "cardinal.js", |
| 1131 |
"scripts": { |
| 1132 |
"test": "tap ./test/*.js", |
| 1133 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 1134 |
}, |
| 1135 |
"bin": { |
| 1136 |
"cdl": "./bin/cdl.js" |
| 1137 |
}, |
| 1138 |
"repository": { |
| 1139 |
"type": "git", |
| 1140 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 1141 |
}, |
| 1142 |
"keywords": [ |
| 1143 |
"syntax", |
| 1144 |
"highlight", |
| 1145 |
"theme", |
| 1146 |
"javascript", |
| 1147 |
"json", |
| 1148 |
"terminal", |
| 1149 |
"console", |
| 1150 |
"print", |
| 1151 |
"output" |
| 1152 |
], |
| 1153 |
"author": { |
| 1154 |
"name": "Thorsten Lorenz", |
| 1155 |
"email": "[email protected]", |
| 1156 |
"url": "thlorenz.com" |
| 1157 |
}, |
| 1158 |
"license": "MIT", |
| 1159 |
"dependencies": { |
| 1160 |
"ansicolors": "~0.3.2", |
| 1161 |
"redeyed": "~2.0.0" |
| 1162 |
}, |
| 1163 |
"devDependencies": { |
| 1164 |
"readdirp": "~2.1.0", |
| 1165 |
"tap": "~11.1.4" |
| 1166 |
}, |
| 1167 |
"gitHead": "ec52f5c0eca736e64508d1a35cd783481d22234f", |
| 1168 |
"bugs": { |
| 1169 |
"url": "https://github.com/thlorenz/cardinal/issues" |
| 1170 |
}, |
| 1171 |
"homepage": "https://github.com/thlorenz/cardinal#readme", |
| 1172 |
"_id": "[email protected]", |
| 1173 |
"_shasum": "00e4535d474fea0c35e15c0cfc1c7cfb5a7b87e5", |
| 1174 |
"_from": ".", |
| 1175 |
"_npmVersion": "2.15.12", |
| 1176 |
"_nodeVersion": "8.9.1", |
| 1177 |
"_npmUser": { |
| 1178 |
"name": "thlorenz", |
| 1179 |
"email": "[email protected]" |
| 1180 |
}, |
| 1181 |
"dist": { |
| 1182 |
"shasum": "00e4535d474fea0c35e15c0cfc1c7cfb5a7b87e5", |
| 1183 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-2.0.0.tgz", |
| 1184 |
"fileCount": 43, |
| 1185 |
"unpackedSize": 63764, |
| 1186 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3ikVCRA9TVsSAnZWagAAw5gP/3hV90iCILSSRjpoV1qd\nb/ixjaKdQSzJvGf6maP8YLAe9OkUeN9TYa36a0q5UzvZrq2z5jdhQg3xzH06\nimX0Lj4Ip5I8xJVnRQKkw0Bb+eu/ztKVZeB/OOyWSLKak+0AJRVXcIbHCGXo\n5BjZFyPOTepyG1mgZm9obPrSWP32sDJ1t/cEgEbMKrS2vMe0Ai1kjM70hvJN\nmIkEPcZ8jE7FKUxZjwOENiPgr4zYQ2SqrNxksPIgoxvOmwE845+cJDU+VTG7\nfDo0h1j4z0Uxm8mwpAnRSnT7RZnp6+/f7Ljvr843SAYXmNjSv/60tlckappa\nN8VAoKouuo0ZM+SF1dUUMoyEPerUi5DDvOG6f3aOuwpipjgnweEaTz88TWUj\nH+gLxq91kFxxnDiXJPlhBLlkPLqcOB+9NY7gEwm1QkKqqD4qVKdlVlFE4267\nwIUIHO3J+RgMWmnXexjeKkSMEawuQeFObMlwkTEBG/b8A7eKTkXUuBUHC/Ps\nxs+wrs7Sik+7sj0gWIEADBsWznNK1MDsgDHgCA3Zs3gosrvZn2teNhZ8jpFm\nSEQublF9awTBzRp0gwYatTSE0tGaQrJastBL7Raa9UJZOTUont69JIncafsX\nsrF9FZQMs8cOQ0tzbT0r2t+pa8cCiKAu0RAvrQJMpkPUFldG3+S2GsUbHXcb\n4YB9\r\n=8TG1\r\n-----END PGP SIGNATURE-----\r\n" |
| 1187 |
}, |
| 1188 |
"maintainers": [ |
| 1189 |
{ |
| 1190 |
"name": "thlorenz", |
| 1191 |
"email": "[email protected]" |
| 1192 |
} |
| 1193 |
], |
| 1194 |
"directories": {}, |
| 1195 |
"_npmOperationalInternal": { |
| 1196 |
"host": "s3://npm-registry-packages", |
| 1197 |
"tmp": "tmp/cardinal_2.0.0_1524508948623_0.5638687901968187" |
| 1198 |
} |
| 1199 |
}, |
| 1200 |
"2.0.1": { |
| 1201 |
"name": "cardinal", |
| 1202 |
"version": "2.0.1", |
| 1203 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 1204 |
"main": "cardinal.js", |
| 1205 |
"scripts": { |
| 1206 |
"test": "tap ./test/*.js", |
| 1207 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 1208 |
}, |
| 1209 |
"bin": { |
| 1210 |
"cdl": "./bin/cdl.js" |
| 1211 |
}, |
| 1212 |
"repository": { |
| 1213 |
"type": "git", |
| 1214 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 1215 |
}, |
| 1216 |
"keywords": [ |
| 1217 |
"syntax", |
| 1218 |
"highlight", |
| 1219 |
"theme", |
| 1220 |
"javascript", |
| 1221 |
"json", |
| 1222 |
"terminal", |
| 1223 |
"console", |
| 1224 |
"print", |
| 1225 |
"output" |
| 1226 |
], |
| 1227 |
"author": { |
| 1228 |
"name": "Thorsten Lorenz", |
| 1229 |
"email": "[email protected]", |
| 1230 |
"url": "thlorenz.com" |
| 1231 |
}, |
| 1232 |
"license": "MIT", |
| 1233 |
"dependencies": { |
| 1234 |
"ansicolors": "~0.3.2", |
| 1235 |
"redeyed": "~2.0.0" |
| 1236 |
}, |
| 1237 |
"devDependencies": { |
| 1238 |
"readdirp": "~2.1.0", |
| 1239 |
"tap": "~11.1.4" |
| 1240 |
}, |
| 1241 |
"gitHead": "55c61cf2f86036f7612446d0a4dc8d69ddf4d83a", |
| 1242 |
"bugs": { |
| 1243 |
"url": "https://github.com/thlorenz/cardinal/issues" |
| 1244 |
}, |
| 1245 |
"homepage": "https://github.com/thlorenz/cardinal#readme", |
| 1246 |
"_id": "[email protected]", |
| 1247 |
"_shasum": "2431630e6c006253b803967249b2d72e50d1985d", |
| 1248 |
"_from": ".", |
| 1249 |
"_npmVersion": "2.15.12", |
| 1250 |
"_nodeVersion": "8.9.1", |
| 1251 |
"_npmUser": { |
| 1252 |
"name": "thlorenz", |
| 1253 |
"email": "[email protected]" |
| 1254 |
}, |
| 1255 |
"dist": { |
| 1256 |
"shasum": "2431630e6c006253b803967249b2d72e50d1985d", |
| 1257 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-2.0.1.tgz", |
| 1258 |
"fileCount": 43, |
| 1259 |
"unpackedSize": 63934, |
| 1260 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa3jGPCRA9TVsSAnZWagAAm6UP/Rpa+zfNDN9i1oT3szxL\n0c+7ddDoF56exCDwr/EX32wqGreJB55xuseru/S34Q9WgCfnvgNJi8S5j2qa\nKsPJRMLudHc6UIa8lrJn7Cq8HKy/9LRIujpi28XiInxDdY2PLZN+jRCGbvEJ\nduh9w2UnZxfDxZqoH2pPvYY6738mESsslUF3Ge1Lu3rKCKUH8Wg8aUfByUhC\nUsWy89rNyX7pPJk413IpCbE0IXiPDmUhg+IhyeGgulO/9oqeWvbXaba8wusn\nIZ6xJ2/glsEzP05VChriXhMXwHUfjRzDkIZlDE/iWrCIRwnVgxK/BJfUFpCy\nkhdA9+4c9Fs1LuGkkrGbfYZISxzlkU3HilYWkZZqNxt+zFW6C/LfskAy7ZLr\nPMdOQkzcpcnClVPBSTiOHkbEwf/ukHWls456bXucDq9peQlWXuD9mUz05q8f\nirKh/ymS2Ea/hoMvWzhNuLvt94NxBngPvH9jC1Q/GoOC7YmOCcOSLEyPYVe/\npLETrm5iDNPYAPwSVH4aEKnxc1CdoRQlQnkMRAyL6klt64cABUJM9NZEQVCs\nbz2u/LhPlM9XdrmUj9f9FJD4ASX8GCMkDgoWZeyWNsA1fupnuZ6Qx/OA0hBI\n0q1kmv0Tp5ThWeenNK8drqPwt+Eog1dm8m5xMZXY6ofEfYjCBMQ4RVeeg/sD\n4lWO\r\n=b0MC\r\n-----END PGP SIGNATURE-----\r\n" |
| 1261 |
}, |
| 1262 |
"maintainers": [ |
| 1263 |
{ |
| 1264 |
"name": "thlorenz", |
| 1265 |
"email": "[email protected]" |
| 1266 |
} |
| 1267 |
], |
| 1268 |
"directories": {}, |
| 1269 |
"_npmOperationalInternal": { |
| 1270 |
"host": "s3://npm-registry-packages", |
| 1271 |
"tmp": "tmp/cardinal_2.0.1_1524511118296_0.6897278947164838" |
| 1272 |
} |
| 1273 |
}, |
| 1274 |
"2.1.0": { |
| 1275 |
"name": "cardinal", |
| 1276 |
"version": "2.1.0", |
| 1277 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 1278 |
"main": "cardinal.js", |
| 1279 |
"scripts": { |
| 1280 |
"test": "npm run run-test && npm run lint", |
| 1281 |
"run-test": "tape test/*.js", |
| 1282 |
"lint": "standart", |
| 1283 |
"lint-fix": "standart --fix", |
| 1284 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 1285 |
}, |
| 1286 |
"bin": { |
| 1287 |
"cdl": "./bin/cdl.js" |
| 1288 |
}, |
| 1289 |
"repository": { |
| 1290 |
"type": "git", |
| 1291 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 1292 |
}, |
| 1293 |
"keywords": [ |
| 1294 |
"syntax", |
| 1295 |
"highlight", |
| 1296 |
"theme", |
| 1297 |
"javascript", |
| 1298 |
"json", |
| 1299 |
"terminal", |
| 1300 |
"console", |
| 1301 |
"print", |
| 1302 |
"output" |
| 1303 |
], |
| 1304 |
"author": { |
| 1305 |
"name": "Thorsten Lorenz", |
| 1306 |
"email": "[email protected]", |
| 1307 |
"url": "thlorenz.com" |
| 1308 |
}, |
| 1309 |
"license": "MIT", |
| 1310 |
"dependencies": { |
| 1311 |
"ansicolors": "~0.3.2", |
| 1312 |
"redeyed": "~2.1.0" |
| 1313 |
}, |
| 1314 |
"devDependencies": { |
| 1315 |
"readdirp": "~2.1.0", |
| 1316 |
"standart": "~6.1.0", |
| 1317 |
"tape": "~4.9.0" |
| 1318 |
}, |
| 1319 |
"standart": { |
| 1320 |
"ignore": [ |
| 1321 |
"test/fixtures" |
| 1322 |
] |
| 1323 |
}, |
| 1324 |
"gitHead": "7f97067a4da3219ee0ac3eed0e2518e2e923992c", |
| 1325 |
"bugs": { |
| 1326 |
"url": "https://github.com/thlorenz/cardinal/issues" |
| 1327 |
}, |
| 1328 |
"homepage": "https://github.com/thlorenz/cardinal#readme", |
| 1329 |
"_id": "[email protected]", |
| 1330 |
"_shasum": "f601ebe3979005674a1eaec076237a8f3c3e61c4", |
| 1331 |
"_from": ".", |
| 1332 |
"_npmVersion": "2.15.12", |
| 1333 |
"_nodeVersion": "10.0.0", |
| 1334 |
"_npmUser": { |
| 1335 |
"name": "thlorenz", |
| 1336 |
"email": "[email protected]" |
| 1337 |
}, |
| 1338 |
"dist": { |
| 1339 |
"shasum": "f601ebe3979005674a1eaec076237a8f3c3e61c4", |
| 1340 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-2.1.0.tgz", |
| 1341 |
"fileCount": 42, |
| 1342 |
"unpackedSize": 65800, |
| 1343 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbA1X5CRA9TVsSAnZWagAA1mMP/2nNI0Kt2gzKeiy2Mna5\nqzmYe5Z99P8SH2XWKW0eau3174zWU1QD3b5deXJci+mQhTjzof4qmHHxQGmG\nHiyE94fmli3aL5vf0h4MtWs4Vy71p1BzaGU1FLfkv8Mw+BEn+fp6hYNsC4KH\ni9FNk8tP6HHRZDWa4oz2f9kwH+pJ9/EDsxv56ieO4fBRXLyV1MYOTGcu22jU\nLn3+iDFl3gDdDceHlPwriKIF+t+ROsHaCUL2mWZu+5zu5AaXEu0e2sapOotD\nR1nyEhTKoPlaqQ7BlKjOlP596vmQMIH5Le8/U2tb9OWDlec1GNW7QH4YVzVN\nblSr7YBwihDPMHoILhHZLjFrMsl1U0aFCzm2g1DUeB9bfyVeeu0zUeOWzyA+\nmZ0hToNxRiGPNrdvimbo34O/FMeEt3gitjVaGwNlshQORgL0NOn07MWWDMYe\nJTQh2wTN5dZNnfWsYte7/EKuYhL3r5w901p7Ra3BkIwVmjCSGcDXAAeb1tZX\nzKUIMFigQ4zeDQ3vOLYQRnD4SgOdrwVNCFgpjk4MNblE4XUwP0WAQKkPWLjx\nsTe1JO9triRvH6K14/Jo1yRmcL+MEdqNFwadDrjKKEf86KR5Bz/WkJ91SLYZ\nQjhR13o3JC2SS8v0aOQkEzuJIth7Iu+qR4KsJE/jA9M+wCuPZ6RqenLqTkES\n1F1q\r\n=bmIW\r\n-----END PGP SIGNATURE-----\r\n" |
| 1344 |
}, |
| 1345 |
"maintainers": [ |
| 1346 |
{ |
| 1347 |
"name": "thlorenz", |
| 1348 |
"email": "[email protected]" |
| 1349 |
} |
| 1350 |
], |
| 1351 |
"directories": {}, |
| 1352 |
"_npmOperationalInternal": { |
| 1353 |
"host": "s3://npm-registry-packages", |
| 1354 |
"tmp": "tmp/cardinal_2.1.0_1526945271904_0.35063396844748285" |
| 1355 |
} |
| 1356 |
}, |
| 1357 |
"2.1.1": { |
| 1358 |
"name": "cardinal", |
| 1359 |
"version": "2.1.1", |
| 1360 |
"description": "Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.", |
| 1361 |
"main": "cardinal.js", |
| 1362 |
"scripts": { |
| 1363 |
"test": "npm run run-test && npm run lint", |
| 1364 |
"run-test": "tape test/*.js", |
| 1365 |
"lint": "standart", |
| 1366 |
"lint-fix": "standart --fix", |
| 1367 |
"demo": "node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;" |
| 1368 |
}, |
| 1369 |
"bin": { |
| 1370 |
"cdl": "./bin/cdl.js" |
| 1371 |
}, |
| 1372 |
"repository": { |
| 1373 |
"type": "git", |
| 1374 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 1375 |
}, |
| 1376 |
"keywords": [ |
| 1377 |
"syntax", |
| 1378 |
"highlight", |
| 1379 |
"theme", |
| 1380 |
"javascript", |
| 1381 |
"json", |
| 1382 |
"terminal", |
| 1383 |
"console", |
| 1384 |
"print", |
| 1385 |
"output" |
| 1386 |
], |
| 1387 |
"author": { |
| 1388 |
"name": "Thorsten Lorenz", |
| 1389 |
"email": "[email protected]", |
| 1390 |
"url": "thlorenz.com" |
| 1391 |
}, |
| 1392 |
"license": "MIT", |
| 1393 |
"dependencies": { |
| 1394 |
"ansicolors": "~0.3.2", |
| 1395 |
"redeyed": "~2.1.0" |
| 1396 |
}, |
| 1397 |
"devDependencies": { |
| 1398 |
"readdirp": "~2.1.0", |
| 1399 |
"standart": "~6.1.0", |
| 1400 |
"tape": "~4.9.0" |
| 1401 |
}, |
| 1402 |
"standart": { |
| 1403 |
"ignore": [ |
| 1404 |
"test/fixtures" |
| 1405 |
] |
| 1406 |
}, |
| 1407 |
"gitHead": "c407ebe9c16122025488313fb1b020e62c0046ef", |
| 1408 |
"bugs": { |
| 1409 |
"url": "https://github.com/thlorenz/cardinal/issues" |
| 1410 |
}, |
| 1411 |
"homepage": "https://github.com/thlorenz/cardinal#readme", |
| 1412 |
"_id": "[email protected]", |
| 1413 |
"_shasum": "7cc1055d822d212954d07b085dea251cc7bc5505", |
| 1414 |
"_from": ".", |
| 1415 |
"_npmVersion": "2.15.12", |
| 1416 |
"_nodeVersion": "10.0.0", |
| 1417 |
"_npmUser": { |
| 1418 |
"name": "thlorenz", |
| 1419 |
"email": "[email protected]" |
| 1420 |
}, |
| 1421 |
"dist": { |
| 1422 |
"shasum": "7cc1055d822d212954d07b085dea251cc7bc5505", |
| 1423 |
"tarball": "https://registry.npmjs.org/cardinal/-/cardinal-2.1.1.tgz", |
| 1424 |
"fileCount": 42, |
| 1425 |
"unpackedSize": 66043, |
| 1426 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBFcFCRA9TVsSAnZWagAAvYgP/3AwpMPqkUXebw0Yhorq\nBwtD3zhp+EstXpGoKAbp7LaFEKRqaSD2RKgRiaAaw6P7O/vO7U58Nz8lOaHJ\nMNHu4NwudAdTXnsPYighIwnJTp2Kc6U3mueCrwiUDqvV5w/CKpoYPstiFajS\nc+7B6nbLDUaT4EJuLwqrTRxC0hKMn+DN7DuQJKSOY2huK/++3c6t+WM1CbWO\ngIBPK5qcKNGBEaghid99fsTWneT7HTvHNJrddaNtJoEU2kmcMBFYjA/1yxwW\n4Sq/s1E0f2s9rvFxF56aRSpMI38XDVb8KiEMWCmjNTNsMaD2ON3LlvGQ32MG\ngpiq6Voqv3F3FTW5vInRYiYddjGTPiqbOflKXFEwOXG2VkS6kp2VnvM1Ixj1\nEXGDz9E+FoVq6vJ99HSsGxBpY5R+YvzjXMzORC2M/N1F5A9D6Izc+qP7zp5u\nCLDUPT9jLcXvkGeFdhJjdbDromSIj4S+2PfS0wMiaWESwve5YyL6DaXs6A3z\nwLQNhIaAC/jv0zG2PkAGZpnYkwKTeO0Xg1pVYY9YpnS6y/XmfrrsAjEclbjN\nJAROtsJ0v2qRbwuIY4fOlsioruHNhPmewp56TnNBJSWy+YZEBogbmPFbMg2e\n4Q/Bhrij4qOgqulNReIOx427ZxDeG3XAdjEm8TGdbtp2Ii+MjAcwVQRiszDQ\nyN9H\r\n=aX3i\r\n-----END PGP SIGNATURE-----\r\n" |
| 1427 |
}, |
| 1428 |
"maintainers": [ |
| 1429 |
{ |
| 1430 |
"name": "thlorenz", |
| 1431 |
"email": "[email protected]" |
| 1432 |
} |
| 1433 |
], |
| 1434 |
"directories": {}, |
| 1435 |
"_npmOperationalInternal": { |
| 1436 |
"host": "s3://npm-registry-packages", |
| 1437 |
"tmp": "tmp/cardinal_2.1.1_1527011076961_0.7102539888151373" |
| 1438 |
} |
| 1439 |
} |
| 1440 |
}, |
| 1441 |
"readme": "# cardinal [](http://travis-ci.org/thlorenz/cardinal)\n\n<a href=\"https://www.patreon.com/bePatron?u=8663953\"><img alt=\"become a patron\" src=\"https://c5.patreon.com/external/logo/become_a_patron_button.png\" height=\"35px\"></a>\n\n[](https://nodei.co/npm/cardinal/)\n\n**car·di·nal** *(kärdn-l, kärdnl)* - crested thick-billed North American finch having bright red plumage in the male.\n\n\n\n## Features\n\n- highlights JavaScript code with ANSI colors to improve terminal output\n- theming support, see [custom color themes](https://github.com/thlorenz/cardinal/tree/master/themes)\n- optionally print line numbers\n- API and command line interface (`cdl`)\n- `.cardinalrc` config to customize settings\n- supports UNIX pipes\n\n***\n\n**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*\n\n- [Installation](#installation)\n - [As library](#as-library)\n - [As Commandline Tool](#as-commandline-tool)\n- [Commandline](#commandline)\n - [Highlight a file](#highlight-a-file)\n - [As part of a UNIX pipe](#as-part-of-a-unix-pipe)\n - [Theme](#theme)\n- [API](#api)\n - [*highlight(code[, opts])*](#highlightcode-opts)\n - [*highlightFileSync(fullPath[, opts])*](#highlightfilesyncfullpath-opts)\n - [*highlightFile(fullPath[, opts], callback)*](#highlightfilefullpath-opts-callback)\n - [opts](#opts)\n- [Examples ([*browse*](https://github.com/thlorenz/cardinal/tree/master/examples))](#examples-[browse]https://githubcom/thlorenz/cardinal/tree/master/examples)\n\n\n## Installation\n\n### As library\n\n npm install cardinal\n\n### As Commandline Tool\n\n [sudo] npm install -g cardinal\n\n**Note:**\n\nWhen installed globally, cardinal exposes itself as the `cdl` command.\n\n## Commandline\n\n### Highlight a file\n\n cdl <file.js> [options]\n\n**options**:\n - `--nonum`: turns off line number printing (relevant if it is turned on inside `~/.cardinalrc`\n\n### As part of a UNIX pipe\n\n cat file.js | grep console | cdl\n\n**Note:**\n\nNot all code lines may be parsable JavaScript. In these cases the line is printed to the terminal without\nhighlighting it.\n\n### Theme\n\nThe default theme will be used for highlighting.\n\nTo use a different theme, include a `.cardinalrc` file in your `HOME` directory.\n\nThis is a JSON file of the following form:\n\n```json\n{\n \"theme\": \"hide-semicolons\",\n \"linenos\": true|false\n}\n```\n\n- `theme` can be the name of any of the [built-in themes](https://github.com/thlorenz/cardinal/tree/master/themes) or the\nfull path to a custom theme anywhere on your computer.\n- linenos toggles line number printing\n\n## API\n\n### *highlight(code[, opts])*\n\n- returns the highlighted version of the passed code ({String}) or throws an error if it was not able to parse it\n- opts (see below)\n\n### *highlightFileSync(fullPath[, opts])*\n\n- returns the highlighted version of the file whose fullPath ({String}) was passed or throws an error if it was not able\n to parse it\n- opts (see below)\n\n### *highlightFile(fullPath[, opts], callback)*\n\n- calls back with the highlighted version of the file whose fullPath ({String}) was passed or with an error if it was not able\n to parse it\n- opts (see below)\n- `callback` ({Function}) has the following signature: `function (err, highlighted) { .. }`\n\n### opts\n\nopts is an {Object} with the following properties:\n\n- `theme` {Object} is used to optionally override the theme used to highlight\n- `linenos` {Boolean} if `true` line numbers are included in the highlighted code\n- `firstline` {Integer} sets line number of the first line when line numbers are printed\n- `jsx` {Boolean} if `true` _JSX_ syntax is supported, otherwise cardinal will raise an error\n when encountering _JSX_ (default: `false`)\n\n**Note** The `json` option is obsoleted and not necessary anymore as cardinal properly understands both JSON and JavaScript.\n\n## Examples ([*browse*](https://github.com/thlorenz/cardinal/tree/master/examples))\n\n- [sample .cardinalrc](https://github.com/thlorenz/cardinal/blob/master/examples/.cardinalrc)\n- [highlighting a code snippet](https://github.com/thlorenz/cardinal/blob/master/examples/highlight-string.js) via\n ***highlight()***\n- [file that highlights itself](https://github.com/thlorenz/cardinal/blob/master/examples/highlight-self.js) via\n ***highlightFile()*** including line numbers\n- [file that highlights itself hiding all\n semicolons](https://github.com/thlorenz/cardinal/blob/master/examples/highlight-self-hide-semicolons.js) via\n ***highlightFileSync()***\n", |
| 1442 |
"maintainers": [ |
| 1443 |
{ |
| 1444 |
"name": "thlorenz", |
| 1445 |
"email": "[email protected]" |
| 1446 |
} |
| 1447 |
], |
| 1448 |
"time": { |
| 1449 |
"modified": "2018-05-23T16:38:28.797Z", |
| 1450 |
"created": "2012-10-21T02:14:20.861Z", |
| 1451 |
"0.1.0": "2012-10-21T02:14:21.252Z", |
| 1452 |
"0.1.1": "2012-10-21T15:14:57.568Z", |
| 1453 |
"0.1.2": "2012-10-21T21:22:42.347Z", |
| 1454 |
"0.1.3": "2012-10-22T15:13:18.470Z", |
| 1455 |
"0.2.0": "2012-11-01T01:41:55.722Z", |
| 1456 |
"0.3.0": "2012-11-03T22:23:35.129Z", |
| 1457 |
"0.3.1": "2012-11-03T22:38:34.680Z", |
| 1458 |
"0.3.2": "2013-04-05T01:52:46.231Z", |
| 1459 |
"0.4.0": "2013-07-30T21:41:41.117Z", |
| 1460 |
"0.4.1": "2013-07-31T12:44:33.569Z", |
| 1461 |
"0.4.2": "2013-08-01T02:36:34.838Z", |
| 1462 |
"0.4.3": "2013-12-15T23:38:22.225Z", |
| 1463 |
"0.4.4": "2014-01-07T23:27:22.167Z", |
| 1464 |
"0.5.0": "2015-03-04T03:00:43.004Z", |
| 1465 |
"0.6.0": "2015-11-12T13:54:37.718Z", |
| 1466 |
"0.7.0": "2016-03-29T17:18:12.205Z", |
| 1467 |
"0.7.1": "2016-03-31T01:55:19.031Z", |
| 1468 |
"1.0.0": "2016-08-30T23:17:21.009Z", |
| 1469 |
"2.0.0": "2018-04-23T18:42:28.716Z", |
| 1470 |
"2.0.1": "2018-04-23T19:18:38.415Z", |
| 1471 |
"2.1.0": "2018-05-21T23:27:51.972Z", |
| 1472 |
"2.1.1": "2018-05-22T17:44:37.164Z" |
| 1473 |
}, |
| 1474 |
"author": { |
| 1475 |
"name": "Thorsten Lorenz", |
| 1476 |
"email": "[email protected]", |
| 1477 |
"url": "thlorenz.com" |
| 1478 |
}, |
| 1479 |
"repository": { |
| 1480 |
"type": "git", |
| 1481 |
"url": "git://github.com/thlorenz/cardinal.git" |
| 1482 |
}, |
| 1483 |
"users": { |
| 1484 |
"sidorares": true, |
| 1485 |
"stringparser": true, |
| 1486 |
"leodutra": true, |
| 1487 |
"lewisbrown": true, |
| 1488 |
"igord": true, |
| 1489 |
"plusman": true, |
| 1490 |
"discountry": true, |
| 1491 |
"robmcguinness": true, |
| 1492 |
"brentlintner": true, |
| 1493 |
"knksmith57": true |
| 1494 |
}, |
| 1495 |
"homepage": "https://github.com/thlorenz/cardinal#readme", |
| 1496 |
"keywords": [ |
| 1497 |
"syntax", |
| 1498 |
"highlight", |
| 1499 |
"theme", |
| 1500 |
"javascript", |
| 1501 |
"json", |
| 1502 |
"terminal", |
| 1503 |
"console", |
| 1504 |
"print", |
| 1505 |
"output" |
| 1506 |
], |
| 1507 |
"bugs": { |
| 1508 |
"url": "https://github.com/thlorenz/cardinal/issues" |
| 1509 |
}, |
| 1510 |
"license": "MIT", |
| 1511 |
"readmeFilename": "README.md", |
| 1512 |
"_attachments": {} |
| 1513 |
} |