Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
svelte-iconoir
Advanced tools
Iconoir SVG icons as Svelte components.
Try it in the Svelte REPL.
# Yarn
yarn add -D svelte-iconoir
# npm
npm i -D svelte-iconoir
# pnpm
pnpm i -D svelte-iconoir
<script>
import { Activity, BubbleStar, Camera } from "svelte-iconoir";
</script>
<Activity />
<BubbleStar />
<Camera />
Refer to ICON_INDEX.md for a list of supported icons.
Use the direct import for faster compiling during development.
Note: even if using base imports, unused imports are still tree shakeable by application bundlers like Rollup or webpack.
<script>
import AddPage from "svelte-iconoir/lib/AddPage.svelte";
</script>
svelte:component
<script>
import * as icons from "svelte-iconoir";
</script>
{#each Object.entries(icons) as [icon, component]}
<div>
<svelte:component this={component} />
{icon}
</div>
{/each}
Svelte version 3.31 or greater is required to use this library with TypeScript.
FAQs
Iconoir SVG icons as Svelte components
We found that svelte-iconoir 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.