npm.io

Element cleanup Packages

agnostic-wipe

A utility function that safely removes all child nodes of a given DOM element, avoiding the use of innerHTML.

DOMcleanwipeinnerHTMLXSSsecuritysafe DOMnode removalJavaScriptvanilla JS
0.1.0 • Published 9 months ago

contact@npm.io