Socket
Socket
Sign inDemoInstall

@iconify/types

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iconify/types

Types for Iconify icons


Version published
Weekly downloads
693K
decreased by-1.02%
Maintainers
1
Weekly downloads
 
Created

What is @iconify/types?

@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.

What are @iconify/types's main functionalities?

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
}

Other packages similar to @iconify/types

FAQs

Package last updated on 13 Jan 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc