
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
svelte-exmarkdown
Advanced tools
Svelte component to render markdown. Dynamic and Extensible.
Svelte component to render markdown. Dynamic and Extensible.
svelte-markdown is a good component package. However, it is not extensible. You cannot use custom syntax(e.g. KaTeX).
MDsveX is another good package. However, it is a preprocessor. Not suitable for dynamic rendering.
We need pluggable and dynamic markdown renderer in svelte like react-markdown.
<script>
import Markdown from 'svelte-exmarkdown';
let md = '# Hello world!';
</script>
<textarea bind:value={md} />
<Markdown {md} />
with GFM
<script>
import Markdown from 'svelte-exmarkdown';
import { gfmPlugin } from 'svelte-exmarkdown/gfm';
let md = '# Hello world!';
const plugins = [gfmPlugin()];
</script>
<textarea bind:value={md} />
<Markdown {md} {plugins} />
FAQs
Svelte component to render markdown. Dynamic and Extensible.
The npm package svelte-exmarkdown receives a total of 28,779 weekly downloads. As such, svelte-exmarkdown popularity was classified as popular.
We found that svelte-exmarkdown 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.