Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/milesj/interweave
🌀 React library to safely render HTML, filter attributes, autowrap text with matchers, render emoji characters, and much more.
https://github.com/milesj/interweave
autolink emoji emoji-picker emoji-unicode html-parsing interpolation matcher react react-elements
Last synced: about 19 hours ago
JSON representation
🌀 React library to safely render HTML, filter attributes, autowrap text with matchers, render emoji characters, and much more.
- Host: GitHub
- URL: https://github.com/milesj/interweave
- Owner: milesj
- License: mit
- Created: 2016-06-26T22:39:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-19T07:56:50.000Z (12 months ago)
- Last Synced: 2024-12-07T22:05:50.738Z (6 days ago)
- Topics: autolink, emoji, emoji-picker, emoji-unicode, html-parsing, interpolation, matcher, react, react-elements
- Language: TypeScript
- Homepage: https://interweave.dev
- Size: 9.07 MB
- Stars: 1,097
- Watchers: 9
- Forks: 38
- Open Issues: 33
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-react-components - interweave - React library to safely render HTML, filter attributes, autowrap text with matchers, render emoji characters, and much more. (UI Components / Form Components)
- awesome-react-components - interweave - React library to safely render HTML, filter attributes, autowrap text with matchers, render emoji characters, and much more. (UI Components / Form Components)
- awesome-react-components - interweave - React library to safely render HTML, filter attributes, autowrap text with matchers, render emoji characters, and much more. (UI Components / Form Components)
- fucking-awesome-react-components - interweave - React library to safely render HTML, filter attributes, autowrap text with matchers, render emoji characters, and much more. (UI Components / Form Components)
README
# Interweave
[![Build Status](https://github.com/milesj/interweave/workflows/Build/badge.svg)](https://github.com/milesj/interweave/actions?query=branch%3Amaster)
[![npm version](https://badge.fury.io/js/interweave.svg)](https://www.npmjs.com/package/interweave)
[![npm deps](https://david-dm.org/milesj/interweave.svg?path=packages/core)](https://www.npmjs.com/package/interweave)Interweave is a robust React library that can...
- Safely render HTML without using `dangerouslySetInnerHTML`.
- Safely strip HTML tags.
- Automatic XSS and injection protection.
- Clean HTML attributes using filters.
- Interpolate components using matchers.
- Autolink URLs, IPs, emails, and hashtags.
- Render Emoji and emoticon characters.
- And much more!```tsx
```
```tsx
```
## Requirements
- React 16.8+ / 17+
- IE 11+
- Emoji support: `fetch`, `sessionStorage`## Installation
Interweave requires React as a peer dependency.
```
yarn add interweave react
// Or
npm install interweave react
```## Documentation
[https://interweave.dev](https://interweave.dev)