strip_tags
v1.0.1
Published
removes markup from html string and returns plain text
Downloads
99
Maintainers
Readme
strip-tags
removes markup from html string and returns plain text
installation
npm install strip_tags
usage
var strip_tags = require("strip_tags");
var html = "<div>John doe is a front end developer <span> works in abd company</span></div>";
html = strip_tags(html);
// output 'John doe is a front end developer works in abd company'