html2puretext
v1.0.1
Published
Convert HTML-formatted text to puretext
Downloads
10
Maintainers
Readme
Getting started
Installation
This package can be installed using npm
npm install html2puretext
or, yarn
yarn add html2puretext
Usage
var h2p = require('html2puretext')
h2p('<p>Hello,\n & <em>my name is <a href="https://github.com/vijay75740/html2puretext">Vijay</a></em></p>')
// => "Hello, & my name is Vijay"
Disclaimer
This package uses html code convert to normal text.
Issues
If any issues are found, they can be reported here.
License
This project is licensed under the MIT license.