{"_id":"ansi_up","_rev":"3266285","name":"ansi_up","description":"Convert ansi sequences in strings to colorful HTML","dist-tags":{"latest":"6.0.2"},"maintainers":[{"name":"drudru","email":""}],"time":{"modified":"2024-03-21T09:54:49.000Z","created":"2012-10-10T00:43:53.223Z","6.0.2":"2023-08-25T00:47:00.483Z","6.0.1":"2023-08-25T00:37:34.004Z","6.0.0":"2023-08-15T00:45:35.784Z","5.2.1":"2023-04-03T18:26:29.693Z","5.2.0":"2023-03-31T20:50:19.083Z","5.1.0":"2021-11-02T20:46:10.585Z","5.0.1":"2021-04-07T05:32:53.785Z","5.0.0":"2021-01-29T07:20:29.618Z","4.0.4":"2019-07-28T00:16:39.913Z","4.0.3":"2019-02-11T22:47:45.490Z","4.0.2":"2019-02-11T22:44:46.200Z","3.0.0":"2018-04-05T00:10:51.077Z","2.0.3":"2018-03-28T22:21:53.993Z","2.0.2":"2017-06-27T06:05:45.057Z","2.0.1":"2017-06-24T00:19:26.795Z","2.0.0":"2017-06-21T21:22:41.262Z","1.3.0":"2015-08-14T18:43:28.856Z","1.2.1":"2015-05-22T18:27:58.387Z","1.2.0":"2015-05-16T01:31:02.426Z","1.1.3":"2015-01-18T01:37:32.975Z","1.1.2":"2014-09-16T21:47:47.952Z","1.1.1":"2014-03-09T01:51:19.546Z","1.0.0":"2012-10-10T00:43:53.223Z"},"users":{},"author":{"name":"drudru","email":"drudru@gmail.com"},"repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"versions":{"6.0.2":{"name":"ansi_up","version":"6.0.2","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"license":"MIT","main":"./ansi_up.js","type":"module","types":"./ansi_up.d.ts","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make typescript"},"devDependencies":{"mocha":"^10.2.0","npm":"^9.8.1","should":"*","typescript":"^5.1.0"},"_id":"ansi_up@6.0.2","gitHead":"ef087f9184ed258d4f236151d67857217f5d430d","homepage":"https://github.com/drudru/ansi_up#readme","_nodeVersion":"18.15.0","_npmVersion":"9.8.1","dist":{"shasum":"083adb65be5b21ba283fd105d3102e64f3f0b092","size":83593,"noattachment":false,"key":"/ansi_up/-/ansi_up-6.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-6.0.2.tgz"},"_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"directories":{},"maintainers":[{"name":"drudru","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi_up_6.0.2_1692924420092_0.9768347064302296"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-25T00:47:00.483Z","publish_time":1692924420483,"_source_registry_name":"default","_cnpm_publish_time":1692924420483},"6.0.1":{"name":"ansi_up","version":"6.0.1","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"license":"MIT","main":"./ansi_up.js","type":"module","types":"./dist/ansi_up.d.ts","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make typescript"},"devDependencies":{"mocha":"^10.2.0","npm":"^9.8.1","should":"*","typescript":"^5.1.0"},"_id":"ansi_up@6.0.1","gitHead":"31096148276c2bb8acd0a3ddfe060e00734f2751","homepage":"https://github.com/drudru/ansi_up#readme","_nodeVersion":"18.15.0","_npmVersion":"9.8.1","dist":{"shasum":"4999fe32d70b8fae206be99c2745814672705453","size":83594,"noattachment":false,"key":"/ansi_up/-/ansi_up-6.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-6.0.1.tgz"},"_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"directories":{},"maintainers":[{"name":"drudru","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi_up_6.0.1_1692923853750_0.4647413187562346"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-25T00:37:34.004Z","publish_time":1692923854004,"_source_registry_name":"default","_cnpm_publish_time":1692923854004},"6.0.0":{"name":"ansi_up","version":"6.0.0","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"license":"MIT","main":"./ansi_up.js","type":"module","types":"./dist/ansi_up.d.ts","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make typescript"},"devDependencies":{"mocha":"^10.2.0","npm":"^9.8.1","should":"*","typescript":"^5.1.0"},"_id":"ansi_up@6.0.0","gitHead":"4f80666740d583a513ef0b97cb052c28e7677492","homepage":"https://github.com/drudru/ansi_up#readme","_nodeVersion":"18.15.0","_npmVersion":"9.8.1","dist":{"shasum":"aa7a3db4dba4d0f9473b0dfa5fd7bf16c82d97f0","size":83510,"noattachment":false,"key":"/ansi_up/-/ansi_up-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-6.0.0.tgz"},"_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"directories":{},"maintainers":[{"name":"drudru","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi_up_6.0.0_1692060335631_0.15936597165603805"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-15T00:45:35.784Z","publish_time":1692060335784,"_source_registry_name":"default","_cnpm_publish_time":1692060335784},"5.2.1":{"name":"ansi_up","version":"5.2.1","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"license":"MIT","main":"./ansi_up.js","types":"./dist/ansi_up.d.ts","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make typescript"},"devDependencies":{"npm":"^9.6.3","mocha":"^10.2.0","should":"*","typescript":"^3.9.10"},"gitHead":"a30bb48417c9d67d8743ea30937b3b432b7648ec","homepage":"https://github.com/drudru/ansi_up#readme","_id":"ansi_up@5.2.1","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"shasum":"9437082c7ad4975c15ec57d30a6b55da295bee36","size":89071,"noattachment":false,"key":"/ansi_up/-/ansi_up-5.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-5.2.1.tgz"},"_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"directories":{},"maintainers":[{"name":"drudru","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi_up_5.2.1_1680546389431_0.49435058702628676"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-04-03T18:26:29.693Z","publish_time":1680546389693,"_cnpm_publish_time":1680546389693},"5.2.0":{"name":"ansi_up","version":"5.2.0","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"license":"MIT","main":"./ansi_up.js","types":"./dist/ansi_up.d.ts","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make typescript"},"devDependencies":{"mocha":"^10.2.0","should":"*","typescript":"^3.9.10"},"dependencies":{"npm":"^9.6.3"},"gitHead":"abae35997c485d54e1beb64395171b525437ffba","homepage":"https://github.com/drudru/ansi_up#readme","_id":"ansi_up@5.2.0","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"shasum":"cf0f8ed358baae95cb5a5d0a6bda6f7854685155","size":89072,"noattachment":false,"key":"/ansi_up/-/ansi_up-5.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-5.2.0.tgz"},"_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"directories":{},"maintainers":[{"name":"drudru","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi_up_5.2.0_1680295818897_0.12697584662657535"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-31T20:50:19.083Z","publish_time":1680295819083,"_cnpm_publish_time":1680295819083},"5.1.0":{"name":"ansi_up","version":"5.1.0","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"license":"MIT","main":"./ansi_up.js","types":"./dist/ansi_up.d.ts","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make typescript"},"devDependencies":{"mocha":"*","should":"*","typescript":"^3.0"},"gitHead":"aa1627cbc4aababee74a2f55e7525a14610bbd74","homepage":"https://github.com/drudru/ansi_up#readme","_id":"ansi_up@5.1.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"shasum":"9cf10e6d359bb434bdcfab5ae4c3abfe1617b6db","size":89026,"noattachment":false,"key":"/ansi_up/-/ansi_up-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-5.1.0.tgz"},"_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"directories":{},"maintainers":[{"name":"drudru","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi_up_5.1.0_1635885970447_0.9968089932199591"},"_hasShrinkwrap":false,"publish_time":1635885970585,"_cnpm_publish_time":1635885970585,"_cnpmcore_publish_time":"2021-12-16T23:06:21.434Z"},"5.0.1":{"name":"ansi_up","version":"5.0.1","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"license":"MIT","main":"./ansi_up.js","types":"./dist/ansi_up.d.ts","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make typescript"},"devDependencies":{"mocha":"*","should":"*","typescript":"^3.0"},"gitHead":"aaec94da751d56f7011f6ca169a1aa22b92a3314","homepage":"https://github.com/drudru/ansi_up#readme","_id":"ansi_up@5.0.1","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"shasum":"b66839dba408d3d2f8548904f1ae6fc62d6917ef","size":88372,"noattachment":false,"key":"/ansi_up/-/ansi_up-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-5.0.1.tgz"},"_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"directories":{},"maintainers":[{"name":"drudru","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi_up_5.0.1_1617773573536_0.8417376876144431"},"_hasShrinkwrap":false,"publish_time":1617773573785,"_cnpm_publish_time":1617773573785,"_cnpmcore_publish_time":"2021-12-16T23:06:21.969Z"},"5.0.0":{"name":"ansi_up","version":"5.0.0","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"license":"MIT","main":"./ansi_up.js","types":"./dist/ansi_up.d.ts","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make typescript"},"devDependencies":{"mocha":"*","should":"*","typescript":"^3.0"},"gitHead":"c8c726ed1db979bae4f257b7fa41775155ba2e27","homepage":"https://github.com/drudru/ansi_up#readme","_id":"ansi_up@5.0.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"shasum":"9bc3b087a59bd543c98dd235a9c8e0a842c454e9","size":88313,"noattachment":false,"key":"/ansi_up/-/ansi_up-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-5.0.0.tgz"},"_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"directories":{},"maintainers":[{"name":"drudru","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi_up_5.0.0_1611904829440_0.3195215112448424"},"_hasShrinkwrap":false,"publish_time":1611904829618,"_cnpm_publish_time":1611904829618,"_cnpmcore_publish_time":"2021-12-16T23:06:22.357Z"},"4.0.4":{"name":"ansi_up","version":"4.0.4","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"license":"MIT","main":"./ansi_up.js","types":"./dist/ansi_up.d.ts","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make typescript"},"devDependencies":{"mocha":"*","should":"*","typescript":"^3.0"},"gitHead":"6e19ac437b1e98eb2e8c72c7aea3f8a6170b6a55","homepage":"https://github.com/drudru/ansi_up#readme","_id":"ansi_up@4.0.4","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"dist":{"shasum":"5b8c35f0b02e4476f3f18cf89c3bf48d15d054f6","size":922902,"noattachment":false,"key":"/ansi_up/-/ansi_up-4.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-4.0.4.tgz"},"maintainers":[{"name":"drudru","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi_up_4.0.4_1564272999754_0.06805395552526727"},"_hasShrinkwrap":false,"publish_time":1564272999913,"_cnpm_publish_time":1564272999913,"_cnpmcore_publish_time":"2021-12-16T23:06:25.160Z"},"4.0.3":{"name":"ansi_up","version":"4.0.3","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"license":"MIT","main":"./ansi_up.js","types":"./ansi_up.d.ts","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make typescript"},"devDependencies":{"mocha":"*","should":"*","typescript":"^3.0"},"gitHead":"1836e99bac7239071087ebc31e86056a416839b2","homepage":"https://github.com/drudru/ansi_up#readme","_id":"ansi_up@4.0.3","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"dist":{"shasum":"7cc6683304c71f4dcd83725b7e8d313089e369a7","size":92704,"noattachment":false,"key":"/ansi_up/-/ansi_up-4.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-4.0.3.tgz"},"maintainers":[{"name":"drudru","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi_up_4.0.3_1549925265400_0.6822980839792125"},"_hasShrinkwrap":false,"publish_time":1549925265490,"_cnpm_publish_time":1549925265490,"_cnpmcore_publish_time":"2021-12-16T23:06:25.738Z"},"4.0.2":{"name":"ansi_up","version":"4.0.2","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"license":"MIT","main":"./ansi_up.js","types":"./ansi_up.d.ts","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make typescript"},"devDependencies":{"mocha":"*","should":"*","typescript":"^3.0"},"gitHead":"a22b0d811ef2082035891698c29fcd1298bec8bb","homepage":"https://github.com/drudru/ansi_up#readme","_id":"ansi_up@4.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"dist":{"shasum":"8be766dd69ab8c9f2df98bbd52069a0abc0ab813","size":922871,"noattachment":false,"key":"/ansi_up/-/ansi_up-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-4.0.2.tgz"},"maintainers":[{"name":"drudru","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi_up_4.0.2_1549925085992_0.6376285899467498"},"_hasShrinkwrap":false,"publish_time":1549925086200,"_cnpm_publish_time":1549925086200,"_cnpmcore_publish_time":"2021-12-16T23:06:27.832Z"},"3.0.0":{"name":"ansi_up","version":"3.0.0","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"license":"MIT","main":"./ansi_up.js","types":"./dist/ansi_up.d.ts","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make typescript"},"devDependencies":{"mocha":"*","should":"*","typescript":"^2.1"},"gitHead":"1d20731ac1b42312dcf02574748819e966dd8caa","homepage":"https://github.com/drudru/ansi_up#readme","_id":"ansi_up@3.0.0","_shasum":"27f45d8f457d9ceff59e4ea03c8e6f13c1a303e8","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.0","_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"dist":{"shasum":"27f45d8f457d9ceff59e4ea03c8e6f13c1a303e8","size":83407,"noattachment":false,"key":"/ansi_up/-/ansi_up-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-3.0.0.tgz"},"maintainers":[{"name":"drudru","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi_up_3.0.0_1522887050894_0.49759829811332"},"_hasShrinkwrap":false,"publish_time":1522887051077,"_cnpm_publish_time":1522887051077,"_cnpmcore_publish_time":"2021-12-16T23:06:28.555Z"},"2.0.3":{"name":"ansi_up","version":"2.0.3","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"license":"MIT","main":"./ansi_up.js","types":"./dist/ansi_up.d.ts","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make typescript"},"devDependencies":{"mocha":"*","should":"*","typescript":"^2.1"},"gitHead":"8156b8aaa92455e8f17b16d8b0eaaf2d6a2b91eb","homepage":"https://github.com/drudru/ansi_up#readme","_id":"ansi_up@2.0.3","_shasum":"2b5d31df72121dab78ea34f5b2daf626e01578a2","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.0","_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"dist":{"shasum":"2b5d31df72121dab78ea34f5b2daf626e01578a2","size":83002,"noattachment":false,"key":"/ansi_up/-/ansi_up-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-2.0.3.tgz"},"maintainers":[{"name":"drudru","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi_up_2.0.3_1522275713816_0.6935784570706367"},"_hasShrinkwrap":false,"publish_time":1522275713993,"_cnpm_publish_time":1522275713993,"_cnpmcore_publish_time":"2021-12-16T23:06:29.218Z"},"2.0.2":{"name":"ansi_up","version":"2.0.2","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"license":"MIT","main":"./ansi_up.js","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make typescript"},"devDependencies":{"mocha":"*","should":"*","typescript":"^2.1"},"gitHead":"11e8d2d19acf1de39201fd8f3de73b380507d84f","homepage":"https://github.com/drudru/ansi_up#readme","_id":"ansi_up@2.0.2","_shasum":"9b54de508c5c579f5b6968e65c1b863e0680ab92","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"dist":{"shasum":"9b54de508c5c579f5b6968e65c1b863e0680ab92","size":82991,"noattachment":false,"key":"/ansi_up/-/ansi_up-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-2.0.2.tgz"},"maintainers":[{"name":"drudru","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi_up-2.0.2.tgz_1498543544862_0.5764636830426753"},"directories":{},"publish_time":1498543545057,"_hasShrinkwrap":false,"_cnpm_publish_time":1498543545057,"_cnpmcore_publish_time":"2021-12-16T23:06:29.586Z"},"2.0.1":{"name":"ansi_up","version":"2.0.1","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"license":"MIT","main":"./ansi_up.js","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make typescript"},"devDependencies":{"mocha":"*","should":"*","typescript":"^2.1"},"gitHead":"29ce78cf55cc87e8f221fc0f28150fa293a9c3e3","homepage":"https://github.com/drudru/ansi_up#readme","_id":"ansi_up@2.0.1","_shasum":"87e81a0b57b66167ea03e5facc13ba8eb2df8ad5","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"dist":{"shasum":"87e81a0b57b66167ea03e5facc13ba8eb2df8ad5","size":82944,"noattachment":false,"key":"/ansi_up/-/ansi_up-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-2.0.1.tgz"},"maintainers":[{"name":"drudru","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi_up-2.0.1.tgz_1498263566606_0.8841469748876989"},"directories":{},"publish_time":1498263566795,"_hasShrinkwrap":false,"_cnpm_publish_time":1498263566795,"_cnpmcore_publish_time":"2021-12-16T23:06:29.940Z"},"2.0.0":{"name":"ansi_up","version":"2.0.0","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"license":"MIT","main":"./ansi_up.js","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make typescript"},"devDependencies":{"mocha":"*","should":"*","typescript":"^2.1"},"gitHead":"caa4c4109edfd0516f40b64e3df15d76100ed205","homepage":"https://github.com/drudru/ansi_up#readme","_id":"ansi_up@2.0.0","_shasum":"87a2bb4686c4282d84fb5155d5f5a4e9722ca027","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"dist":{"shasum":"87a2bb4686c4282d84fb5155d5f5a4e9722ca027","size":82911,"noattachment":false,"key":"/ansi_up/-/ansi_up-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-2.0.0.tgz"},"maintainers":[{"name":"drudru","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ansi_up-2.0.0.tgz_1498080161102_0.7752341039013118"},"directories":{},"publish_time":1498080161262,"_hasShrinkwrap":false,"_cnpm_publish_time":1498080161262,"_cnpmcore_publish_time":"2021-12-16T23:06:30.607Z"},"1.3.0":{"name":"ansi_up","version":"1.3.0","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"main":"./ansi_up.js","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make build"},"devDependencies":{"mocha":"*","should":"*","jshint":"*","jslint":"*"},"gitHead":"32a3c2deb983579fe6149fba4938ce0f840d2afd","homepage":"https://github.com/drudru/ansi_up#readme","_id":"ansi_up@1.3.0","_shasum":"c9c946bfc0b9bb5eaa060684bf2abaafe68bbd44","_from":".","_npmVersion":"2.9.1","_nodeVersion":"0.12.3","_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"dist":{"shasum":"c9c946bfc0b9bb5eaa060684bf2abaafe68bbd44","size":71737,"noattachment":false,"key":"/ansi_up/-/ansi_up-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-1.3.0.tgz"},"maintainers":[{"name":"drudru","email":""}],"directories":{},"publish_time":1439577808856,"_hasShrinkwrap":false,"_cnpm_publish_time":1439577808856,"_cnpmcore_publish_time":"2021-12-16T23:06:31.465Z"},"1.2.1":{"name":"ansi_up","version":"1.2.1","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"main":"./ansi_up.js","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make build"},"devDependencies":{"mocha":"*","should":"*","jshint":"*","jslint":"*"},"gitHead":"f71d27c4b59f23bdc6461a656254214a8ee9b9e3","homepage":"https://github.com/drudru/ansi_up#readme","_id":"ansi_up@1.2.1","_shasum":"5bcfeff2ebadb7805742f1dde8d16768bab37a15","_from":".","_npmVersion":"2.9.1","_nodeVersion":"0.12.3","_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"dist":{"shasum":"5bcfeff2ebadb7805742f1dde8d16768bab37a15","size":69737,"noattachment":false,"key":"/ansi_up/-/ansi_up-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-1.2.1.tgz"},"maintainers":[{"name":"drudru","email":""}],"directories":{},"publish_time":1432319278387,"_hasShrinkwrap":false,"_cnpm_publish_time":1432319278387,"_cnpmcore_publish_time":"2021-12-16T23:06:31.814Z"},"1.2.0":{"name":"ansi_up","version":"1.2.0","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"main":"./ansi_up.js","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make build"},"devDependencies":{"mocha":"*","should":"*","jshint":"*","jslint":"*"},"gitHead":"4a65ef4b3841fcb7e1fd04c3b5240a665ca0276b","homepage":"https://github.com/drudru/ansi_up#readme","_id":"ansi_up@1.2.0","_shasum":"7a1eadc4d66a8bed493f230d78e0c271f01425dc","_from":".","_npmVersion":"2.9.1","_nodeVersion":"0.12.3","_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"dist":{"shasum":"7a1eadc4d66a8bed493f230d78e0c271f01425dc","size":69296,"noattachment":false,"key":"/ansi_up/-/ansi_up-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-1.2.0.tgz"},"maintainers":[{"name":"drudru","email":""}],"directories":{},"publish_time":1431739862426,"_hasShrinkwrap":false,"_cnpm_publish_time":1431739862426,"_cnpmcore_publish_time":"2021-12-16T23:06:32.122Z"},"1.1.3":{"name":"ansi_up","version":"1.1.3","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"main":"./ansi_up.js","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make build"},"devDependencies":{"mocha":"*","should":"*","jshint":"*","jslint":"*"},"homepage":"https://github.com/drudru/ansi_up","_id":"ansi_up@1.1.3","dist":{"shasum":"80cb2fceb50cda5d49b4fe1bf4468f2071bfc738","size":68488,"noattachment":false,"key":"/ansi_up/-/ansi_up-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-1.1.3.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"maintainers":[{"name":"drudru","email":""}],"directories":{},"publish_time":1421545052975,"_hasShrinkwrap":false,"_cnpm_publish_time":1421545052975,"_cnpmcore_publish_time":"2021-12-16T23:06:32.409Z"},"1.1.2":{"name":"ansi_up","version":"1.1.2","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"main":"./ansi_up.js","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make build"},"devDependencies":{"mocha":"*","should":"*","jshint":"*","jslint":"*"},"homepage":"https://github.com/drudru/ansi_up","_id":"ansi_up@1.1.2","dist":{"shasum":"d79ec4da3dce436c2444215902fc0803517f6988","size":68202,"noattachment":false,"key":"/ansi_up/-/ansi_up-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-1.1.2.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"maintainers":[{"name":"drudru","email":""}],"directories":{},"publish_time":1410904067952,"_hasShrinkwrap":false,"_cnpm_publish_time":1410904067952,"_cnpmcore_publish_time":"2021-12-16T23:06:32.846Z"},"1.1.1":{"name":"ansi_up","version":"1.1.1","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"main":"./ansi_up.js","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make build"},"devDependencies":{"mocha":"*","should":"*","jshint":"*","jslint":"*"},"homepage":"https://github.com/drudru/ansi_up","_id":"ansi_up@1.1.1","dist":{"shasum":"47fdf898f9d5bc03e1ac23ef6c0feaf433468f47","size":68166,"noattachment":false,"key":"/ansi_up/-/ansi_up-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-1.1.1.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"maintainers":[{"name":"drudru","email":""}],"directories":{},"publish_time":1394329879546,"_hasShrinkwrap":false,"_cnpm_publish_time":1394329879546,"_cnpmcore_publish_time":"2021-12-16T23:06:33.095Z"},"1.0.0":{"name":"ansi_up","version":"1.0.0","description":"Convert ansi sequences in strings to colorful HTML","keywords":["ansi","html"],"author":{"name":"drudru","email":"drudru@gmail.com"},"main":"./ansi_up.js","repository":{"type":"git","url":"git://github.com/drudru/ansi_up.git"},"bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"engines":{"node":"*"},"scripts":{"test":"make test","build":"make build"},"devDependencies":{"mocha":"*","should":"*","jshint":"*","jslint":"*"},"_npmUser":{"name":"drudru","email":"drudru@gmail.com"},"_id":"ansi_up@1.0.0","dependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.21","_nodeVersion":"v0.6.17","_defaultsLoaded":true,"dist":{"shasum":"aed41c2fae04d91ba99791ee3a781af190be9957","size":66930,"noattachment":false,"key":"/ansi_up/-/ansi_up-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ansi_up/download/ansi_up-1.0.0.tgz"},"maintainers":[{"name":"drudru","email":""}],"directories":{},"publish_time":1349829833223,"_hasShrinkwrap":false,"_cnpm_publish_time":1349829833223,"_cnpmcore_publish_time":"2021-12-16T23:06:33.386Z"}},"readme":"# ansi_up.js\n\n__ansi_up__ is an easy to use library that transforms text containing\n[ANSI color escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors) into HTML.\n\nThis module is a single ES6 Javascript file with no dependencies.\nIt is \"isomorphic\" javascript. This is just another way of saying that\nthe ansi_up.js file will work in both the browser or node.js.\nThe js library is compiled from TypeScript and its type description ships with the NPM.\nThis code has been used in production since 2011 and is actively maintained.\n\nFor example, turn this terminal output:\n\n    ESC[1;Foreground\n    \u001b[1;30m 30  \u001b[1;30m 30  \u001b[1;30m 30  \u001b[1;30m 30  \u001b[1;30m 30  \u001b[1;30m 30  \u001b[1;30m 30  \u001b[1;30m 30  \u001b[0m\n    \u001b[1;31m 31  \u001b[1;31m 31  \u001b[1;31m 31  \u001b[1;31m 31  \u001b[1;31m 31  \u001b[1;31m 31  \u001b[1;31m 31  \u001b[1;31m 31  \u001b[0m\n    \u001b[1;32m 32  \u001b[1;32m 32  \u001b[1;32m 32  \u001b[1;32m 32  \u001b[1;32m 32  \u001b[1;32m 32  \u001b[1;32m 32  \u001b[1;32m 32  \u001b[0m\n    ...\n\n...into this browser output:\n\n![](https://raw.github.com/drudru/ansi_up/master/sample.png)\n\n\n## Browser Example\n\n```HTML\n\n    <script type=\"module\" type=\"text/javascript\">\n\n    var txt  = \"\\n\\n\\033[1;33;40m 33;40  \\033[1;33;41m 33;41  \\033[1;33;42m 33;42  \\033[1;33;43m 33;43  \\033[1;33;44m 33;44  \\033[1;33;45m 33;45  \\033[1;33;46m 33;46  \\033[1m\\033[0\\n\\n\\033[1;33;42m >> Tests OK\\n\\n\"\n\n    import { AnsiUp } from './ansi_up.js'\n    var ansi_up = new AnsiUp();\n\n    var html = ansi_up.ansi_to_html(txt);\n\n    var cdiv = document.getElementById(\"console\");\n\n    cdiv.innerHTML = html;\n\n    </script>\n```\n\n## Node Example\n\n```JavaScript\n    import { AnsiUp } from './ansi_up.js'\n    var ansi_up = new AnsiUp();\n\n    var txt  = \"\\n\\n\\033[1;33;40m 33;40  \\033[1;33;41m 33;41  \\033[1;33;42m 33;42  \\033[1;33;43m 33;43  \\033[1;33;44m 33;44  \\033[1;33;45m 33;45  \\033[1;33;46m 33;46  \\033[1m\\033[0\\n\\n\\033[1;33;42m >> Tests OK\\n\\n\"\n\n    var html = ansi_up.ansi_to_html(txt);\n```\n\nMore examples are in the 'examples' directory in the repo.\n\n## Typescript Example\n\n```TypeScript\n    import { AnsiUp } from './ansi_up.js'\n    const ansi_up = new AnsiUp();\n\n    const txt  = \"\\n\\n\\x1B[1;33;40m 33;40  \\x1B[1;33;41m 33;41  \\x1B[1;33;42m 33;42  \\x1B[1;33;43m 33;43  \\x1B[1;33;44m 33;44  \\x1B[1;33;45m 33;45  \\x1B[1;33;46m 33;46  \\x1B[1m\\x1B[0\\n\\n\\x1B[1;33;42m >> Tests OK\\n\\n\"\n\n    let html = ansi_up.ansi_to_html(txt);\n```\n\n## Installation\n\n    $ npm install ansi_up\n\n## Versions\n* Version 6.0 - Switch to ES6 module. Add faint styles. Style css configurable.\n* Version 5.1 - Add italic and underline styles (@DaoDaoNoCode)\n* Version 5.0 - Security fix for OSC URLs\n* Version 4.0 - Re-architect code to support [terminal URL codes](https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda).\n* Version 3.0 - now treats ANSI bold sequences as CSS font-weight:bold\n* Version 2.0 - moved to a stateful, streaming version of the API\n* Version 1.3 - was the last of the older, deprecated API.\n\n## Quick Start\n\n1. Use whatever module system to import the _ansi_up_ module.\n2. Instantiate the object.\n3. For every piece of ansi escaped text string, call **ansi_to_html**.\n4. Append the emitted HTML to the previous HTML already emitted.\n5. DONE\n\n\n## API Methods and Recommended Settings\n\nYou only need the ansi_to_html method. The other properties listed below allow you to\noverride some of the escaping behaviour. You probably don't need to change these\nfrom their default values.\n\nIt is recommended that the HTML container that holds the span tags is styled with a monospace font.\nA PRE tag would work just fine for this.\nIt is also recommended that the HTML container is styled with a black background.\nSee the examples, for more CSS theming.\n\n\n#### ansi_to_html (txt)\n\nThis transforms ANSI terminal escape codes/sequences into SPAN tags that wrap and style the content.\n\nThis method only interprets ANSI SGR (Select Graphic Rendition) codes or escaped URL codes.\nFor example, cursor movement codes are ignored and hidden from output.\n\nThis method also safely escapes any unsafe HTML characters.\n\nThe default style uses colors that are very close to the prescribed standard.\nThe standard assumes that the text will have a black background.\nThese colors are set as inline styles on the SPAN tags.\nAnother option is to set the 'use_classes' property to true'.\nThis will instead set classes on the spans so the colors can be set via CSS.\nThe class names used are of the format ````ansi-*-fg/bg```` and ````ansi-bright-*-fg/bg```` where * is the colour name, i.e black/red/green/yellow/blue/magenta/cyan/white.\nSee the examples directory for a complete CSS theme for these classes.\n\n## Properties\n\n#### escape_html\n(default: true)\n\nBy default, HTML's reserved characters `& < > \" '` are replaced with <a href=\"https://www.w3schools.com/html/html_entities.asp\">HTML entities</a> to make them appear as literal characters in your application, rather than being interpreted as HTML structure. If you prefer keeping HTML's reserved characters untouched, you can set this to false.\n\n#### use_classes\n(default: false)\n\nThis causes the SPAN tags to use classes to style the SPAN tags instead\nof specified RGB values.\n\n#### url_allowlist\n(default: { 'http':1, 'https':1 })\n\nThis mapping is an 'allow' list of URI schemes that will be allowed to render HTML anchor tags.\n\n#### boldStyle\n(default: 'font-weight:bold')\n#### faintStyle\n(default: 'opacity:0.7')\n#### italicStyle\n(default: 'font-style:italic')\n#### underlineStyle\n(default: 'text-decoration:underline')\n\n## Buffering\n\nIn general, the ansi_to_html *should* emit HTML output when invoked with a non-empty string.\nThe only exceptions are an incomplete ESC sequence or an incomplete OSC URL sequence.\nFor those cases, the library will buffer (not emit output), until it receives input that completes those sequences.\n\n### Example of a Use Case\n\nI have used this library to 'tail' a file.\n\nOn a remote machine, I had process generating a log file.\nI had a web server running on the same machine.\nThe server hosted a simple HTML page that used AJAX to poll an object with a range query.\nSpecifically I used an HTTP/1.1 GET request with RFC 7233 Range query.\nThe first range query would start at 0, but then progressively move forward after\nnew data was received.\n\nFor each new chunk of data received, I would transform the data with _ansi_up_, and append the new\nspans to the innerHTML of a PRE tag.\n\n\n### UTF8 note\n\nOne last important note, _ansi_up_ takes its input in the form of a Javascript string.\nThese strings are UTF8. When you take the output of some program and send it to\nJavascript, there will be buffering. Be sure that you do not send incomplete UTF8 sequences.\nJavascript will ignore or drop the sequence from the stream when it converts it to a\nstring.\n\n\n## Building\n\nTo build, a simple Makefile handles it all.\n\n```shell\n    $ make\n```\n\n## Running tests\n\nTo run the tests for _ansi_up_, run `npm install` to install dev dependencies. Then:\n\n```shell\n    $ make test\n```\n\n## Credits\n\nThis code was developed by Dru Nelson (<https://github.com/drudru>).\n\nThanks goes to the following contributors for their patches:\n\n- Juntao Wang (<https://github.com/DaoDaoNoCode>)\n- AIZAWA Hina (<https://github.com/fetus-hina>)\n- James R. White (<https://github.com/jamesrwhite>)\n- Aaron Stone (<https://github.com/sodabrew>)\n- Maximilian Antoni (<https://github.com/mantoni>)\n- Jim Bauwens (<https://github.com/jimbauwens>)\n- Jacek Jędrzejewski (<https://github.com/eXtreme>)\n","_attachments":{},"homepage":"https://github.com/drudru/ansi_up#readme","bugs":{"url":"http://github.com/drudru/ansi_up/issues"},"license":"MIT"}