@igor.dvlpr/strip-html-headings
v1.0.0
Published
🍛 Strips HTML headings! 🍤
Downloads
37
Maintainers
Readme
StripHTMLHeadings
🍛 Strips HTML headings! 🍤
✨ Install
Install it by running:
npm i "@igor.dvlpr/strip-html-headings"
🕵🏼♂️ Usage
function stripHeadings(value: string): string
Strips HTML headings completely.
value: string
- the HTML string to process.
returns
- the processed string.
function stripHeadingsCode(value: string): string
Strips only the HTML code while keeping the heading text.
value: string
- the HTML string to process.
returns
- the processed string.