react-obfuscate-email
TypeScript icon, indicating that this package has built-in type declarations

1.1.5 • Public • Published

React Obfuscate Email

React Obfuscate Email CI codecov CodeFactor bundlephobia

📧🚫🤖 A lightweight email obfuscator React component.

Until you hover or focus on the link, the @ symbol is stripped out and rendered using ::after css pseudo-element, and the href attribute value is replaced with #.

  • No dependencies
  • Tree-shakeable

Installation

npm install --save react-obfuscate-email

Usage

import { Email } from "react-obfuscate-email";

export default function SomeComponent() {
  return <Email email="test@example.com">📧 Email me!</Email>;
}

Read the documentation 📘.

TypeScript

The component is written in TypeScript and type definitions are included.

Contributing

All type of contributions are welcome!

Show your support

Give a ⭐️ if you like this project!

LICENSE

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.5188latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.5188
1.1.40
1.1.30
1.1.296
1.1.10
1.1.00
1.0.164
1.0.150
1.0.140
1.0.130
1.0.121
1.0.110
1.0.100
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00
0.1.80
0.1.70
0.1.60
0.1.50
0.1.40
0.1.30
0.1.20
0.1.10
0.1.00

Package Sidebar

Install

npm i react-obfuscate-email

Weekly Downloads

289

Version

1.1.5

License

MIT

Unpacked Size

8.93 kB

Total Files

8

Last publish

Collaborators

  • mauriciorobayo