Skip to content
Callsign.js is a library for fuzzy querying various radio stations callsign information
JavaScript HTML
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
dist fix: fix Chinese TailCode not work && API error Console Jul 24, 2019
docs
example
src fix: fix Chinese TailCode not work && API error Console Jul 24, 2019
tools
.babelrc
.gitignore
LICENSE Initial commit Jul 18, 2019
README.md fix: Change API name Jul 23, 2019
README.zh-CN.md
package-lock.json
package.json 1.0.3 Jul 24, 2019

README.md

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)

You can’t perform that action at this time.