htmlremove
v2.0.6
Published
Removes HTML tags from html string to return plain text
Downloads
10
Readme
htmlremove
Removed HTML tags from html string to return plain text
Setup
npm install htmlremove
yarn install htmlremove
Usage
var htmlremove = require('htmlremove');
let html = " <div> May the force be with <a href="#">you</a>. I love <strong>Batman</strong> ";
html = htmlremove(html);
//output 'May the force be with you. I love Batman'