strip_tags

1.0.1 • Public • Published

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'

Package Sidebar

Install

npm i strip_tags

Weekly Downloads

53

Version

1.0.1

License

ISC

Last publish

Collaborators

  • kishoreprabhu