@mozeyinedu/check
v2.0.0
Published
@mozeyinedu/check is a package that contains functions that check some conditions just to preserve time for other stuff
Downloads
49
Maintainers
Readme
domcleanup
This package purifies the dom against XSS attacks. It is built on top of JSDOM and dompurify
Exmaples
Installation
npm i @mozeyinedu/domcleanup
Usage
const domcleanup = require('@mozeyinedu/domcleanup)
console.log(domcleanup('<b>hello there</b>'))