strip-tags
removes markup from html string and returns plain text
installation
npm install strip_tags
usage
var strip_tags = ; var html = "<div>John doe is a front end developer <span> works in abd company</span></div>";html = ;// output 'John doe is a front end developer works in abd company'