
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
react-obfuscate-email
Advanced tools
[](https://www.npmjs.com/package/react-obfuscate-email) [](https://github.com/Mauric
📧🚫🤖 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 #.
npm install --save react-obfuscate-email
import { Email } from "react-obfuscate-email";
export default function SomeComponent() {
return <Email email="test@example.com">📧 Email me!</Email>;
}
Inspect the element without hovering or focusing on it to see what's actually rendered:
<Email
email="cick@me.com"
body="You rock!"
subject="Hi 👋"
cc={["cc1@example.com", "cc2@example.com"]}
bcc={["bcc@example.com"]}
>
📧 Click me!
</Email>
You can pass any children to control the displayed text of the link:
<Email email="cick@me.com">📧 Click me!</Email>
You can pass any valid a tag attributes, like target or title:
<Email
email="cick@me.com"
title="📧 Email me!"
target="_blank"
rel="noopener noreferrer"
>
📧 Email me!
</Email>
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| string | Yes | — | E-mail recipient address | |
| children | ReactNode | No | Content to display in the link | |
| subject | string | No | "" | Subject of e-mail |
| body | string | No | "" | Body of e-mail |
| cc | string[] | No | [] | Carbon copy e-mail addresses |
| bcc | string[] | No | [] | Blind carbon copy e-mail addresses |
| ...props | AnchorHTMLAttributes | No | — | Any valid tag attribute (e.g. target, rel, title) |
The component is written in TypeScript and type definitions are included.
Give a ⭐️ if you like this project!
FAQs
[](https://www.npmjs.com/package/react-obfuscate-email) [](https://github.com/Mauric
The npm package react-obfuscate-email receives a total of 526 weekly downloads. As such, react-obfuscate-email popularity was classified as not popular.
We found that react-obfuscate-email demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.