duct Strip Html Tags

duct Strip Html Tags

Cleaning html tags, source generator codes from text

npm i duct-strip-html-tags

Add the duct-strip-html-tags package in the component you want to use after installation.

import stripHtmlTags from 'duct-strip-html-tags'

ready to use

stripHtmlTags(string)

A string value must be sent into the stripHtmlTags function. This function will return the value after clearing the html tag.