search-customers
A Node.js module that will search the customers within 100km range of Dublin Area for inviting them for food and drinks.
Installation
npm install search-customers --saveyarn add search-customersbower install search-customers --save
Usage
Javascript
var search_customers = ;var customers_list = search_customers;
Output should be 'customers_list' whose distance is less than orequal to 100KM.
TypeScript
;console.logfind_customerscustomers_records,dublin_latitude,dublin_longitude
Output should be 'customers_list' whose distance is less than orequal to 100KM.
Test
npm run test