1 | # Static Data
|
2 |
|
3 | [ ![npm version](https://badge.fury.io/js/%40kiwicom%2Fstatic-data.svg) ](https://badge.fury.io/js/%40kiwicom%2Fstatic-data)
|
4 |
|
5 | ## Data Content
|
6 |
|
7 | | file name | size | expected usage |
|
8 | | --------------------------------------------------------------------------------------------- | :----: | :------------: |
|
9 | | [📄](doc/affiliates.md) [affiliates.json](data/affiliates.json) | small | client side |
|
10 | | [📄](doc/airlineRestrictions.md) [airlineRestrictions.json](data/airlineRestrictions.json) | medium | client side |
|
11 | | [📄](doc/airlines.md) [airlines.json](data/airlines.json) | medium | client side |
|
12 | | [📄](doc/airlineTerms.md) [airlineTerms.json](data/airlineTerms.json) | medium | client side |
|
13 | | [📄](doc/continents.md) [continents.json](data/continents.json) | medium | client side |
|
14 | | [📄](doc/countries.md) [countries.json](data/countries.json) | big | server |
|
15 | | [📄](doc/countryPhonePrefixes.md) [countryPhonePrefixes.json](data/countryPhonePrefixes.json) | medium | client side |
|
16 | | [📄](doc/currencies.md) [currencies.json](data/currencies.json) | medium | client side |
|
17 | | [darwin.json](data/darwin.json) | small | server |
|
18 | | [📄](doc/languages.md) [languages.json](data/languages.json) | medium | server |
|
19 |
|
20 | ---
|
21 |
|
22 | ## BIMI Logo
|
23 |
|
24 | - The BIMI (Brand Indicators for Message Identification) is a new specification that enables the use of brand-controlled logo within supporting email clients, more info: https://bimigroup.org/
|
25 | - in repo - [kiwi.svg](data/bimi/kiwi.svg)
|
26 | - after deploy - https://static-data.kiwi.com/bimi/kiwi.svg
|
27 |
|
28 | ## How to use it
|
29 |
|
30 | ### build time - as npm package
|
31 |
|
32 | - `yarn add @kiwicom/static-data` for install from npm
|
33 | - installing from GitLab is also supported with deploy token
|
34 | `git+https://<token-name>:<token>@gitlab.skypicker.com/frontend/static-data.git#{branch|tag}`
|
35 |
|
36 | ### runtime
|
37 |
|
38 | - data are available on https://static-data.kiwi.com (e.g. https://static-data.kiwi.com/airlineTerms.json)
|
39 | - published data should be automatically available on unpkg https://unpkg.com/browse/@kiwicom/static-data/
|
40 | - published data should be automatically available on https://jspm.io/
|
41 |
|
42 | ## Notes:
|
43 |
|
44 | - We are considering to move languages.json to https://gitlab.skypicker.com/frontend/eloquent
|