1.0.0 • Published 5 years ago

biz_2_credit v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

biz_2_credit

biz_2_credit is a js library to invite customers/ users who are within a particular reach of a source.

Installation

npm install biz_2_credit

Usage

import * from biz_2_credit
import { getUsers } from biz_2_credit;

biz_2_credit.getUsers(path, source, distance);

//path : path of the .txt file.
//source : lat and long of the source.
//distance: max distance to be invited in mtrs.


let arr = getUsers("./customer.txt", {latitude: 53.339428, longitude: -6.257664}, 100000);

console.log(arr);