Skip to content

igorskyflyer/npm-strip-html-headings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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.