html-to-ansi

1.0.5 • Public • Published

npm i --save html-to-ansi

const translate = require('html-to-ansi')
let output = translate('abc<br>abc') //abc\nabc

works with:

  • br
  • font color='#123123'
  • removes all other unknown tags

Dependencies (2)

Dev Dependencies (3)

Package Sidebar

Install

npm i html-to-ansi

Weekly Downloads

2

Version

1.0.5

License

MIT

Unpacked Size

2.68 kB

Total Files

5

Last publish

Collaborators

  • jestdotty