earth-functions

0.0.32 • Public • Published

Earth Functions

Contains many different functions that can be used to measure different aspect of our planet Earth

API

  1. Haversine

Used to measure the distances between 2 points on a sphere using its latitude and longitude pair and the sphere's radius

  1. Polyline

A polyline is a encoded string which contains inside itself a serial of connecting points, whereas each point is a pair of latitude and longitude

  1. Lapse rate

Used to measure the change in temperature at two different altitudes

Ultilities

  1. Unit conversions
  • Degree from/to radians
  • Celcius from/to Fahrenheit

Package Sidebar

Install

npm i earth-functions

Weekly Downloads

7

Version

0.0.32

License

MIT

Last publish

Collaborators

  • blackevil245