New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mdi-core

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdi-core

Node module for generating Material Design icons

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

mdi-core

Node module for generating Material Design icons.

All icons are based on the @mdi/svg package, which is what materialdesignicons.com uses.

Installation

$ npm install --save mdi-core

Usage

const mdi = require('mdi-core');
const options = {...};

mdi(options);

Options

  • names (Array): The names of the icons to generate. Please refer to @mdi/svg's available icons for a complete list of icons that can be generated.
  • size (Number): The size of the icon to generate, in pixels. Defaults to 24px.
  • padding (Number): The padding on the icon to generate, in pixels. Defaults to 0px.
  • radius (Number): The border radius of the icon to generate, in pixels. Defaults to 0px.
  • foreground (String): The foreground color of the icon to generate. Defaults to #333.
  • background (String): The background color of the icon to generate. Defaults to transparent.
  • output (String): The output directory where the generated icons will be written to. Defaults to the current directory ..
  • mdi-cli: Generate material design icons from the command line

License

MIT License

Keywords

mdi

FAQs

Package last updated on 12 Nov 2018

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