Skip to content

Latest commit

 

History

History
67 lines (50 loc) · 1.91 KB

README.md

File metadata and controls

67 lines (50 loc) · 1.91 KB

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)