search-customers
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i search-customers

Weekly Downloads

4

Version

1.0.3

License

ISC

Unpacked Size

7.31 kB

Total Files

6

Last publish

Collaborators

  • guptaaman702