Interface has changed since documentation -- Alternative available
The author needs to update the documentation or better yet, fix the code to match the documentation or provide an additional interface that matches the documentation....
The original interface of just supplying two coordinates and returning the distance is what is needed.
Fortunately, there is another package on NPM that provides that exact functionality...
afar -- which has been updated much more recently than this package.... it provided what this package should have.
Thanks for the info, i was trying to figure out GeoDistance, afar is great.
Great, thanks!
Thanks, I was lost in the index.js file! Totally not matching the readme....