2.0.0 • Published 11 months ago

@mozeyinedu/check v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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>'))