Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@iconify/types
Advanced tools
@iconify/types is a TypeScript package that provides type definitions for Iconify JSON data. It is used to ensure type safety when working with Iconify icons in TypeScript projects.
IconifyJSON
Defines the structure of Iconify JSON data, including properties like prefix, icons, width, and height.
{
"prefix": "mdi",
"icons": {
"home": {
"body": "<path d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/>"
}
},
"width": 24,
"height": 24
}
IconifyIcon
Defines the structure of an individual icon, including properties like body, width, and height.
{
"body": "<path d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/>",
"width": 24,
"height": 24
}
IconifyAlias
Defines the structure of an icon alias, including properties like parent and hFlip.
{
"parent": "home",
"hFlip": true
}
React Icons provides a collection of popular icon libraries for React applications. Unlike @iconify/types, which focuses on type definitions, react-icons provides ready-to-use React components for icons.
FontAwesome SVG Core is a package for using FontAwesome icons in web projects. It provides a comprehensive set of icons and utilities for managing them, but it is specific to FontAwesome, whereas @iconify/types is more generic.
Material Icons is a package that provides Google's Material Design icons. It is similar to @iconify/types in that it offers a collection of icons, but it is specific to Material Design.
Type definitions for using Iconify libraries and JSON files with TypeScript.
FAQs
Types for Iconify data
The npm package @iconify/types receives a total of 578,730 weekly downloads. As such, @iconify/types popularity was classified as popular.
We found that @iconify/types 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.