1.0.4 • Published 5 years ago
search-nearby-customers v1.0.4
search-nearby-customers
A library to find a list of the users whose location are nearby (you can specify the distance in km) a specific central GPS co-ordinate from a given data file.
Example
const filterByDistance = require('search-nearby-customers');
filterByDistance('./data.txt', 100, [53.339428, -6.257664])
.then(filteredCustomers => console.log(filteredCustomers));