@igor.dvlpr/strip-html-headings
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i @igor.dvlpr/strip-html-headings

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

4.2 kB

Total Files

5

Last publish

Collaborators

  • igor.dvlpr