1.0.0 ā¢ Published 1 year ago
@igor.dvlpr/strip-html-headings v1.0.0
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.
1.0.0
1 year ago