UNPKG

@kiwicom/static-data

Version:

data used for kiwi.com apps

45 lines (31 loc) 2.65 kB
# Static Data [ ![npm version](https://badge.fury.io/js/%40kiwicom%2Fstatic-data.svg) ](https://badge.fury.io/js/%40kiwicom%2Fstatic-data) ## Data Content | file name | size | expected usage | | --------------------------------------------------------------------------------------------- | :----: | :------------: | | [📄](doc/affiliates.md) [affiliates.json](data/affiliates.json) | small | client side | | [📄](doc/airlineRestrictions.md) [airlineRestrictions.json](data/airlineRestrictions.json) | medium | client side | | [📄](doc/airlines.md) [airlines.json](data/airlines.json) | medium | client side | | [📄](doc/airlineTerms.md) [airlineTerms.json](data/airlineTerms.json) | medium | client side | | [📄](doc/continents.md) [continents.json](data/continents.json) | medium | client side | | [📄](doc/countries.md) [countries.json](data/countries.json) | big | server | | [📄](doc/countryPhonePrefixes.md) [countryPhonePrefixes.json](data/countryPhonePrefixes.json) | medium | client side | | [📄](doc/currencies.md) [currencies.json](data/currencies.json) | medium | client side | | [darwin.json](data/darwin.json) | small | server | | [📄](doc/languages.md) [languages.json](data/languages.json) | medium | server | --- ## BIMI Logo - 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/ - in repo - [kiwi.svg](data/bimi/kiwi.svg) - after deploy - https://static-data.kiwi.com/bimi/kiwi.svg ## How to use it ### build time - as npm package - `yarn add @kiwicom/static-data` for install from npm - installing from GitLab is also supported with deploy token `git+https://<token-name>:<token>@gitlab.skypicker.com/frontend/static-data.git#{branch|tag}` ### runtime - data are available on https://static-data.kiwi.com (e.g. https://static-data.kiwi.com/airlineTerms.json) - published data should be automatically available on unpkg https://unpkg.com/browse/@kiwicom/static-data/ - published data should be automatically available on https://jspm.io/ ## Notes: - We are considering to move languages.json to https://gitlab.skypicker.com/frontend/eloquent