njj / haversine Goto Github PK
View Code? Open in Web Editor NEWA simple haversine formula module for Node.js
Home Page: http://www.npmjs.org/haversine
A simple haversine formula module for Node.js
Home Page: http://www.npmjs.org/haversine
Can you handle more measurement units being sent? Specifically: inches, feet, meters, centimeters.
Also, would be nice if kilometers was the default.
Thanks!
Do you have a test suite?
you need to add the license text for the mit license. For example, grab the text from http://opensource.org/licenses/MIT
I see that an update was released a few hours ago but there is no changelog. Not sure if you haven't had a chance to write one yet, if so then please disregard this.
Some tips here: http://keepachangelog.com/en/1.0.0/ ...doesn't need to be very elaborate, even basic descriptions of the changes should suffice. If you don't want to commit a separate file then at least documenting them in the GitHub releases would be helpful.
Another thing that I noticed was the lack of license file (apart from the "MIT License" link at the bottom of the readme). I suggest adding one so that people browsing the repo on GitHub can quickly identify the license of the project (more info here: https://github.com/blog/2252-license-now-displayed-on-repository-overview)
Great package by the way, I use it along with the HTML5 Geolocation API for a small feature in an application I develop at work.
So we have
var a = Math.sin(dLat/2) * Math.sin(dLat/2) +
that is the same as Math.sin(dLat/2) * 2 +
, so what is the point of calculating twice?
Enforce linting and code style.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.