0.2.4 • Published 2 years ago
aero-tools v0.2.4
aero-tools
Some usefull functions to perform aeronautical computations
Installing
Using npm:
$ npm install aero-tools
Using bower:
$ bower install aero-tools
Using yarn:
$ yarn add aero-tools
Using pnpm:
$ pnpm add aero-tools
Using jsDelivr CDN:
<script src="https://cdn.jsdelivr.net/npm/aero-tools/dist/aero-tools.min.js"></script>
Using unpkg CDN:
<script src="https://unpkg.com/aero-tools/dist/aero-tools.min.js"></script>
Example
note: CommonJS usage
In order to gain the TypeScript typings (for intellisense / autocomplete) while using CommonJS imports with require()
use the following approach:
const { destinationPoint } = require("aero-tools");
Search for a destination point, given a start position, distance & bearing
console.log(
destinationPoint(53.1538889, 1.7297222222222224, "096°01′19″", 2000)
);