New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mat-icon-import

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mat-icon-import - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "mat-icon-import",
"version": "0.0.1",
"version": "0.0.2",
"author": "Felix Lemke <flemke.dev@gmail.com> (https://felixlemke.com)",

@@ -5,0 +5,0 @@ "description": "Include only used material icons in SVG format and reduce package size",

@@ -13,4 +13,6 @@ # Import only used material (and custom) icons in Angular

Import the `IconImportModule` in your application module.
At first download the icons you need from [here](https://material.io/tools/icons?style=baseline) in SVG 24px format (default). The icon names are of type `baseline-[key]-24px.svg`. You will have to use the `key` when importing this lib.
Import the `IconImportModule` in your application module and call the `forRoot()` function with two parameters. At first the array of icon *keys*, e.g. (account_circle, add or whatever you want). The secont parameter is the path where you store the icons in your assets folder.
```typescript

@@ -17,0 +19,0 @@ import { IconImportModule } from 'mat-icon-import';

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