milesj/interweave
🌀 React library to safely render HTML, filter attributes, autowrap text with matchers, render emoji characters, and much more. observed · 2026-08-28
Health v2 · maintenance only
35/100
- Activity 6
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3720
- days_rel: n/a
- days_push: 569
- n_releases_24m: 0
Adoption not part of the score
1154 stars · 40 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A React library for safely rendering HTML strings without dangerouslySetInnerHTML, with XSS protection, attribute filtering, and text matchers for autolinking URLs, emails, and hashtags. It also renders emoji characters and shortcodes using Emojibase data.
Use cases
- safely render user-submitted HTML in React
- avoid dangerouslySetInnerHTML and XSS vulnerabilities
- autolink URLs, emails, and hashtags in text
- render emoji unicode characters and shortcodes
- strip HTML tags from strings
- inject React components into text via matchers
When to choose
- you need to render untrusted or third-party HTML content in React safely
- you want autolinking, hashtag, or emoji rendering built into text display
- you need attribute filtering and element allowlists for HTML content
When to avoid
- you need full HTML sanitization outside of React
- you want a general-purpose HTML parser rather than a rendering component
- your project does not use React
Facets
library · maturity active
parser ui-components security templating web-development frontend security browser react html-rendering xss-protection autolink emoji matchers sanitization nodejs web-server
4 sources
- readme: https://github.com/milesj/interweave · fetched 2026-08-28 · 0af04abc13b9
- homepage: https://interweave.dev · fetched 2026-08-29 · 367bdec8a6eb
- site_page: https://interweave.dev/docs · fetched 2026-08-29 · 5379b70b2b39
- registry_npm: https://registry.npmjs.org/interweave · fetched 2026-08-29 · 9f289adfb797
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| milesj/interweave | main | 35 |
For agents
markdown · JSON · MCP: product_card(name="milesj/interweave")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem