UNPKG

biz2credit-code-challenge-gaurav-pandey-3

Version:

Code Challenge for Gaurav Pandey

18 lines (9 loc) 760 B
# USAGE 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. ## Installation Steps 1. Download biz2credit-code-challenge-gaurav-pandey-3 package with the help of npm. e.g. npm install biz2credit-code-challenge-gaurav-pandey-3 2. Import this package inside your javascript file e.g. const Biz2CreditAPI = require('biz2credit-code-challenge-gaurav-pandey-3'); 3. Instantiate Biz2CreditAPI function with arguments range and source cordinates e.g. const biz2CreditInstance = Biz2CreditAPI(<distance:number>, <source-latitude:string>, <source-longitude:number>)