
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
svelte-obfuscate
Advanced tools
This package provides a Svelte component to obfuscate any contact link from a website and prevent bots from scraping it.
Install the NPM package svelte-obfuscate
to your project and then add it to your layout:
<script>
import { Obfuscate } from "svelte-obfuscate"
</script>
<Obfuscate email="pedro@craftweg.com">
Any of the following props can be passed to the Svelte component.
Prop | Type | Default | Description |
---|---|---|---|
email | string | null | email address of the intended recipient |
headers | object | null | subject, cc, bcc, body, etc |
telephone | string | null | telephone number of the intended recipient |
sms | string | null | sms number of the intended recipient |
facetime | string | null | facetime address of the intended recipient |
href | string | null | Obfuscate any other URL type (e.g. WhatsApp) |
FAQs
A Svelte component to obfuscate any contact link.
The npm package svelte-obfuscate receives a total of 8 weekly downloads. As such, svelte-obfuscate popularity was classified as not popular.
We found that svelte-obfuscate demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.