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
- Host: GitHub
- URL: https://github.com/kurtgokhan/jsx-purify
- Owner: KurtGokhan
- License: mit
- Created: 2024-12-09T10:42:32.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-12-15T19:55:54.000Z (4 months ago)
- Last Synced: 2025-04-08T17:58:09.834Z (18 days ago)
- Topics: jsx, react, react-jsx, sanitize, sanitizer, security
- Language: TypeScript
- Homepage: http://gkurt.com/jsx-purify/
- Size: 1.33 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/jsx-purify)
[](https://github.com/KurtGokhan/jsx-purify/blob/main/LICENSE)
[](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/)