{"blah":{"thanks":"This project is highly based on [`ansi_up`](https://github.com/drudru/ansi_up), by [@drudru](https://github.com/drudru/). Thanks! :cake:","example":["When using **TypeScript** without --esModuleInterop enabled you can do the following:",{"code":{"content":["import Anser = require('anser');","const txt = \"\\u001b[38;5;196mHello\\u001b[39m \\u001b[48;5;226mWorld\\u001b[49m\";","console.log(Anser.ansiToHtml(txt));","// <span style=\"color:rgb(255, 0, 0)\">Hello</span> <span style=\"background-color:rgb(255, 255, 0)\">World</span>"],"language":"ts"}},"Or with --esModuleInterop enabled you can do the following:",{"code":{"content":["import Anser from 'anser';","const txt = \"\\u001b[38;5;196mHello\\u001b[39m \\u001b[48;5;226mWorld\\u001b[49m\";","console.log(Anser.ansiToHtml(txt));","// <span style=\"color:rgb(255, 0, 0)\">Hello</span> <span style=\"background-color:rgb(255, 255, 0)\">World</span>"],"language":"ts"}}],"description":[{"h2":":rocket: Features"},{"ul":["Converts text containing [ANSI color escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors) into equivalent HTML elements.","Allows converting the input into JSON output.","HTML escaping","Converts links into HTML elements","Friendly APIs to use with  virtual dom libraries"]}]},"bugs":{"url":"http://github.com/IonicaBizau/anser/issues"},"dist":{"shasum":"3435896b68b93e5e744842499d0ce3e6f6d013ee","tarball":"https://registry.npmjs.org/anser/-/anser-2.3.5.tgz","fileCount":5,"integrity":"sha512-vcZjxvvVoxTeR5XBNJB38oTu/7eDCZlwdz32N1eNgpyPF7j/Z7Idf+CUwQOkKKpJ7RJyjxgLHCM7vdIK0iCNMQ==","signatures":[{"sig":"MEYCIQCMGrNnzc923OZG/2vgHkyQPLOpHaKEuoRujWVgeNECLgIhAMJ5/tCkB4kEIWoae7Ak1iU0sYYAuKU71bIKJsLzlnQb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40168},"main":"lib/index.js","name":"anser","types":"lib/index.d.ts","author":{"url":"https://ionicabizau.net","name":"Ionică Bizău","email":"bizauionica@gmail.com"},"gitHead":"d300b23541d831741b872340706848a013a3ccdc","license":"MIT","scripts":{"test":"mocha"},"_npmUser":{"name":"ionicabizau","email":"bizauionica@gmail.com"},"homepage":"https://github.com/IonicaBizau/anser#readme","keywords":["ansi","html"],"repository":{"url":"git://github.com/IonicaBizau/anser.git","type":"git"},"_npmVersion":"11.3.0","description":"A low level parser for ANSI sequences.","directories":{"test":"test","example":"examples"},"maintainers":[{"name":"ionicabizau","email":"bizauionica@gmail.com"}],"_nodeVersion":"24.1.0","contributors":[{"name":"Mikołaj Kutryj","email":"mikolaj.kutryj@gmail.com"}],"_hasShrinkwrap":false,"devDependencies":{"mocha":"^11.1.0","jshint":"^2.13.6","jslint":"^0.12.1","should":"*"},"_npmOperationalInternal":{"tmp":"tmp/anser_2.3.5_1765833049114_0.12689814612063444","host":"s3://npm-registry-packages-npm-production"},"_id":"anser@2.3.5","version":"2.3.5"}