# c-flagscomponent

> ## Project setup ``` npm install ```

Latest version **0.1.3** (published 2019-01-08) · 0 weekly downloads

## Install

```sh
npm install c-flagscomponent
pnpm add c-flagscomponent
yarn add c-flagscomponent
bun add c-flagscomponent
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2019-01-08 |
| First published | 2018-12-26 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 5 MB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | mahdibenromdhane |

## Links

- npm: https://www.npmjs.com/package/c-flagscomponent
- npm.io page: https://npm.io/package/c-flagscomponent

## Dependencies (3)

- [vue](https://npm.io/package/vue.md) ^2.5.17
- [vuetify](https://npm.io/package/vuetify.md) ^1.3.14
- [flag-icon-css](https://npm.io/package/flag-icon-css.md) ^3.2.1

## Recent versions

- 0.1.3 (latest) — 2019-01-08
- 0.1.2 — 2018-12-27
- 0.1.1 — 2018-12-26
- 0.1.0 — 2018-12-26

## README

# Flags Component

## Project setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run serve
```

### Compiles and minifies for production
```
npm run build
```

### Run your tests
```
npm run test
```

### Lints and fixes files
```
npm run lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).


### How to use 
After installing the component in the project using npm, you need to import  the file flagsComponent.vue from node_modules like this:


import flagCss from "../../node_modules/flag-icon-css/css/flagsComponent.vue";



The component have only on prop it's "characteristics" it's an array of objects.

Each object take two keys : language(mandatory) and level(optional).

level : "fair", "good", "fluent", "mother-tongue".

language : A2 (ISO).



If the level key is absent in the props , only the flag will be displayed.

Examples :
<flags-component :characteristics="[{level:'good',language:'rs'},{language:'es',level:'fair'},{level:'mother-tongue',language:'it'},{language:'eg'}]"></flags-component>

---
_Source: https://npm.io/package/c-flagscomponent · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
