1.2.2 • Published 7 months ago

ifrc-list v1.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

ifrc-list

List of IFRC National Societies.

Data

Each entry in the array contains the following fields:

{
  //ISO 3166-1 alpha-2 code of associated country
  "code": "al",
  //ISO 3166-1 alpha-2 code of associated country
  "iso_alpha2": "AL",
  //ISO alpha-3 code of associated country
  "iso_alpha3": "ALB",
  //Full name of society including country
  "name": "Albania: Albanian Red Cross",
  //Name of society
  "ns": "Albanian Red Cross",
  //Country
  "country": "Albania",
  //Latitude and longitude of country
  "location": { "lat": 41.1533, "long": 20.168331 },
  //Unicode flag character
  "flag": "🇦🇱",
  //Currency of country
  "currency": "ALL",
  //IFRC region country is within
  "ifrc_region": "EU",
  //Official names in em,es,ar,fr
  "names": {
    "en": "Albanian Red Cross",
    "es": "Cruz Roja de Albania",
    "ar": "الصليب الأحمر الألباني",
    "fr": "Croix-Rouge albanaise"
  }
}

Usage

npm install ifrc-list
//ES6
import { ifrcList } from "ifrc-list";
//NodeJS
const ifrcList = require("ifrc-list");
<!-- Directly in HTML -->
<script src="scripts/ifrc-list.min.js"></script>
<script>
  console.log(ifrcList);
</script>
1.2.2

7 months ago

1.2.1

7 months ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago