{"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":"a7309c9f29886f19af56cb30c79fc60ea483944e","tarball":"https://registry.npmjs.org/anser/-/anser-2.1.0.tgz","fileCount":5,"integrity":"sha512-zqC6MjuKg2ASofHsYE4orC7uGZQVbfJT1NiDDAzPtwc8XkWsAOSPAfqGFB/SG/PLybgeZ+LjVXvwfAWAEPXzuQ==","signatures":[{"sig":"MEUCIQDaujfFB8l39qpJGTzY9wzhsGxFNW/NWy/3lOgOa+LtngIgDQYTwQjFcA66mHPi+4aTwHeq4URaYPjFlo/i49cjUao=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51424,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2jeBCRA9TVsSAnZWagAAXkQQAKKMOHt9I8TMee226Hq8\nBTRrBzXGn3qGElOX6pyJ5m0npiy0Gfip1ecFwPK/My6xJPGXEfT792ub64oJ\nZKfb8q+v/9Lr6p94GH5gUx5uhFA8Il4RXKEeJ4tj8hkLIZSdsyu8tC9R3joS\n6jhEZsXi+Cf/Hc7LV5KSf/h+7d7IlAwSUkxLaf8KCtoOZ5dpFmLcNHESUs00\n39ZBAglPgaqlVs8JCQz0fTMZQxnO/lIv6AL8wPeMxXo7+dP+52BMedWErP+I\nXRAzeazyxWhM5Ywu5AvFGIx1YsFBEoiHqMZzo03xy4YRlVJIhmraDjKNc93g\nj+JF/mysMSy+VTmYYaD1h6uLoo8Err7GSzSEK63MLPtgAvnHLuPs6+ogjKod\nuPHL2hNW1jaTOF3E5+V6sxayIyDE9ojx1gFENJXum5/OgbAcElTbSrrZ1gp3\nohAeOtU+aGNDRJBDYx5KSFV1v7e8CDFBuU8Z+iVz6VHVgB1/Pcgo6O3Br5Y5\n1MR2VMuGSXDn++AgwlGk2623Ddq0pBHixP9PntOSxwihaP9/EETVluhE7KMG\nLodbiEEL45pOUi3lLrWRgE3S3PMWLQ3nwfRVcJl7zGsxUX62J6uDcjyS3uhW\nbkS+BQ+1/Wy7gj450AfSDKHoZfzR6LTgzx0Gy2Uop/kRJ26XpNqYczzg8efc\niND0\r\n=C6Gl\r\n-----END PGP SIGNATURE-----\r\n"},"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":"2b13db157c0918db3e2edbfb4a255b8ee104f503","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":"6.4.1","description":"A low level parser for ANSI sequences.","directories":{"test":"test","example":"examples"},"maintainers":[{"name":"ionicabizau","email":"bizauionica@gmail.com"}],"_nodeVersion":"10.15.3","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"mocha":"*","jshint":"*","jslint":"*","should":"*"},"_npmOperationalInternal":{"tmp":"tmp/anser_2.1.0_1634204491119_0.5638100571854319","host":"s3://npm-registry-packages"},"_id":"anser@2.1.0","version":"2.1.0"}