13.1.0 • Published 2 years ago

interweave v13.1.0

Weekly downloads
28,943
License
MIT
Repository
github
Last release
2 years ago

Interweave

Build Status npm version npm deps

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!
<Interweave content="This string contains <b>HTML</b> and will safely be rendered!" />
<Interweave
	content="This contains a URL, https://github.com/milesj/interweave, and a hashtag, #interweave, that will be converted to an anchor link!"
	matchers={[new UrlMatcher('url'), new HashtagMatcher('hashtag')]}
/>

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

13.1.0

2 years ago

13.0.0

3 years ago

12.9.0

3 years ago

12.8.0

3 years ago

12.7.2

4 years ago

12.7.1

4 years ago

12.7.0

4 years ago

12.6.0

4 years ago

12.5.0

5 years ago

12.4.0

5 years ago

12.3.0

5 years ago

12.2.2

5 years ago

12.2.1

5 years ago

12.2.0

5 years ago

12.1.1

5 years ago

12.1.0

5 years ago

12.0.0

5 years ago

12.0.0-alpha.0

5 years ago

11.2.0

5 years ago

11.1.0

6 years ago

11.0.1

6 years ago

11.0.0

6 years ago

11.0.0-alpha.1

6 years ago

11.0.0-alpha.0

6 years ago

10.1.3

6 years ago

10.1.2

6 years ago

10.1.1

6 years ago

10.1.0

6 years ago

10.0.0

6 years ago

10.0.0-alpha.0

6 years ago

9.2.1

6 years ago

9.2.0

6 years ago

9.1.0

6 years ago

9.0.0

6 years ago

9.0.0-4

6 years ago

9.0.0-3

6 years ago

9.0.0-2

6 years ago

9.0.0-1

7 years ago

9.0.0-0

7 years ago

8.1.0

7 years ago

8.0.2

7 years ago

8.0.1

7 years ago

8.0.0

7 years ago

7.1.0

7 years ago

7.0.0

7 years ago

7.0.0-rc.6

7 years ago

7.0.0-rc.5

7 years ago

7.0.0-rc.4

7 years ago

7.0.0-rc.3

7 years ago

7.0.0-rc.2

7 years ago

7.0.0-rc.1

7 years ago

6.1.0

7 years ago

6.0.0

7 years ago

6.0.0-beta

7 years ago

5.4.0

7 years ago

5.3.0

7 years ago

5.2.0

7 years ago

5.1.2

7 years ago

5.1.1

8 years ago

5.1.0

8 years ago

5.0.1

8 years ago

5.0.0

8 years ago

4.1.0

8 years ago

4.0.0

8 years ago

3.1.0

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.2.0

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.5.0

8 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.2

8 years ago

0.1.0

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago