1.2.0 • Published 4 years ago
find-nearest-customers v1.2.0
How to use the package? This fetched all the customers which are within a 100 KM range of dublin.
var sendingDinnerInvite = require('find-nearest-customers');
sendingDinnerInvite.getCustomersInRadius({ file_path : "Complete file path" }).then((customerList) => { console.log(customerList); }).catch((err) => { console.log(err); })
#If we are not sending file_path in options then a demo file will be used.