biz2credit-code-challenge-gaurav-pandey-3 API is a npm package to find out the latitude and longitude that lies within a given range (in kms). It means you can check if given cordinates exist in given range from source cordinates.
- Download biz2credit-code-challenge-gaurav-pandey-3 package with the help of npm.
e.g. npm install biz2credit-code-challenge-gaurav-pandey-3
- Import this package inside your javascript file
e.g. const Biz2CreditAPI = require('biz2credit-code-challenge-gaurav-pandey-3');
- Instantiate Biz2CreditAPI function with arguments range and source cordinates
e.g. const biz2CreditInstance = Biz2CreditAPI(distance:number, source-latitude:string, source-longitude:number)