Files
Download a file, or link it straight from the npm package through jsDelivr. Monochrome files use currentColor, so they take the color of the text around them.
In your project
Use Shandong Airlines’s marks and data in your own code, three ways. None needs a key or an account.
- npm packageEvery SVG with the airline’s data, typed, for Node and the browser. Look it up by code or name and get file paths to bundle.
- CDNLink a file straight from the package on jsDelivr or unpkg, with nothing to install. Pin a release line to keep it stable.
- APIFetch the data as JSON, or any mark as SVG or PNG, with monochrome marks in the color you pick.
Install
npm install soaring-symbolsLook it up
import { getAirline, getAssetPath } from 'soaring-symbols'
getAirline('SC')
// {
// name: 'Shandong Airlines',
// iata: 'SC',
// icao: 'CDG',
// callsign: 'SHANDONG',
// country: 'CN',
// branding: { primary_color: '#00315c', … },
// assets: { logo: {…}, icon: {…} },
// …
// }Path to a file
getAssetPath('SC', 'logo')
// 'soaring-symbols/assets/shandong-airlines/logo.svg'