1.0.1 • Published 7 years ago

strip_tags v1.0.1

Weekly downloads
28
License
ISC
Repository
github
Last release
7 years ago

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'