Skip to content

Callsign.js is a library for fuzzy querying various radio stations callsign information

License

Notifications You must be signed in to change notification settings

YuYanDev/callsign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | 简体中文

Callsign.js

Callsign.js is a library for fuzzy querying various radio stations callsign information

Downloads Version License

Features

  • 📻 Amateur Radio Callsign Support to query the amateur station callsign attribution
  • ✈️ Aircraft Callsign (Tail Code) Support for querying aircraft callsign (tail code)
  • 🛫 Flight Number Support for querying airline callsign (flight number)

Quick start

via Browser

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Callsign Demo</title>
    <script src="https://unpkg.com/callsign/dist/callsign.min.js"></script>
    <!-- <script src="https://unpkg.com/callsign/dist/callsign.js"></script> -->
  </head>
  <body>
    <script>
      console.log(callsign.getAmateurRadioInfoByCallsign('ab1aa'))
    </script>
  </body>
</html>

via NPM

> npm install callsign
import callsign from 'callsign'
// const callsign = require('callsign/src/node') // via Node.js
console.log(callsign.getAmateurRadioInfoByCallsign('ab1aa'))

Document

Go to view

Contribution

Your contribution is very welcome, you can fork and submit your feature branch directly, in the issue, I will process your submission

License

MIT

Copyright (c) 2019-present, YuYan (BG6TTI)