JSPM

earth-functions

0.0.32
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 18
  • Score
    100M100P100Q38623F
  • License MIT

Functions that are usable for many aspect of our planet Earth

Package Exports

  • earth-functions

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (earth-functions) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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

  2. 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