Skip to content

kishoreprabhu/strip-tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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'

About

removes markup from html string and returns plain text

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published