Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Community Material Design Icons as SVG path data.
Contains helper functions for rendering to SVG strings and React components.
Patch number corresponds to the number of commits in MaterialDesign@master. This package auto-updates to latest MaterialDesign, daily.
Special thanks to Austin Andrews for managing Material Design Icons.
npm install mdi-svg
import AccountIconData from 'mdi-svg/d/account';
import { toPathString, toSvgString, toPath, toSvg } from 'mdi-svg'
// '<path d="..." />'
export const AccountIconPathString = toPathString(AccountIconData)
// '<svg xmlns="..." ...><path d="..." /></svg>'
export const AccountIconString = toSvgString(AccountIconData)
import React from 'react'
// react component <AccountIconPath />
export const AccountIconPath = toPath(React)(AccountIconData)
// react component <AccountIcon />
export const AccountIcon = toSvg(React)(AccountIconData)
make init
FAQs
Material Design Icons SVG
The npm package mdi-svg receives a total of 10 weekly downloads. As such, mdi-svg popularity was classified as not popular.
We found that mdi-svg 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.