Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kurtgokhan/jsx-purify

Transform untrusted JSX to a safe JSX
https://github.com/kurtgokhan/jsx-purify

jsx react react-jsx sanitize sanitizer security

Last synced: about 1 month ago
JSON representation

Transform untrusted JSX to a safe JSX

Awesome Lists containing this project

README

        

[![npm](https://img.shields.io/npm/v/jsx-purify?style=for-the-badge)](https://www.npmjs.com/package/jsx-purify)
[![NPM](https://img.shields.io/npm/l/jsx-purify?style=for-the-badge)](https://github.com/KurtGokhan/jsx-purify/blob/main/LICENSE)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/KurtGokhan/jsx-purify/ci.yml?style=for-the-badge)](https://github.com/KurtGokhan/jsx-purify/actions/workflows/ci.yml)

# JSX Purify

JSX Purify removes potentially unsecure components and attributes from an untrusted JSX. It is basically like DOMPurify, but instead of working on DOM elements, it works on JSX level.

[Visit the docs →](https://gkurt.com/jsx-purify/)