Package detail

strip_tags

kishoreprabhu131ISC1.0.1

removes markup from html string and returns plain text

html, string, plain, text

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'