Search results
2 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
A utility function that safely parses HTML strings into DOM nodes, avoiding the use of innerHTML for security reasons.
- HTML
- DOM
- parser
- security
- safe DOM
- innerHTML
- XSS
- Cross-Site Scripting
- node creation
- document.createElement
- JavaScript
- vanilla JS
- agnostic HTML
- sanitization
- View more
published version 0.4.2, 4 months ago0 dependents licensed under $MIT
22
A utility function that safely removes all child nodes of a given DOM element, avoiding the use of innerHTML.
- DOM
- clean
- wipe
- innerHTML
- XSS
- security
- safe DOM
- node removal
- JavaScript
- vanilla JS
- agnostic wipe
- element cleanup
- clear DOM
published version 0.1.0, 4 months ago0 dependents licensed under $MIT
14