Socket
Socket
Sign inDemoInstall

@iconify/types

Package Overview
Dependencies
0
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @iconify/types

Types for Iconify icons


Version published
Weekly downloads
498K
decreased by-19.48%
Maintainers
1
Created
Weekly downloads
 

Package description

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

Readme

Source

Iconify Types

Type definitions for using Iconify libraries and JSON files with TypeScript.

FAQs

Last updated on 24 Dec 2019

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc