Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
vue-cryptoicon
Advanced tools
Beautiful pixel perfect 400+ cryptocurrency and 10+ Fiat currency icon, in a range of styles and sizes
Installing with npm.
npm install vue-cryptoicon // yarn add vue-cryptoicon
To use in your project, just import vue-cryptoicon and install into Vue.
main.js
import Vue from 'vue';
import Cryptoicon from 'vue-cryptoicon';
// For all icons
import icon from 'vue-cryptoicon/src/icons';
Cryptoicon.add(icon);
Vue.use(Cryptoicon);
// selective icons
import { Btc, Eth, Xrp, Eos, Bnb, Tron } from 'vue-cryptoicon/src/icons';
Cryptoicon.add([Btc, Eth, Xrp, Eos, Bnb, Tron]);
Vue.use(Cryptoicon);
App.vue
<template>
<!-- Bitcoin color icon-->
<cryptoicon symbol="btc" size="24" />
<!-- Bitcoin blue color icon-->
<cryptoicon symbol="btc" size="24" color="blue" />
<!-- Bitcoin black (#000) icon-->
<cryptoicon symbol="btc" size="24" color="#000" />
</template>
Name | Description | Type | Default | Accepted values |
---|---|---|---|---|
symbol | Cryptocurrency symbol | String | - | Valid and Available |
color | Color of the symbol | String | color | HEX or color name |
size | Size of the icon | Number | 24 | Positive integer |
You can change the default value of size
and color
in main.js
Vue.use(Cryptoicon, { size: '50', color: 'black' });
MIT license.
Atomic labs for svg icons
FAQs
Beautiful pixel perfect 400+ cryptocurrency and 10+ Fiat currency icon
The npm package vue-cryptoicon receives a total of 209 weekly downloads. As such, vue-cryptoicon popularity was classified as not popular.
We found that vue-cryptoicon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.