soaring-symbols 0.2.0 → 0.2.1

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.
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) | ✅ | ✅ | |
@@ -50,10 +50,10 @@ This file provides an overview of the airlines included in the Soaring Symbols p
50
50
  | [Cebu Pacific](https://www.cebupacificair.com) | PH | 5J | CEB | | ![#0096d6](https://place-hold.it/10x10/0096d6/0096d6.png) | ✅ | ✅ | |
51
51
  | [China Airlines](https://www.china-airlines.com) 🇹🇼 | TW | CI | CAL | SkyTeam | ![#2b3088](https://place-hold.it/10x10/2b3088/2b3088.png) | ☑️ | ☑️ | |
52
52
  | [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) | ☑️ | ✅ | ☑️ |
53
+ | [China Southern Airlines](https://www.csair.com) | CN | CZ | CSN | | ![#0093d0](https://place-hold.it/10x10/0093d0/0093d0.png) | ☑️ | ✅ | ☑️ |
54
54
  | [Condor](https://www.condor.com) | DE | DE | CFG | | ![#000000](https://place-hold.it/10x10/000000/000000.png) | ✅ | ✅ | |
55
55
  | [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) | ✅ | ✅ | |
56
+ | [Delta Air Lines](https://www.delta.com) | US | DL | DAL | SkyTeam | ![#e31837](https://place-hold.it/10x10/e31837/e31837.png) | ✅ | ✅ | |
57
57
  | [easyJet](https://www.easyjet.com) | GB | U2 | EZY | | ![#ff6600](https://place-hold.it/10x10/ff6600/ff6600.png) | ☑️ | ✅ | |
58
58
  | [EgyptAir](https://www.egyptair.com) 🇪🇬 | EG | MS | MSR | Star Alliance | ![#002855](https://place-hold.it/10x10/002855/002855.png) | ✅ | ✅ | |
59
59
  | [Emirates](https://www.emirates.com) 🇦🇪 | AE | EK | UAE | | ![#d71921](https://place-hold.it/10x10/d71921/d71921.png) | ✅ | ✅ | |
@@ -63,7 +63,7 @@ This file provides an overview of the airlines included in the Soaring Symbols p
63
63
  | [EVA Air](https://www.evaair.com) | TW | BR | EVA | Star Alliance | ![#00a64f](https://place-hold.it/10x10/00a64f/00a64f.png) | ☑️ | ✅ | ☑️ |
64
64
  | [Ewa Air](https://ewa-air.com) | FR | ZD | EWR | | ![#e1251b](https://place-hold.it/10x10/e1251b/e1251b.png) | | ✅ | |
65
65
  | [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) | ✅ | ✅ | |
66
+ | [Finnair](https://www.finnair.com) 🇫🇮 | FI | AY | FIN | oneworld | ![#0c0243](https://place-hold.it/10x10/0c0243/0c0243.png) | ✅ | ✅ | |
67
67
  | [Firefly](https://www.fireflyz.com.my) | MY | FY | FFM | | ![#ef5713](https://place-hold.it/10x10/ef5713/ef5713.png) | ✅ | ✅ | |
68
68
  | [Flybe](https://www.flybe.com) | GB | BE | BEE | | ![#5a3f99](https://place-hold.it/10x10/5a3f99/5a3f99.png) | | ✅ | |
69
69
  | [flydubai](https://www.flydubai.com) | AE | FZ | FDB | | ![#ff8200](https://place-hold.it/10x10/ff8200/ff8200.png) | | ☑️ | |
@@ -74,7 +74,7 @@ This file provides an overview of the airlines included in the Soaring Symbols p
74
74
  | [Hainan Airlines](https://www.hainanairlines.com) | CN | HU | CHH | | ![#d71920](https://place-hold.it/10x10/d71920/d71920.png) | ✅ | ✅ | |
75
75
  | [Hawaiian Airlines](https://www.hawaiianairlines.com) | US | HA | HAL | oneworld | ![#4e2582](https://place-hold.it/10x10/4e2582/4e2582.png) | ☑️ | ☑️ | |
76
76
  | [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 | | ✅ | ✅ | |
77
+ | [Iberia](https://www.iberia.com) 🇪🇸 | ES | IB | IBE | oneworld | ![#dc1c2e](https://place-hold.it/10x10/dc1c2e/dc1c2e.png) | ✅ | ✅ | |
78
78
  | [Icelandair](https://www.icelandair.com) 🇮🇸 | IS | FI | ICE | | ![#0c0243](https://place-hold.it/10x10/0c0243/0c0243.png) | ✅ | ✅ | ✅ |
79
79
  | [IndiGo](https://www.goindigo.in) | IN | 6E | IGO | | ![#001b94](https://place-hold.it/10x10/001b94/001b94.png) | ✅ | ✅ | |
80
80
  | [ITA Airways](https://www.ita-airways.com) 🇮🇹 | IT | AZ | ITY | Star Alliance | ![#006643](https://place-hold.it/10x10/006643/006643.png) | | ☑️ | |
@@ -105,7 +105,7 @@ This file provides an overview of the airlines included in the Soaring Symbols p
105
105
  | [Peach Aviation](https://www.flypeach.com) | JP | MM | APJ | | ![#9b308c](https://place-hold.it/10x10/9b308c/9b308c.png) | | ✅ | |
106
106
  | [Pegasus Airlines](https://www.flypgs.com) | TR | PC | PGT | | ![#fdb913](https://place-hold.it/10x10/fdb913/fdb913.png) | ✅ | ✅ | |
107
107
  | [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 | | ☑️ | ✅ | |
108
+ | [Qantas](https://www.qantas.com) 🇦🇺 | AU | QF | QFA | oneworld | ![#e40000](https://place-hold.it/10x10/e40000/e40000.png) | ☑️ | ✅ | |
109
109
  | [Qatar Airways](https://www.qatarairways.com) 🇶🇦 | QA | QR | QTR | oneworld | ![#662046](https://place-hold.it/10x10/662046/662046.png) | ✅ | ✅ | |
110
110
  | [Riyadh Air](https://www.riyadhair.com) 🇸🇦 | SA | RX | RXI | | ![#240852](https://place-hold.it/10x10/240852/240852.png) | ✅ | ✅ | |
111
111
  | [Royal Air Maroc](https://www.royalairmaroc.com) 🇲🇦 | MA | AT | RAM | SkyTeam | ![#c20831](https://place-hold.it/10x10/c20831/c20831.png) | ✅ | ✅ | ☑️ |
@@ -124,7 +124,7 @@ This file provides an overview of the airlines included in the Soaring Symbols p
124
124
  | [T'way Air](https://www.twayair.com) | KR | TW | TWB | | ![#d22c25](https://place-hold.it/10x10/d22c25/d22c25.png) | | ✅ | |
125
125
  | [TAP Air Portugal](https://www.tapairportugal.com) 🇵🇹 | PT | TP | TAP | Star Alliance | ![#bfd730](https://place-hold.it/10x10/bfd730/bfd730.png) | ☑️ | ☑️ | |
126
126
  | [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) | ☑️ | ✅ | |
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) | ✅ | ✅ | |
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",
@@ -118,12 +123,16 @@ The object returned by `getAirline()` and found in the array from `listAirlines(
118
123
  | `name` | `string` | Full airline name. |
119
124
  | `iata` | `string` | 2-character IATA code. |
120
125
  | `icao` | `string` | 3-letter ICAO code. |
126
+ | `callsign` | `string?` | ICAO radiotelephony callsign, uppercase, e.g. `"VIET NAM AIRLINES"`. |
121
127
  | `country` | `string` | ISO 3166-1 alpha-2 code; comma-separated when the airline belongs to several. |
122
128
  | `slug` | `string` | URL-friendly name, also the asset folder name. |
123
129
  | `website` | `string?` | Official website. |
124
130
  | `flag_carrier` | `boolean?` | `true` for a national flag carrier. |
125
131
  | `alliance` | `string?` | `"oneworld"`, `"SkyTeam"` or `"Star Alliance"`. |
132
+ | `hubs` | `string[]?` | IATA codes of its hub airports, e.g. `["HAN", "SGN"]`. Low-cost carriers often have bases rather than hubs, and none listed. |
133
+ | `founded` | `number?` | Year founded, counting from the predecessor its history starts with (e.g. 1956 for Vietnam Airlines). |
126
134
  | `defunct` | `boolean?` | `true` if the airline has ceased operations. |
135
+ | `ceased` | `number?` | Year a defunct airline ceased operations. |
127
136
  | `vectorized` | `boolean?` | `true` if the SVG was vectorized by hand. |
128
137
  | `branding` | `object?` | `primary_color`, `tagline` and `guidelines` (link to the brand guidelines), each optional. |
129
138
  | `assets` | `object` | One [`AssetInfo`](#assetinfo) per available type (`icon`, `logo`, `tail`). Missing types have no key. |
package/README.md CHANGED
@@ -13,7 +13,7 @@ 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
 
@@ -53,6 +53,8 @@ bun add soaring-symbols
53
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]|
54
54
  | [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) |
55
55
 
56
+ 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.
57
+
56
58
  ### CDN
57
59
 
58
60
  Link any mark straight from the npm package through jsDelivr, with nothing to install. `<slug>` is the airline's name in lowercase with hyphens (e.g. `vietnam-airlines`, see [AIRLINES.md](./AIRLINES.md)); swap `logo` for `icon` or `tail` to get the other marks.