Skip to content

inedumozey/domcleanup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published