{"repo":"mat-sz/react-letter","free":true,"listed":false,"github":"https://github.com/mat-sz/react-letter","clone":"git clone https://github.com/mat-sz/react-letter.git","description":"✉️ Display e-mails in your React.js projects. (Targets Gmail rendering.)","language":"TypeScript","stars":286,"topics":["email","react","reactjs","reactjs-component","typescript","typescript-library","javascript","javascript-library","gmail"],"license":"BSD-3-Clause-Clear","category":"auth-billing-email","readme_excerpt":"react-letter is a React.js component that allows for an easy display of HTML e-mail content with automatic sanitization. Support for features should match what is supported by Gmail. Features: - support. - Automatic removal of relative URLs. - Support for rewriting the link and resource URLs to increase user's privacy and security. - Prefixing classes and IDs to prevent clashing with page styles. - Wrapping contents in an iframe (as an option). - First-class TypeScript support (the entire library is written in TypeScript), along with a related RFC 822 parser project also written in TypeScript. - Only one dependency (lettersanitizer). The component itself is parser-agnostic, and can be used with any RFC 822 parser as long as it provides HTML or text output. The sanitization is done on the client-side using DOMParser with some security features targeting older browsers (although there's no guarantee of full functionality under browser versions older than 5 years). Check other TypeScript e-mail projects: Parser SMTP client/server ------------------------------------------------------ -------------------------------------------------- letterparser @typemail/smtp Installation react-letter is available on NPM, and can be installed with either npm or yarn: A Vue.js version is also available: vue-letter. Usage See: Example or play in the CodeSandbox. react-letter can be used with letterparser (currently in development, but it's the only RFC 822 parser with browser support as far as I","default_branch":null,"files":null,"tree":[],"storefront":"/r/mat-sz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mat-sz/react-letter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}