htmlremove
v2.0.6
Published
Removes HTML tags from html string to return plain text
Readme
htmlremove
Removed HTML tags from html string to return plain text
Setup
npm install htmlremove
yarn install htmlremoveUsage
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'