1.0.0 ā€¢ Published 1 year ago

@igor.dvlpr/strip-html-headings v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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.