soaring-symbols 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/AIRLINES.md +23 -23
  2. package/API.md +35 -15
  3. package/README.md +17 -9
  4. package/dist/airlines.json +1 -3779
  5. package/dist/assets/air-china/logo.svg +1 -1
  6. package/dist/assets/air-france/icon.svg +1 -1
  7. package/dist/assets/air-france/logo.svg +1 -1
  8. package/dist/assets/air-india/icon.svg +1 -1
  9. package/dist/assets/air-india/logo.svg +1 -1
  10. package/dist/assets/airasia-cambodia/logo-mono.svg +1 -0
  11. package/dist/assets/airasia-cambodia/logo.svg +1 -0
  12. package/dist/assets/austrian-airlines/logo.svg +1 -1
  13. package/dist/assets/avianca-costa-rica/icon-mono.svg +1 -0
  14. package/dist/assets/avianca-costa-rica/icon.svg +1 -0
  15. package/dist/assets/avianca-costa-rica/logo-mono.svg +1 -0
  16. package/dist/assets/avianca-costa-rica/logo.svg +1 -0
  17. package/dist/assets/avianca-ecuador/icon-mono.svg +1 -0
  18. package/dist/assets/avianca-ecuador/icon.svg +1 -0
  19. package/dist/assets/avianca-ecuador/logo-mono.svg +1 -0
  20. package/dist/assets/avianca-ecuador/logo.svg +1 -0
  21. package/dist/assets/avianca-el-salvador/icon-mono.svg +1 -0
  22. package/dist/assets/avianca-el-salvador/icon.svg +1 -0
  23. package/dist/assets/avianca-el-salvador/logo-mono.svg +1 -0
  24. package/dist/assets/avianca-el-salvador/logo.svg +1 -0
  25. package/dist/assets/british-airways/logo.svg +1 -1
  26. package/dist/assets/china-airlines/icon.svg +1 -1
  27. package/dist/assets/china-airlines/logo.svg +1 -1
  28. package/dist/assets/china-southern-airlines/icon.svg +1 -1
  29. package/dist/assets/china-southern-airlines/logo.svg +1 -1
  30. package/dist/assets/china-southern-airlines/tail.svg +1 -1
  31. package/dist/assets/condor/icon.svg +1 -1
  32. package/dist/assets/condor/logo.svg +1 -1
  33. package/dist/assets/easyjet/icon.svg +1 -1
  34. package/dist/assets/easyjet/logo.svg +1 -1
  35. package/dist/assets/eva-air/logo.svg +1 -1
  36. package/dist/assets/eva-air/tail.svg +1 -1
  37. package/dist/assets/indonesia-airasia/logo-mono.svg +1 -0
  38. package/dist/assets/indonesia-airasia/logo.svg +1 -0
  39. package/dist/assets/jetstar-japan/icon-mono.svg +1 -0
  40. package/dist/assets/jetstar-japan/icon.svg +1 -0
  41. package/dist/assets/jetstar-japan/logo-mono.svg +1 -0
  42. package/dist/assets/jetstar-japan/logo.svg +1 -0
  43. package/dist/assets/latam-airlines-brasil/icon-mono.svg +1 -0
  44. package/dist/assets/latam-airlines-brasil/icon.svg +1 -0
  45. package/dist/assets/latam-airlines-brasil/logo-mono.svg +1 -0
  46. package/dist/assets/latam-airlines-brasil/logo.svg +1 -0
  47. package/dist/assets/latam-airlines-colombia/icon-mono.svg +1 -0
  48. package/dist/assets/latam-airlines-colombia/icon.svg +1 -0
  49. package/dist/assets/latam-airlines-colombia/logo-mono.svg +1 -0
  50. package/dist/assets/latam-airlines-colombia/logo.svg +1 -0
  51. package/dist/assets/latam-airlines-ecuador/icon-mono.svg +1 -0
  52. package/dist/assets/latam-airlines-ecuador/icon.svg +1 -0
  53. package/dist/assets/latam-airlines-ecuador/logo-mono.svg +1 -0
  54. package/dist/assets/latam-airlines-ecuador/logo.svg +1 -0
  55. package/dist/assets/latam-airlines-paraguay/icon-mono.svg +1 -0
  56. package/dist/assets/latam-airlines-paraguay/icon.svg +1 -0
  57. package/dist/assets/latam-airlines-paraguay/logo-mono.svg +1 -0
  58. package/dist/assets/latam-airlines-paraguay/logo.svg +1 -0
  59. package/dist/assets/latam-airlines-peru/icon-mono.svg +1 -0
  60. package/dist/assets/latam-airlines-peru/icon.svg +1 -0
  61. package/dist/assets/latam-airlines-peru/logo-mono.svg +1 -0
  62. package/dist/assets/latam-airlines-peru/logo.svg +1 -0
  63. package/dist/assets/norwegian-air-shuttle/icon.svg +1 -1
  64. package/dist/assets/philippines-airasia/logo-mono.svg +1 -0
  65. package/dist/assets/philippines-airasia/logo.svg +1 -0
  66. package/dist/assets/qantas/logo.svg +1 -1
  67. package/dist/assets/sas-connect/logo-mono.svg +1 -0
  68. package/dist/assets/sas-connect/logo.svg +1 -0
  69. package/dist/assets/thai-airasia/logo-mono.svg +1 -0
  70. package/dist/assets/thai-airasia/logo.svg +1 -0
  71. package/dist/assets/thai-airways/icon.svg +1 -1
  72. package/dist/assets/vueling/logo.svg +1 -1
  73. package/dist/assets/westjet/icon.svg +1 -1
  74. package/dist/assets/wizz-air-abu-dhabi/logo-mono.svg +1 -0
  75. package/dist/assets/wizz-air-abu-dhabi/logo.svg +1 -0
  76. package/dist/assets/wizz-air-uk/logo-mono.svg +1 -0
  77. package/dist/assets/wizz-air-uk/logo.svg +1 -0
  78. package/dist/index.cjs +16 -3
  79. package/dist/index.d.cts +20 -11
  80. package/dist/index.d.ts +20 -11
  81. package/dist/index.js +16 -3
  82. package/package.json +3 -1
package/AIRLINES.md CHANGED
@@ -14,7 +14,7 @@ This file provides an overview of the airlines included in the Soaring Symbols p
14
14
  | [Air Astana](https://airastana.com) 🇰🇿 | KZ | KC | KZR | | ![#a48c5d](https://place-hold.it/10x10/a48c5d/a48c5d.png) | ✅ | ✅ | |
15
15
  | [Air Berlin](https://www.airberlin.com) | DE | AB | BER | oneworld | ![#cc2234](https://place-hold.it/10x10/cc2234/cc2234.png) | ✅ | ✅ | |
16
16
  | [Air Canada](https://www.aircanada.com) 🇨🇦 | CA | AC | ACA | Star Alliance | ![#f01428](https://place-hold.it/10x10/f01428/f01428.png) | ✅ | ✅ | |
17
- | [Air China](https://www.airchina.com) 🇨🇳 | CN | CA | CCA | Star Alliance | ![#ED1C24](https://place-hold.it/10x10/ED1C24/ED1C24.png) | ✅ | ✅ | |
17
+ | [Air China](https://www.airchina.com) 🇨🇳 | CN | CA | CCA | Star Alliance | ![#ed1c24](https://place-hold.it/10x10/ed1c24/ed1c24.png) | ✅ | ✅ | |
18
18
  | [Air Dolomiti](https://www.airdolomiti.eu) | IT | EN | DLA | | ![#009eb3](https://place-hold.it/10x10/009eb3/009eb3.png) | ✅ | ✅ | |
19
19
  | [Air Europa](https://www.aireuropa.com) | ES | UX | AEA | SkyTeam | ![#006fde](https://place-hold.it/10x10/006fde/006fde.png) | ✅ | ✅ | |
20
20
  | [Air France](https://airfrance.com) 🇫🇷 | FR | AF | AFR | SkyTeam | ![#051039](https://place-hold.it/10x10/051039/051039.png) | ✅ | ✅ | |
@@ -24,10 +24,7 @@ This file provides an overview of the airlines included in the Soaring Symbols p
24
24
  | [Air Serbia](https://www.airserbia.com) 🇷🇸 | RS | JU | ASL | | ![#0e203f](https://place-hold.it/10x10/0e203f/0e203f.png) | ✅ | ✅ | |
25
25
  | [Air Transat](https://airtransat.com) | CA | TS | TSC | | ![#172b54](https://place-hold.it/10x10/172b54/172b54.png) | ✅ | ✅ | |
26
26
  | [AirAsia](https://www.airasia.com) | MY | AK | AXM | | ![#ff0000](https://place-hold.it/10x10/ff0000/ff0000.png) | | ✅ | |
27
- | AirAsia Cambodia | KH | KT | KTC | | ![#ff0000](https://place-hold.it/10x10/ff0000/ff0000.png) | | ✅ | |
28
- | Thai AirAsia | TH | FD | AIQ | | ![#ff0000](https://place-hold.it/10x10/ff0000/ff0000.png) | | ✅ | |
29
- | Indonesia AirAsia | ID | QZ | AWQ | | ![#ff0000](https://place-hold.it/10x10/ff0000/ff0000.png) | | ✅ | |
30
- | Philippines AirAsia | PH | Z2 | APG | | ![#ff0000](https://place-hold.it/10x10/ff0000/ff0000.png) | | ✅ | |
27
+ | [AirAsia Cambodia](https://www.airasia.com) | KH | KT | KTC | | ![#ff0000](https://place-hold.it/10x10/ff0000/ff0000.png) | | ✅ | |
31
28
  | [airBaltic](https://www.airbaltic.com) 🇱🇻 | LV | BT | BTI | | ![#152649](https://place-hold.it/10x10/152649/152649.png) | | ✅ | |
32
29
  | [Akasa Air](https://www.akasaair.com) | IN | QP | AKJ | | ![#ff6300](https://place-hold.it/10x10/ff6300/ff6300.png) | ✅ | ✅ | |
33
30
  | [Alaska Airlines](https://www.alaskaair.com) | US | AS | ASA | oneworld | ![#01426a](https://place-hold.it/10x10/01426a/01426a.png) | | ✅ | |
@@ -37,9 +34,9 @@ This file provides an overview of the airlines included in the Soaring Symbols p
37
34
  | [Atlantic Airways](https://www.atlanticairways.com) 🇫🇴 | FO | RC | FLI | | ![#004c93](https://place-hold.it/10x10/004c93/004c93.png) | ✅ | ✅ | |
38
35
  | [Austrian Airlines](https://www.austrian.com) 🇦🇹 | AT | OS | AUA | Star Alliance | ![#d81824](https://place-hold.it/10x10/d81824/d81824.png) | ✅ | ☑️ | |
39
36
  | [avianca](https://www.avianca.com) 🇨🇴 | CO | AV | AVA | Star Alliance | ![#ff0000](https://place-hold.it/10x10/ff0000/ff0000.png) | ✅ | ✅ | |
40
- | Avianca Costa Rica 🇨🇷 | CR | LR | LRC | | ![#ff0000](https://place-hold.it/10x10/ff0000/ff0000.png) | ✅ | ✅ | |
41
- | Avianca Ecuador | EC | 2K | GLG | | ![#ff0000](https://place-hold.it/10x10/ff0000/ff0000.png) | ✅ | ✅ | |
42
- | Avianca El Salvador 🇸🇻 | SV | TA | TAI | | ![#ff0000](https://place-hold.it/10x10/ff0000/ff0000.png) | ✅ | ✅ | |
37
+ | [Avianca Costa Rica](https://www.avianca.com) 🇨🇷 | CR | LR | LRC | | ![#ff0000](https://place-hold.it/10x10/ff0000/ff0000.png) | ✅ | ✅ | |
38
+ | [Avianca Ecuador](https://www.avianca.com) | EC | 2K | GLG | | ![#ff0000](https://place-hold.it/10x10/ff0000/ff0000.png) | ✅ | ✅ | |
39
+ | [Avianca El Salvador](https://www.avianca.com) 🇸🇻 | SV | TA | TAI | | ![#ff0000](https://place-hold.it/10x10/ff0000/ff0000.png) | ✅ | ✅ | |
43
40
  | [Azerbaijan Airlines](https://azal.az) 🇦🇿 | AZ | J2 | AHY | | ![#082e6a](https://place-hold.it/10x10/082e6a/082e6a.png) | ✅ | ✅ | |
44
41
  | [Azul](https://www.voeazul.com.br) | BR | AD | AZU | | ![#005baa](https://place-hold.it/10x10/005baa/005baa.png) | ☑️ | ☑️ | |
45
42
  | [Bamboo Airways](https://www.bambooairways.com) | VN | QH | BAV | | ![#64ae53](https://place-hold.it/10x10/64ae53/64ae53.png) | ☑️ | ☑️ | |
@@ -50,10 +47,10 @@ This file provides an overview of the airlines included in the Soaring Symbols p
50
47
  | [Cebu Pacific](https://www.cebupacificair.com) | PH | 5J | CEB | | ![#0096d6](https://place-hold.it/10x10/0096d6/0096d6.png) | ✅ | ✅ | |
51
48
  | [China Airlines](https://www.china-airlines.com) 🇹🇼 | TW | CI | CAL | SkyTeam | ![#2b3088](https://place-hold.it/10x10/2b3088/2b3088.png) | ☑️ | ☑️ | |
52
49
  | [China Eastern Airlines](https://www.ceair.com) | CN | MU | CES | SkyTeam | ![#1a4fa3](https://place-hold.it/10x10/1a4fa3/1a4fa3.png) | ☑️ | ☑️ | |
53
- | [China Southern Airlines](https://www.csair.com) | CN | CZ | CSN | | ![#0093D0](https://place-hold.it/10x10/0093D0/0093D0.png) | ☑️ | ✅ | ☑️ |
50
+ | [China Southern Airlines](https://www.csair.com) | CN | CZ | CSN | | ![#0093d0](https://place-hold.it/10x10/0093d0/0093d0.png) | ☑️ | ✅ | ☑️ |
54
51
  | [Condor](https://www.condor.com) | DE | DE | CFG | | ![#000000](https://place-hold.it/10x10/000000/000000.png) | ✅ | ✅ | |
55
52
  | [Copa Airlines](https://www.copaair.com) 🇵🇦 | PA | CM | CMP | Star Alliance | ![#0032a0](https://place-hold.it/10x10/0032a0/0032a0.png) | ✅ | ✅ | |
56
- | [Delta Air Lines](https://www.delta.com) | US | DL | DAL | SkyTeam | ![#E31837](https://place-hold.it/10x10/E31837/E31837.png) | ✅ | ✅ | |
53
+ | [Delta Air Lines](https://www.delta.com) | US | DL | DAL | SkyTeam | ![#e31837](https://place-hold.it/10x10/e31837/e31837.png) | ✅ | ✅ | |
57
54
  | [easyJet](https://www.easyjet.com) | GB | U2 | EZY | | ![#ff6600](https://place-hold.it/10x10/ff6600/ff6600.png) | ☑️ | ✅ | |
58
55
  | [EgyptAir](https://www.egyptair.com) 🇪🇬 | EG | MS | MSR | Star Alliance | ![#002855](https://place-hold.it/10x10/002855/002855.png) | ✅ | ✅ | |
59
56
  | [Emirates](https://www.emirates.com) 🇦🇪 | AE | EK | UAE | | ![#d71921](https://place-hold.it/10x10/d71921/d71921.png) | ✅ | ✅ | |
@@ -63,7 +60,7 @@ This file provides an overview of the airlines included in the Soaring Symbols p
63
60
  | [EVA Air](https://www.evaair.com) | TW | BR | EVA | Star Alliance | ![#00a64f](https://place-hold.it/10x10/00a64f/00a64f.png) | ☑️ | ✅ | ☑️ |
64
61
  | [Ewa Air](https://ewa-air.com) | FR | ZD | EWR | | ![#e1251b](https://place-hold.it/10x10/e1251b/e1251b.png) | | ✅ | |
65
62
  | [Fiji Airways](https://www.fijiairways.com) 🇫🇯 | FJ | FJ | FJI | oneworld | ![#473729](https://place-hold.it/10x10/473729/473729.png) | ✅ | ✅ | |
66
- | [Finnair](http://www.finnair.com) 🇫🇮 | FI | AY | FIN | oneworld | ![#0c0243](https://place-hold.it/10x10/0c0243/0c0243.png) | ✅ | ✅ | |
63
+ | [Finnair](https://www.finnair.com) 🇫🇮 | FI | AY | FIN | oneworld | ![#0c0243](https://place-hold.it/10x10/0c0243/0c0243.png) | ✅ | ✅ | |
67
64
  | [Firefly](https://www.fireflyz.com.my) | MY | FY | FFM | | ![#ef5713](https://place-hold.it/10x10/ef5713/ef5713.png) | ✅ | ✅ | |
68
65
  | [Flybe](https://www.flybe.com) | GB | BE | BEE | | ![#5a3f99](https://place-hold.it/10x10/5a3f99/5a3f99.png) | | ✅ | |
69
66
  | [flydubai](https://www.flydubai.com) | AE | FZ | FDB | | ![#ff8200](https://place-hold.it/10x10/ff8200/ff8200.png) | | ☑️ | |
@@ -74,25 +71,26 @@ This file provides an overview of the airlines included in the Soaring Symbols p
74
71
  | [Hainan Airlines](https://www.hainanairlines.com) | CN | HU | CHH | | ![#d71920](https://place-hold.it/10x10/d71920/d71920.png) | ✅ | ✅ | |
75
72
  | [Hawaiian Airlines](https://www.hawaiianairlines.com) | US | HA | HAL | oneworld | ![#4e2582](https://place-hold.it/10x10/4e2582/4e2582.png) | ☑️ | ☑️ | |
76
73
  | [HK Express](https://www.hkexpress.com) | HK | UO | HKE | | ![#702b91](https://place-hold.it/10x10/702b91/702b91.png) | ✅ | ✅ | |
77
- | [Iberia](https://www.iberia.com) 🇪🇸 | ES | IB | IBE | oneworld | | ✅ | ✅ | |
74
+ | [Iberia](https://www.iberia.com) 🇪🇸 | ES | IB | IBE | oneworld | ![#dc1c2e](https://place-hold.it/10x10/dc1c2e/dc1c2e.png) | ✅ | ✅ | |
78
75
  | [Icelandair](https://www.icelandair.com) 🇮🇸 | IS | FI | ICE | | ![#0c0243](https://place-hold.it/10x10/0c0243/0c0243.png) | ✅ | ✅ | ✅ |
79
76
  | [IndiGo](https://www.goindigo.in) | IN | 6E | IGO | | ![#001b94](https://place-hold.it/10x10/001b94/001b94.png) | ✅ | ✅ | |
77
+ | [Indonesia AirAsia](https://www.airasia.com) | ID | QZ | AWQ | | ![#ff0000](https://place-hold.it/10x10/ff0000/ff0000.png) | | ✅ | |
80
78
  | [ITA Airways](https://www.ita-airways.com) 🇮🇹 | IT | AZ | ITY | Star Alliance | ![#006643](https://place-hold.it/10x10/006643/006643.png) | | ☑️ | |
81
79
  | [Japan Airlines](https://www.jal.co.jp) 🇯🇵 | JP | JL | JAL | oneworld | ![#e50012](https://place-hold.it/10x10/e50012/e50012.png) | ✅ | ✅ | |
82
80
  | [Jet2.com](https://www.jet2.com) | GB | LS | EXS | | ![#d71920](https://place-hold.it/10x10/d71920/d71920.png) | ✅ | ✅ | |
83
81
  | [JetBlue Airways](https://www.jetblue.com) | US | B6 | JBU | | ![#003876](https://place-hold.it/10x10/003876/003876.png) | | ✅ | |
84
82
  | [Jetstar](https://www.jetstar.com) | AU | JQ | JST | | ![#ff5111](https://place-hold.it/10x10/ff5111/ff5111.png) | ✅ | ✅ | |
85
- | Jetstar Japan | JP | GK | JJP | | ![#ff5111](https://place-hold.it/10x10/ff5111/ff5111.png) | ✅ | ✅ | |
83
+ | [Jetstar Japan](https://www.jetstar.com/jp/en/home) | JP | GK | JJP | | ![#ff5111](https://place-hold.it/10x10/ff5111/ff5111.png) | ✅ | ✅ | |
86
84
  | [Kenya Airways](https://www.kenya-airways.com) 🇰🇪 | KE | KQ | KQA | SkyTeam | ![#ed1c24](https://place-hold.it/10x10/ed1c24/ed1c24.png) | ✅ | ✅ | |
87
85
  | [KLM](https://www.klm.com) 🇳🇱 | NL | KL | KLM | SkyTeam | ![#009fd9](https://place-hold.it/10x10/009fd9/009fd9.png) | ✅ | ✅ | |
88
86
  | [Korean Air](https://www.koreanair.com) 🇰🇷 | KR | KE | KAL | | ![#051766](https://place-hold.it/10x10/051766/051766.png) | ✅ | ✅ | |
89
87
  | [Kuwait Airways](https://www.kuwaitairways.com) 🇰🇼 | KW | KU | KAC | | ![#1c285b](https://place-hold.it/10x10/1c285b/1c285b.png) | ✅ | ✅ | |
90
88
  | [LATAM Airlines](https://www.latamairlines.com) | CL | LA | LAN | | ![#1b0088](https://place-hold.it/10x10/1b0088/1b0088.png) | ✅ | ✅ | |
91
- | LATAM Airlines Brasil | BR | JJ | TAM | | ![#1b0088](https://place-hold.it/10x10/1b0088/1b0088.png) | ✅ | ✅ | |
92
- | LATAM Airlines Colombia | CO | 4C | ARE | | ![#1b0088](https://place-hold.it/10x10/1b0088/1b0088.png) | ✅ | ✅ | |
93
- | LATAM Airlines Ecuador | EC | XL | LNE | | ![#1b0088](https://place-hold.it/10x10/1b0088/1b0088.png) | ✅ | ✅ | |
94
- | LATAM Airlines Perú | PE | LP | LPE | | ![#1b0088](https://place-hold.it/10x10/1b0088/1b0088.png) | ✅ | ✅ | |
95
- | LATAM Airlines Paraguay | PY | PZ | LAP | | ![#1b0088](https://place-hold.it/10x10/1b0088/1b0088.png) | ✅ | ✅ | |
89
+ | [LATAM Airlines Brasil](https://www.latam.com) | BR | JJ | TAM | | ![#1b0088](https://place-hold.it/10x10/1b0088/1b0088.png) | ✅ | ✅ | |
90
+ | [LATAM Airlines Colombia](https://www.latam.com/es_co) | CO | 4C | ARE | | ![#1b0088](https://place-hold.it/10x10/1b0088/1b0088.png) | ✅ | ✅ | |
91
+ | [LATAM Airlines Ecuador](https://www.latamairlines.com) | EC | XL | LNE | | ![#1b0088](https://place-hold.it/10x10/1b0088/1b0088.png) | ✅ | ✅ | |
92
+ | [LATAM Airlines Paraguay](https://www.latam.com/es_py) | PY | PZ | LAP | | ![#1b0088](https://place-hold.it/10x10/1b0088/1b0088.png) | ✅ | ✅ | |
93
+ | [LATAM Airlines Perú](https://www.latam.com) | PE | LP | LPE | | ![#1b0088](https://place-hold.it/10x10/1b0088/1b0088.png) | ✅ | ✅ | |
96
94
  | [Lion Air](https://www.lionair.co.id) | ID | JT | LNI | | ![#ed1b2f](https://place-hold.it/10x10/ed1b2f/ed1b2f.png) | ✅ | ✅ | |
97
95
  | [LOT Polish Airlines](https://www.lot.com) 🇵🇱 | PL | LO | LOT | Star Alliance | ![#252668](https://place-hold.it/10x10/252668/252668.png) | ✅ | ✅ | |
98
96
  | [Lufthansa](https://www.lufthansa.com) 🇩🇪 | DE | LH | DLH | Star Alliance | ![#05164d](https://place-hold.it/10x10/05164d/05164d.png) | ✅ | ✅ | |
@@ -105,15 +103,16 @@ This file provides an overview of the airlines included in the Soaring Symbols p
105
103
  | [Peach Aviation](https://www.flypeach.com) | JP | MM | APJ | | ![#9b308c](https://place-hold.it/10x10/9b308c/9b308c.png) | | ✅ | |
106
104
  | [Pegasus Airlines](https://www.flypgs.com) | TR | PC | PGT | | ![#fdb913](https://place-hold.it/10x10/fdb913/fdb913.png) | ✅ | ✅ | |
107
105
  | [Philippine Airlines](https://www.philippineairlines.com) 🇵🇭 | PH | PR | PAL | | ![#001f60](https://place-hold.it/10x10/001f60/001f60.png) | ✅ | ✅ | |
108
- | [Qantas](https://www.qantas.com) 🇦🇺 | AU | QF | QFA | oneworld | | ☑️ | ✅ | |
106
+ | [Philippines AirAsia](https://www.airasia.com) | PH | Z2 | APG | | ![#ff0000](https://place-hold.it/10x10/ff0000/ff0000.png) | | ✅ | |
107
+ | [Qantas](https://www.qantas.com) 🇦🇺 | AU | QF | QFA | oneworld | ![#e40000](https://place-hold.it/10x10/e40000/e40000.png) | ☑️ | ✅ | |
109
108
  | [Qatar Airways](https://www.qatarairways.com) 🇶🇦 | QA | QR | QTR | oneworld | ![#662046](https://place-hold.it/10x10/662046/662046.png) | ✅ | ✅ | |
110
109
  | [Riyadh Air](https://www.riyadhair.com) 🇸🇦 | SA | RX | RXI | | ![#240852](https://place-hold.it/10x10/240852/240852.png) | ✅ | ✅ | |
111
110
  | [Royal Air Maroc](https://www.royalairmaroc.com) 🇲🇦 | MA | AT | RAM | SkyTeam | ![#c20831](https://place-hold.it/10x10/c20831/c20831.png) | ✅ | ✅ | ☑️ |
112
111
  | [Royal Brunei Airlines](https://www.flyroyalbrunei.com) | BN | BI | RBA | | ![#ffe600](https://place-hold.it/10x10/ffe600/ffe600.png) | | ☑️ | |
113
112
  | [Ryanair](https://www.ryanair.com) | IE | FR | RYR | | ![#073590](https://place-hold.it/10x10/073590/073590.png) | ✅ | ✅ | |
113
+ | [SAS Connect](https://www.flysas.com) | IE | SL | SZS | | ![#000099](https://place-hold.it/10x10/000099/000099.png) | | ✅ | |
114
114
  | [Saudia](https://www.saudia.com) 🇸🇦 | SA | SV | SVA | SkyTeam | ![#0a6937](https://place-hold.it/10x10/0a6937/0a6937.png) | ✅ | ✅ | |
115
115
  | [Scandinavian Airlines](https://www.flysas.com) 🇩🇰 🇳🇴 🇸🇪 | DK,NO,SE | SK | SAS | Star Alliance | ![#000099](https://place-hold.it/10x10/000099/000099.png) | | ✅ | |
116
- | SAS Connect | IE | SL | SZS | | ![#000099](https://place-hold.it/10x10/000099/000099.png) | | ✅ | |
117
116
  | [Scoot](https://www.flyscoot.com) | SG | TR | TGW | Value Alliance | ![#ffe900](https://place-hold.it/10x10/ffe900/ffe900.png) | | ☑️ | |
118
117
  | [Singapore Airlines](https://www.singaporeair.com) 🇸🇬 | SG | SQ | SIA | Star Alliance | ![#232f67](https://place-hold.it/10x10/232f67/232f67.png) | ✅ | ✅ | |
119
118
  | [Southwest Airlines](https://www.southwest.com) | US | WN | SWA | | ![#304cb2](https://place-hold.it/10x10/304cb2/304cb2.png) | ☑️ | ☑️ | |
@@ -124,7 +123,8 @@ This file provides an overview of the airlines included in the Soaring Symbols p
124
123
  | [T'way Air](https://www.twayair.com) | KR | TW | TWB | | ![#d22c25](https://place-hold.it/10x10/d22c25/d22c25.png) | | ✅ | |
125
124
  | [TAP Air Portugal](https://www.tapairportugal.com) 🇵🇹 | PT | TP | TAP | Star Alliance | ![#bfd730](https://place-hold.it/10x10/bfd730/bfd730.png) | ☑️ | ☑️ | |
126
125
  | [TAROM](https://www.tarom.ro) 🇷🇴 | RO | RO | ROT | SkyTeam | ![#003366](https://place-hold.it/10x10/003366/003366.png) | ✅ | ✅ | ✅ |
127
- | [Thai Airways](https://www.thaiairways.com) 🇹🇭 | TH | TG | THA | Star Alliance | ![#306](https://place-hold.it/10x10/306/306.png) | ☑️ | ✅ | |
126
+ | [Thai AirAsia](https://www.airasia.com) | TH | FD | AIQ | | ![#ff0000](https://place-hold.it/10x10/ff0000/ff0000.png) | | ✅ | |
127
+ | [Thai Airways](https://www.thaiairways.com) 🇹🇭 | TH | TG | THA | Star Alliance | ![#330066](https://place-hold.it/10x10/330066/330066.png) | ☑️ | ✅ | |
128
128
  | [Transavia](https://www.transavia.com) | NL | HV | TRA | | ![#00d66c](https://place-hold.it/10x10/00d66c/00d66c.png) | ✅ | ✅ | |
129
129
  | [Turkish Airlines](https://www.turkishairlines.com) 🇹🇷 | TR | TK | THY | Star Alliance | ![#c90019](https://place-hold.it/10x10/c90019/c90019.png) | ✅ | ✅ | |
130
130
  | [United Airlines](https://www.united.com) | US | UA | UAL | Star Alliance | ![#1414d2](https://place-hold.it/10x10/1414d2/1414d2.png) | ✅ | ✅ | |
@@ -139,6 +139,6 @@ This file provides an overview of the airlines included in the Soaring Symbols p
139
139
  | [Vueling](https://www.vueling.com) | ES | VY | VLG | | ![#ffcc00](https://place-hold.it/10x10/ffcc00/ffcc00.png) | | ☑️ | |
140
140
  | [WestJet](https://www.westjet.com) | CA | WS | WJA | | ![#00aaa6](https://place-hold.it/10x10/00aaa6/00aaa6.png) | ✅ | ✅ | |
141
141
  | [Wizz Air](https://www.wizzair.com) | HU | W6 | WZZ | | ![#c6007e](https://place-hold.it/10x10/c6007e/c6007e.png) | | ✅ | |
142
- | Wizz Air Abu Dhabi | AE | 5W | WAZ | | ![#c6007e](https://place-hold.it/10x10/c6007e/c6007e.png) | | ✅ | |
143
- | Wizz Air UK | GB | W9 | WUK | | ![#c6007e](https://place-hold.it/10x10/c6007e/c6007e.png) | | ✅ | |
142
+ | [Wizz Air Abu Dhabi](https://www.wizzair.com) | AE | 5W | WAZ | | ![#c6007e](https://place-hold.it/10x10/c6007e/c6007e.png) | | ✅ | |
143
+ | [Wizz Air UK](https://www.wizzair.com) | GB | W9 | WUK | | ![#c6007e](https://place-hold.it/10x10/c6007e/c6007e.png) | | ✅ | |
144
144
  | [XiamenAir](https://www.xiamenair.com) | CN | MF | CXA | SkyTeam | ![#008cd5](https://place-hold.it/10x10/008cd5/008cd5.png) | ✅ | ✅ | |
package/API.md CHANGED
@@ -27,6 +27,8 @@ const skyTeam = all.filter((airline) => airline.alliance === 'SkyTeam')
27
27
 
28
28
  Finds one airline. `query` is matched, ignoring case and surrounding whitespace, against the IATA code, then the ICAO code, then the slug, then the full name.
29
29
 
30
+ Codes of airlines that ceased operations get reassigned. When a code belongs to both an active airline and a defunct one (`defunct: true`), the code finds the active airline; find the defunct one by its slug or name.
31
+
30
32
  - **Argument:** `query` (string)
31
33
  - **Returns:** `Airline`, or `undefined` if nothing matches.
32
34
 
@@ -92,10 +94,13 @@ The object returned by `getAirline()` and found in the array from `listAirlines(
92
94
  "name": "Vietnam Airlines",
93
95
  "iata": "VN",
94
96
  "icao": "HVN",
97
+ "callsign": "VIET NAM AIRLINES",
95
98
  "country": "VN",
96
99
  "flag_carrier": true,
97
100
  "website": "https://www.vietnamairlines.com",
98
101
  "alliance": "SkyTeam",
102
+ "hubs": ["HAN", "SGN"],
103
+ "founded": 1956,
99
104
  "branding": {
100
105
  "primary_color": "#d99e09",
101
106
  "tagline": "Reach Further",
@@ -113,21 +118,26 @@ The object returned by `getAirline()` and found in the array from `listAirlines(
113
118
  }
114
119
  ```
115
120
 
116
- | Field | Type | Description |
117
- | :------------- | :-------------- | :---------------------------------------------------------------------------------------------------------------------------------- |
118
- | `name` | `string` | Full airline name. |
119
- | `iata` | `string` | 2-character IATA code. |
120
- | `icao` | `string` | 3-letter ICAO code. |
121
- | `country` | `string` | ISO 3166-1 alpha-2 code; comma-separated when the airline belongs to several. |
122
- | `slug` | `string` | URL-friendly name, also the asset folder name. |
123
- | `website` | `string?` | Official website. |
124
- | `flag_carrier` | `boolean?` | `true` for a national flag carrier. |
125
- | `alliance` | `string?` | `"oneworld"`, `"SkyTeam"` or `"Star Alliance"`. |
126
- | `defunct` | `boolean?` | `true` if the airline has ceased operations. |
127
- | `vectorized` | `boolean?` | `true` if the SVG was vectorized by hand. |
128
- | `branding` | `object?` | `primary_color`, `tagline` and `guidelines` (link to the brand guidelines), each optional. |
129
- | `assets` | `object` | One [`AssetInfo`](#assetinfo) per available type (`icon`, `logo`, `tail`). Missing types have no key. |
130
- | `subsidiaries` | `Subsidiary[]?` | Airlines sharing this airline's marks: `name`, `iata`, `icao`, `country`, `flag_carrier?`. They are not returned by `getAirline()`. |
121
+ | Field | Type | Description |
122
+ | :------------- | :---------- | :----------------------------------------------------------------------------------------------------------------------------------- |
123
+ | `name` | `string` | Full airline name. |
124
+ | `iata` | `string` | 2-character IATA code. |
125
+ | `icao` | `string` | 3-letter ICAO code. |
126
+ | `callsign` | `string?` | ICAO radiotelephony callsign, uppercase, e.g. `"VIET NAM AIRLINES"`. |
127
+ | `country` | `string` | ISO 3166-1 alpha-2 code; comma-separated when the airline belongs to several. |
128
+ | `slug` | `string` | URL-friendly name, also the asset folder name. |
129
+ | `website` | `string?` | Official website. |
130
+ | `flag_carrier` | `boolean?` | `true` for a national flag carrier. |
131
+ | `alliance` | `string?` | `"oneworld"`, `"SkyTeam"` or `"Star Alliance"`. |
132
+ | `parent` | `string?` | Slug of the airline that owns this one, e.g. `"airasia"` for Thai AirAsia. |
133
+ | `marks` | `string?` | Slug of the airline whose logos this one uses. The files are still published under this airline's own slug, so nothing else changes. |
134
+ | `hubs` | `string[]?` | IATA codes of its hub airports, e.g. `["HAN", "SGN"]`. Low-cost carriers often have bases rather than hubs, and none listed. |
135
+ | `founded` | `number?` | Year founded, counting from the predecessor its history starts with (e.g. 1956 for Vietnam Airlines). |
136
+ | `defunct` | `boolean?` | `true` if the airline has ceased operations. |
137
+ | `ceased` | `number?` | Year a defunct airline ceased operations. |
138
+ | `vectorized` | `boolean?` | `true` if the SVG was vectorized by hand. |
139
+ | `branding` | `object?` | `primary_color`, `tagline` and `guidelines` (link to the brand guidelines), each optional. |
140
+ | `assets` | `object` | One [`AssetInfo`](#assetinfo) per available type (`icon`, `logo`, `tail`). Missing types have no key. |
131
141
 
132
142
  ### AssetInfo
133
143
 
@@ -151,6 +161,16 @@ assets/<slug>/
151
161
  └── logo-mono.svg # hand-made for a multi-color logo, optional
152
162
  ```
153
163
 
164
+ ## Subsidiaries in 0.2.2
165
+
166
+ `0.2.2` drops the `subsidiaries` field, in a patch release since nothing known reads it. Each airline that used to be listed there is now an entry of its own, with its own codes, country, website and callsign, returned by `listAirlines()` and `getAirline()`. Its `parent` field holds the slug of the airline that owns it.
167
+
168
+ | Up to 0.2.1 | From 0.2.2 |
169
+ | :--------------------------------------- | :----------------------------------------------------------------- |
170
+ | `getAirline('AK').subsidiaries` | `listAirlines().filter((a) => a.parent === 'airasia')` |
171
+ | `getAirline('FD')` returns `undefined` | Returns Thai AirAsia; `getAssetPath('FD', 'logo')` gives its logo. |
172
+ | A subsidiary used its parent's SVG files | It has files under its own slug: `assets/thai-airasia/logo.svg`. |
173
+
154
174
  ## Migrating from the old API
155
175
 
156
176
  Versions up to `0.1.0-alpha.14` exported `getAssets()`, `getAssetContent()`, a default export and a `soaring-symbols/utils` subpath. They are gone; the asset information now ships precomputed in each airline's `assets` field, so the library no longer touches the file system.
package/README.md CHANGED
@@ -13,19 +13,22 @@ The inclusion of monochrome versions will depend on the airline's brand guidelin
13
13
 
14
14
  ## Website
15
15
 
16
- Browse the collection, open a page for any airline to download its marks, and check new SVGs against the contribution guidelines at <https://soaring-symbols.anhthang.workers.dev>. The site's source lives in [soaring-symbols/website](https://github.com/soaring-symbols/website).
16
+ Browse the collection, open a page for any airline to download its marks, and check new SVGs against the contribution guidelines at <https://soaringsymbols.org>. The site's source lives in [soaring-symbols/website](https://github.com/soaring-symbols/website).
17
17
 
18
18
  ## Roadmap
19
19
 
20
20
  - [x] npm package
21
+ - [x] A `branding.primary_color` for every airline
22
+ - [x] jsDelivr CDN
21
23
  - [x] Website with a browsable catalog, a page per airline and an SVG validator
24
+ - [x] JSON API on the website, such as [`/api/airlines/VN`](https://soaringsymbols.org/api/airlines/VN)
22
25
  - [x] Raycast extension
23
- - [x] jsDelivr CDN
24
- - [ ] Iconify icon set, for Iconify, Nuxt Icon, UnoCSS, Tailwind and Astro
25
26
  - [ ] Figma plugin, to search airlines by name or IATA code and drop their marks into designs
26
27
  - [ ] Swift Package, with an asset catalog and a SwiftUI view
27
- - [ ] JSON API on the website, such as `/api/airlines/VN`
28
- - [ ] A `branding.primary_color` for every airline (Iberia and Qantas have none yet)
28
+
29
+ ### Not planned
30
+
31
+ - Iconify icon set: Iconify declined to add the collection, as airline logos are too niche for its users ([iconify/icon-sets#223](https://github.com/iconify/icon-sets/issues/223)). A self-published Iconify JSON would miss what makes Iconify useful (its API, search and auto-installed `@iconify-json` packages), so the SVGs from npm or jsDelivr remain the way to use the marks.
29
32
 
30
33
  Plans for the website itself are tracked in the [website's README](https://github.com/soaring-symbols/website#roadmap).
31
34
 
@@ -47,11 +50,13 @@ bun add soaring-symbols
47
50
 
48
51
  ## Ecosystem
49
52
 
50
- | Tool / Integration | Author |
51
- | :-- | :-- |
52
- | [npm Package](https://www.npmjs.com/package/soaring-symbols) <img src="https://cdn.simpleicons.org/npm/000/CB3837" alt="npm" align=left width=24 height=24 /> | [anhthang]|
53
- | [Raycast Extension](https://www.raycast.com/anhthang/soaring-symbols) <img src="https://cdn.simpleicons.org/raycast/000/FF6363" alt="Raycast" align=left width=24 height=24 /> | [anhthang]|
53
+ | Tool / Integration | Author |
54
+ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | :----------------------------------- |
55
+ | [npm Package](https://www.npmjs.com/package/soaring-symbols) <img src="https://cdn.simpleicons.org/npm/000/CB3837" alt="npm" align=left width=24 height=24 /> | [anhthang] |
54
56
  | [jsDelivr CDN](https://www.jsdelivr.com/package/npm/soaring-symbols) <img src="https://cdn.simpleicons.org/jsdelivr/000/E84D3D" alt="jsDelivr" align=left width=24 height=24 /> | [jsDelivr](https://www.jsdelivr.com) |
57
+ | [Raycast Extension](https://www.raycast.com/anhthang/soaring-symbols) <img src="https://cdn.simpleicons.org/raycast/000/FF6363" alt="Raycast" align=left width=24 height=24 /> | [anhthang] |
58
+
59
+ The Raycast extension also works in launchers that run Raycast extensions, such as [Vicinae](https://www.vicinae.com), [SuperCmd](https://supercmd.sh) and [Tinycast](https://tinycast.dev). See the [ecosystem section on the website](https://soaringsymbols.org/#ecosystem) for how to use each one.
55
60
 
56
61
  ### CDN
57
62
 
@@ -77,10 +82,13 @@ const vna = getAirline('VN')
77
82
  "name": "Vietnam Airlines",
78
83
  "iata": "VN",
79
84
  "icao": "HVN",
85
+ "callsign": "VIET NAM AIRLINES",
80
86
  "country": "VN",
81
87
  "flag_carrier": true,
82
88
  "website": "https://www.vietnamairlines.com",
83
89
  "alliance": "SkyTeam",
90
+ "hubs": ["HAN", "SGN"],
91
+ "founded": 1956,
84
92
  "branding": {
85
93
  "primary_color": "#d99e09",
86
94
  "tagline": "Reach Further",