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

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: 17 days 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/)