0.0.1 • Published 7 years ago

the-earth v0.0.1

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

A simple module for calculting radians form distance and distance from radians (extacted from a book Getting mean by Simon Holmes).

Installation

$ npm install the-earth

API

var theEarth = require('the-earth')

the theEarth object exposes two methods

theEarth.getDistanceFromRads(rads)

Returns distance calculated from radians

theEarth.getRadsFromDistance(distance)

Returns radians calculated from distance