0.2.4 • Published 2 years ago

aero-tools v0.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

aero-tools

npm version

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)
);

Available functions

aero-tools#deg2Rad
aero-tools#deg2Dms,
aero-tools#bearing,
aero-tools#meters2Miles,
aero-tools#meters2NauticMiles,
aero-tools#distance,
aero-tools#destinationPoint,
aero-tools#rangeMap,

License

MIT

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

1.0.0

2 years ago