Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

svg-wc-icons

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svg-wc-icons

Tool for generating WebComponent icons from svg files

  • 0.2.1-alpha.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

svg-wc-icons

svg-wc-icons is a tool to convert svg icons (auto generated) into reusable web components

Installation

Use the package manager pip to install foobar.

npm install -g svg-wc-icons

Usage

#basic usage
svg-wc-icons --src './src' --dist './dist'

#use external svgo json config
svg-wc-icons --src './src' --dist './dist'  --svgoConfig './svgo.config.json'

#use custom prefix in generated webcomponents based icons
svg-wc-icons --src './src' --dist './dist' --prefix myCompany

Using generated web components in our project

activity-icon {
 color: red;
 font-size: 24px;
}
<script type="module" src="./dist/activity_icon.js"></script>
<activity-icon />

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Keywords

FAQs

Package last updated on 28 Oct 2019

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