1.0.3 • Published 5 years ago

search-customers v1.0.3

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

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 --save
yarn add search-customers
bower install search-customers --save

Usage

Javascript

var search_customers = require('search-customers');
var customers_list = search_customers.find_customers(customers_records,dublin_latitude,dublin_longitude);
Output should be 'customers_list' whose distance is less than or
equal to 100KM.

TypeScript

import { find_customers } from 'search-customers';
console.log(find_customers(customers_records,dublin_latitude,dublin_longitude))
Output should be 'customers_list' whose distance is less than or
equal to 100KM.

Test

npm run test
1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago