{"_id":"cardinal","_rev":"48981","name":"cardinal","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","dist-tags":{"latest":"2.1.1"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"time":{"modified":"2021-06-03T10:15:03.000Z","created":"2012-10-21T02:14:21.252Z","2.1.1":"2018-05-22T17:44:37.164Z","2.1.0":"2018-05-21T23:27:51.972Z","2.0.1":"2018-04-23T19:18:38.415Z","2.0.0":"2018-04-23T18:42:28.716Z","1.0.0":"2016-08-30T23:17:21.009Z","0.7.1":"2016-03-31T01:55:19.031Z","0.7.0":"2016-03-29T17:18:12.205Z","0.6.0":"2015-11-12T13:54:37.718Z","0.5.0":"2015-03-04T03:00:43.004Z","0.4.4":"2014-01-07T23:27:22.167Z","0.4.3":"2013-12-15T23:38:22.225Z","0.4.2":"2013-08-01T02:36:34.838Z","0.4.1":"2013-07-31T12:44:33.569Z","0.4.0":"2013-07-30T21:41:41.117Z","0.3.2":"2013-04-05T01:52:46.231Z","0.3.1":"2012-11-03T22:38:34.680Z","0.3.0":"2012-11-03T22:23:35.129Z","0.2.0":"2012-11-01T01:41:55.722Z","0.1.3":"2012-10-22T15:13:18.470Z","0.1.2":"2012-10-21T21:22:42.347Z","0.1.1":"2012-10-21T15:14:57.568Z","0.1.0":"2012-10-21T02:14:21.252Z"},"users":{"sidorares":true,"stringparser":true,"leodutra":true,"lewisbrown":true,"igord":true,"plusman":true,"robmcguinness":true,"discountry":true,"brentlintner":true,"knksmith57":true,"jlembeck":true},"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"versions":{"2.1.1":{"name":"cardinal","version":"2.1.1","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"npm run run-test && npm run lint","run-test":"tape test/*.js","lint":"standart","lint-fix":"standart --fix","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cdl":"./bin/cdl.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","json","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"ansicolors":"~0.3.2","redeyed":"~2.1.0"},"devDependencies":{"readdirp":"~2.1.0","standart":"~6.1.0","tape":"~4.9.0"},"standart":{"ignore":["test/fixtures"]},"gitHead":"c407ebe9c16122025488313fb1b020e62c0046ef","bugs":{"url":"https://github.com/thlorenz/cardinal/issues"},"homepage":"https://github.com/thlorenz/cardinal#readme","_id":"cardinal@2.1.1","_shasum":"7cc1055d822d212954d07b085dea251cc7bc5505","_from":".","_npmVersion":"2.15.12","_nodeVersion":"10.0.0","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"dist":{"shasum":"7cc1055d822d212954d07b085dea251cc7bc5505","size":14010,"noattachment":false,"key":"/cardinal/-/cardinal-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-2.1.1.tgz"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cardinal_2.1.1_1527011076961_0.7102539888151373"},"_hasShrinkwrap":false,"publish_time":1527011077164,"_cnpm_publish_time":1527011077164},"2.1.0":{"name":"cardinal","version":"2.1.0","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"npm run run-test && npm run lint","run-test":"tape test/*.js","lint":"standart","lint-fix":"standart --fix","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cdl":"./bin/cdl.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","json","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"ansicolors":"~0.3.2","redeyed":"~2.1.0"},"devDependencies":{"readdirp":"~2.1.0","standart":"~6.1.0","tape":"~4.9.0"},"standart":{"ignore":["test/fixtures"]},"gitHead":"7f97067a4da3219ee0ac3eed0e2518e2e923992c","bugs":{"url":"https://github.com/thlorenz/cardinal/issues"},"homepage":"https://github.com/thlorenz/cardinal#readme","_id":"cardinal@2.1.0","_shasum":"f601ebe3979005674a1eaec076237a8f3c3e61c4","_from":".","_npmVersion":"2.15.12","_nodeVersion":"10.0.0","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"dist":{"shasum":"f601ebe3979005674a1eaec076237a8f3c3e61c4","size":13894,"noattachment":false,"key":"/cardinal/-/cardinal-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-2.1.0.tgz"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cardinal_2.1.0_1526945271904_0.35063396844748285"},"_hasShrinkwrap":false,"publish_time":1526945271972,"_cnpm_publish_time":1526945271972},"2.0.1":{"name":"cardinal","version":"2.0.1","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"tap ./test/*.js","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cdl":"./bin/cdl.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","json","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"ansicolors":"~0.3.2","redeyed":"~2.0.0"},"devDependencies":{"readdirp":"~2.1.0","tap":"~11.1.4"},"gitHead":"55c61cf2f86036f7612446d0a4dc8d69ddf4d83a","bugs":{"url":"https://github.com/thlorenz/cardinal/issues"},"homepage":"https://github.com/thlorenz/cardinal#readme","_id":"cardinal@2.0.1","_shasum":"2431630e6c006253b803967249b2d72e50d1985d","_from":".","_npmVersion":"2.15.12","_nodeVersion":"8.9.1","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"dist":{"shasum":"2431630e6c006253b803967249b2d72e50d1985d","size":13555,"noattachment":false,"key":"/cardinal/-/cardinal-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-2.0.1.tgz"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cardinal_2.0.1_1524511118296_0.6897278947164838"},"_hasShrinkwrap":false,"publish_time":1524511118415,"_cnpm_publish_time":1524511118415},"2.0.0":{"name":"cardinal","version":"2.0.0","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"tap ./test/*.js","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cdl":"./bin/cdl.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","json","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"ansicolors":"~0.3.2","redeyed":"~2.0.0"},"devDependencies":{"readdirp":"~2.1.0","tap":"~11.1.4"},"gitHead":"ec52f5c0eca736e64508d1a35cd783481d22234f","bugs":{"url":"https://github.com/thlorenz/cardinal/issues"},"homepage":"https://github.com/thlorenz/cardinal#readme","_id":"cardinal@2.0.0","_shasum":"00e4535d474fea0c35e15c0cfc1c7cfb5a7b87e5","_from":".","_npmVersion":"2.15.12","_nodeVersion":"8.9.1","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"dist":{"shasum":"00e4535d474fea0c35e15c0cfc1c7cfb5a7b87e5","size":13436,"noattachment":false,"key":"/cardinal/-/cardinal-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-2.0.0.tgz"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cardinal_2.0.0_1524508948623_0.5638687901968187"},"_hasShrinkwrap":false,"publish_time":1524508948716,"_cnpm_publish_time":1524508948716},"1.0.0":{"name":"cardinal","version":"1.0.0","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"tap ./test/*.js","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cdl":"./bin/cdl.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","json","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"ansicolors":"~0.2.1","redeyed":"~1.0.0"},"devDependencies":{"tap":"~0.3.1","readdirp":"~0.2.1"},"gitHead":"ce0befef82535d86218fc32e5872809212e4b274","bugs":{"url":"https://github.com/thlorenz/cardinal/issues"},"homepage":"https://github.com/thlorenz/cardinal#readme","_id":"cardinal@1.0.0","_shasum":"50e21c1b0aa37729f9377def196b5a9cec932ee9","_from":".","_npmVersion":"2.15.6","_nodeVersion":"4.4.6","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"dist":{"shasum":"50e21c1b0aa37729f9377def196b5a9cec932ee9","size":13436,"noattachment":false,"key":"/cardinal/-/cardinal-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-1.0.0.tgz"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cardinal-1.0.0.tgz_1472599040783_0.3466065616812557"},"directories":{},"publish_time":1472599041009,"_cnpm_publish_time":1472599041009,"_hasShrinkwrap":false},"0.7.1":{"name":"cardinal","version":"0.7.1","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"tap ./test/*.js","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cdl":"./bin/cdl.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","json","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"ansicolors":"~0.2.1","redeyed":"~0.6.0"},"devDependencies":{"tap":"~0.3.1","readdirp":"~0.2.1"},"gitHead":"c03ae0f678e31f9de06aa1800f857bfac0becab8","bugs":{"url":"https://github.com/thlorenz/cardinal/issues"},"homepage":"https://github.com/thlorenz/cardinal#readme","_id":"cardinal@0.7.1","_shasum":"2c270cdc751c86ceaafa08459c2bb38da2a2e297","_from":".","_npmVersion":"2.14.15","_nodeVersion":"4.3.1-rc.2","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"dist":{"shasum":"2c270cdc751c86ceaafa08459c2bb38da2a2e297","size":13557,"noattachment":false,"key":"/cardinal/-/cardinal-0.7.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-0.7.1.tgz"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cardinal-0.7.1.tgz_1459389317978_0.5028135688044131"},"directories":{},"publish_time":1459389319031,"_cnpm_publish_time":1459389319031,"_hasShrinkwrap":false},"0.7.0":{"name":"cardinal","version":"0.7.0","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"tap ./test/*.js","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cdl":"./bin/cdl.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","json","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"ansicolors":"~0.2.1","redeyed":"~0.6.0"},"devDependencies":{"tap":"~0.3.1","readdirp":"~0.2.1"},"gitHead":"b1724eedfb1f5dd00f0b2c6b76c9eab2dedbf3a7","bugs":{"url":"https://github.com/thlorenz/cardinal/issues"},"homepage":"https://github.com/thlorenz/cardinal#readme","_id":"cardinal@0.7.0","_shasum":"6512c0785c430df823ae38d2e02fc227ee3cc660","_from":".","_npmVersion":"2.14.15","_nodeVersion":"4.3.1-rc.2","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"dist":{"shasum":"6512c0785c430df823ae38d2e02fc227ee3cc660","size":13530,"noattachment":false,"key":"/cardinal/-/cardinal-0.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-0.7.0.tgz"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/cardinal-0.7.0.tgz_1459271891182_0.3146513558458537"},"directories":{},"publish_time":1459271892205,"_cnpm_publish_time":1459271892205,"_hasShrinkwrap":false},"0.6.0":{"name":"cardinal","version":"0.6.0","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"tap ./test/*.js","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cdl":"./bin/cdl.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","json","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"ansicolors":"~0.2.1","redeyed":"~0.6.0"},"devDependencies":{"tap":"~0.3.1","readdirp":"~0.2.1"},"gitHead":"a8be1fadbf1754ac2266b5abbf7e07b2298211bc","bugs":{"url":"https://github.com/thlorenz/cardinal/issues"},"homepage":"https://github.com/thlorenz/cardinal","_id":"cardinal@0.6.0","_shasum":"5650ccb5b316e0d948a5bf65cbc8557ad833daef","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.2","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"dist":{"shasum":"5650ccb5b316e0d948a5bf65cbc8557ad833daef","size":13301,"noattachment":false,"key":"/cardinal/-/cardinal-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-0.6.0.tgz"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1447336477718,"_cnpm_publish_time":1447336477718,"_hasShrinkwrap":false},"0.5.0":{"name":"cardinal","version":"0.5.0","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"tap ./test/*.js","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cdl":"./bin/cdl.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","json","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"redeyed":"~0.5.0","ansicolors":"~0.2.1"},"devDependencies":{"tap":"~0.3.1","readdirp":"~0.2.1"},"gitHead":"5567bcafef4a082db41639800701c671cbd7721b","bugs":{"url":"https://github.com/thlorenz/cardinal/issues"},"homepage":"https://github.com/thlorenz/cardinal","_id":"cardinal@0.5.0","_shasum":"00d5f661dbd4aabfdf7d41ce48a5a59bca35a291","_from":".","_npmVersion":"2.6.1","_nodeVersion":"1.4.2","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"dist":{"shasum":"00d5f661dbd4aabfdf7d41ce48a5a59bca35a291","size":12737,"noattachment":false,"key":"/cardinal/-/cardinal-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-0.5.0.tgz"},"directories":{},"publish_time":1425438043004,"_cnpm_publish_time":1425438043004,"_hasShrinkwrap":false},"0.4.4":{"name":"cardinal","version":"0.4.4","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"tap ./test/*.js","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cdl":"./bin/cdl.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","json","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"redeyed":"~0.4.0","ansicolors":"~0.2.1"},"devDependencies":{"tap":"~0.3.1","readdirp":"~0.2.1"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/thlorenz/cardinal/issues"},"homepage":"https://github.com/thlorenz/cardinal","_id":"cardinal@0.4.4","dist":{"shasum":"ca5bb68a5b511b90fe93b9acea49bdee5c32bfe2","size":12671,"noattachment":false,"key":"/cardinal/-/cardinal-0.4.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-0.4.4.tgz"},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1389137242167,"_cnpm_publish_time":1389137242167,"_hasShrinkwrap":false},"0.4.3":{"name":"cardinal","version":"0.4.3","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"tap ./test/*.js","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cdl":"./bin/cdl.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","json","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"redeyed":"~0.4.0","ansicolors":"~0.2.1"},"devDependencies":{"tap":"~0.3.1","readdirp":"~0.2.1"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/thlorenz/cardinal/issues"},"homepage":"https://github.com/thlorenz/cardinal","_id":"cardinal@0.4.3","dist":{"shasum":"7b74c3d1541002bd3d5b555048206719af91d313","size":12167,"noattachment":false,"key":"/cardinal/-/cardinal-0.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-0.4.3.tgz"},"_from":".","_npmVersion":"1.3.17","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1387150702225,"_cnpm_publish_time":1387150702225,"_hasShrinkwrap":false},"0.4.2":{"name":"cardinal","version":"0.4.2","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"tap ./test/*.js","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cdl":"./bin/cdl.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","json","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"redeyed":"~0.4.0","ansicolors":"~0.2.1"},"devDependencies":{"tap":"~0.3.1","readdirp":"~0.2.1"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/thlorenz/cardinal/issues"},"_id":"cardinal@0.4.2","dist":{"shasum":"b6563a882f58a56c1abd574baec64b5d0b7ef942","size":12266,"noattachment":false,"key":"/cardinal/-/cardinal-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-0.4.2.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1375324594838,"_cnpm_publish_time":1375324594838,"_hasShrinkwrap":false},"0.4.1":{"name":"cardinal","version":"0.4.1","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"tap ./test/*.js","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cdl":"./bin/cdl.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","json","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"redeyed":"~0.4.0","ansicolors":"~0.2.1"},"devDependencies":{"tap":"~0.3.1","readdirp":"~0.2.1"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/thlorenz/cardinal/issues"},"_id":"cardinal@0.4.1","dist":{"shasum":"809b8083e53385fd976e47767b6c369e58990036","size":11811,"noattachment":false,"key":"/cardinal/-/cardinal-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-0.4.1.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1375274673569,"_cnpm_publish_time":1375274673569,"_hasShrinkwrap":false},"0.4.0":{"name":"cardinal","version":"0.4.0","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"tap ./test/*.js","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cdl":"./bin/cdl.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"redeyed":"~0.4.0"},"devDependencies":{"tap":"~0.3.1","readdirp":"~0.2.1"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/thlorenz/cardinal/issues"},"_id":"cardinal@0.4.0","dist":{"shasum":"7d10aafb20837bde043c45e43a0c8c28cdaae45e","size":11998,"noattachment":false,"key":"/cardinal/-/cardinal-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-0.4.0.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1375220501117,"_cnpm_publish_time":1375220501117,"_hasShrinkwrap":false},"0.3.2":{"name":"cardinal","version":"0.3.2","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"tap ./test/*.js","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cdl":"./bin/cdl.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"redeyed":"~0.4.0"},"devDependencies":{"tap":"~0.3.1","readdirp":"~0.2.1"},"readmeFilename":"README.md","_id":"cardinal@0.3.2","dist":{"shasum":"a363ea1389a22549730ed3bb157c7ef8ae0f7d25","size":11385,"noattachment":false,"key":"/cardinal/-/cardinal-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-0.3.2.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1365126766231,"_cnpm_publish_time":1365126766231,"_hasShrinkwrap":false},"0.3.1":{"name":"cardinal","version":"0.3.1","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"tap ./test/*.js","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cdl":"./bin/cdl.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"redeyed":"~0.4.0"},"devDependencies":{"tap":"~0.3.1","readdirp":"~0.2.1"},"readmeFilename":"README.md","_id":"cardinal@0.3.1","dist":{"shasum":"5fb52a3f655fdc026a4f8371ddd6f64f7635f072","size":9614,"noattachment":false,"key":"/cardinal/-/cardinal-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-0.3.1.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1351982314680,"_cnpm_publish_time":1351982314680,"_hasShrinkwrap":false},"0.3.0":{"name":"cardinal","version":"0.3.0","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"tap ./test/*.js","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cdl":"./bin/cdl.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"redeyed":"~0.4.0"},"devDependencies":{"tap":"~0.3.1","readdirp":"~0.2.1"},"readmeFilename":"README.md","_id":"cardinal@0.3.0","dist":{"shasum":"cc58904710c1c8c70a76f9975f3d349c8ab91ead","size":9599,"noattachment":false,"key":"/cardinal/-/cardinal-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-0.3.0.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1351981415129,"_cnpm_publish_time":1351981415129,"_hasShrinkwrap":false},"0.2.0":{"name":"cardinal","version":"0.2.0","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"tap ./test/*.js","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cdl":"./bin/cdl.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"redeyed":"~0.4.0"},"devDependencies":{"tap":"~0.3.1","readdirp":"~0.2.1"},"_id":"cardinal@0.2.0","dist":{"shasum":"a358231a66feb12d31c00f83624c4a0be4c96a2e","size":8023,"noattachment":false,"key":"/cardinal/-/cardinal-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-0.2.0.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1351734115722,"_cnpm_publish_time":1351734115722,"_hasShrinkwrap":false},"0.1.3":{"name":"cardinal","version":"0.1.3","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"tap ./test/*.js","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cdl":"./bin/cdl.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"redeyed":"~0.1.0"},"devDependencies":{"tap":"~0.3.1","readdirp":"~0.2.1"},"_id":"cardinal@0.1.3","dist":{"shasum":"21fef0d8484c9db591b0e6a9a6274eaa5173ee10","size":7984,"noattachment":false,"key":"/cardinal/-/cardinal-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-0.1.3.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1350918798470,"_cnpm_publish_time":1350918798470,"_hasShrinkwrap":false},"0.1.2":{"name":"cardinal","version":"0.1.2","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"tap ./test/*.js","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cdl":"./bin/cdl.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"redeyed":"~0.1.0"},"devDependencies":{"tap":"~0.3.1","readdirp":"~0.2.1"},"_id":"cardinal@0.1.2","dist":{"shasum":"4c04fe1b48920ce80f930e56327de62e1a9649c9","size":7987,"noattachment":false,"key":"/cardinal/-/cardinal-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-0.1.2.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1350854562347,"_cnpm_publish_time":1350854562347,"_hasShrinkwrap":false},"0.1.1":{"name":"cardinal","version":"0.1.1","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"tap ./test/*.js","demo":"node examples/highlight-string.js; node examples/highlight-self; node examples/highlight-self-hide-semicolons;"},"bin":{"cardinal":"./bin/cardinal.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"redeyed":"~0.1.0"},"devDependencies":{"tap":"~0.3.1"},"_id":"cardinal@0.1.1","dist":{"shasum":"6696dc37d1b1a28295b35d68d5acefe322b5fd27","size":7579,"noattachment":false,"key":"/cardinal/-/cardinal-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-0.1.1.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1350832497568,"_cnpm_publish_time":1350832497568,"_hasShrinkwrap":false},"0.1.0":{"name":"cardinal","version":"0.1.0","description":"Syntax highlights JavaScript code with ANSI colors to be printed to the terminal.","main":"cardinal.js","scripts":{"test":"tap ./test/*.js"},"bin":{"cardinal":"./bin/cardinal.js"},"repository":{"type":"git","url":"git://github.com/thlorenz/cardinal.git"},"keywords":["syntax","highlight","theme","javascript","terminal","console","print","output"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de","url":"thlorenz.com"},"license":"MIT","dependencies":{"redeyed":"~0.1.0"},"devDependencies":{"tap":"~0.3.1"},"_id":"cardinal@0.1.0","dist":{"shasum":"60e1a98728bc24e5517f9ee5b82e0c48b93aba07","size":5536,"noattachment":false,"key":"/cardinal/-/cardinal-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cardinal/download/cardinal-0.1.0.tgz"},"_npmVersion":"1.1.59","_npmUser":{"name":"thlorenz","email":"thlorenz@gmx.de"},"maintainers":[{"name":"thlorenz","email":"thlorenz@gmx.de"}],"directories":{},"publish_time":1350785661252,"_cnpm_publish_time":1350785661252,"_hasShrinkwrap":false}},"readme":"# cardinal [![Build Status](https://secure.travis-ci.org/thlorenz/cardinal.svg)](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[![NPM](https://nodei.co/npm/cardinal.png?downloads=true&stars=true)](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![screenshot](https://github.com/thlorenz/cardinal/raw/master/assets/screen-shot.png)\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","_attachments":{},"homepage":"https://github.com/thlorenz/cardinal#readme","bugs":{"url":"https://github.com/thlorenz/cardinal/issues"},"license":"MIT"}