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: 4 months 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-15T19:55:54.000Z (over 1 year ago)
- Last Synced: 2026-02-06T06:23:06.630Z (4 months 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: 1
-
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/)