fsmaia / typedoc-plugin-dompurify

Run XSS sanitizer as a typedoc plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

typedoc-plugin-dompurify

A plugin for TypeDoc which runs DOMPurify to avoid XSS injections and remove invalid HTML tags.

Installation

npm install --save-dev typedoc-plugin-dompurify

Usage

$ npx typedoc --plugin typedoc-plugin-dompurify

About

Run XSS sanitizer as a typedoc plugin


Languages

Language:TypeScript 56.6%Language:Shell 30.4%Language:JavaScript 12.9%