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

/html-to-ansi/

    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