Gathering detailed insights and metrics for vue3-country-flag-icon
Gathering detailed insights and metrics for vue3-country-flag-icon
Gathering detailed insights and metrics for vue3-country-flag-icon
Gathering detailed insights and metrics for vue3-country-flag-icon
npm install vue3-country-flag-icon
Typescript
Module System
Node Version
NPM Version
Vue (52.52%)
Makefile (17.13%)
HTML (14.11%)
JavaScript (13.48%)
SCSS (2.75%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
25 Commits
1 Forks
14 Branches
1 Contributors
Updated on Aug 04, 2021
Latest Version
0.1.2
Package Id
vue3-country-flag-icon@0.1.2
Unpacked Size
5.15 MB
Size
1.27 MB
File Count
536
NPM Version
6.14.13
Node Version
14.17.3
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
4
Country flag component for Vue 3. Supports SSR apps.
Forked from https://github.com/dzangolab/vue-country-flag-icon
Add the package to your app via npm:
1npm install vue3-country-flag-icon
or yarn:
1yarn add vue3-country-flag-icon
1# main.js 2 3import { createApp } from 'vue' 4import App from './App.vue' 5import CountryFlag from 'vue3-country-flag-icon' 6import 'vue3-country-flag-icon/dist/CountryFlag.css' // import stylesheet 7 8const app = createApp(App) 9app.component('country-flag', CountryFlag)
1# MyComponent.vue 2<template> 3 <CountryFlag iso="GB" mode="squared" /> 4 <CountryFlag iso="GB" mode="rounded" /> 5</template> 6 7<script> 8 import CountryFlag from 'vue3-country-flag-icon' 9 import 'vue3-country-flag-icon/dist/CountryFlag.css' // import stylesheet 10 11 export default { 12 components: { 13 CountryFlag 14 } 15 } 16</script>
iso
country ISO code (alpha-2 code).
This setting is required.
title
title for the country flag.
mode
Determines the behavior of the country flag. This component support 2 modes rounded
and squared
.
This setting is required.
Instead of importing the css file in component or main.js, you can also import scss file into your app scss file.
1@import '~vue3-country-flag-icon/src/assets/scss/country-flag.scss';
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/25 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
84 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More