1.0.0 β€’ Published 2 years ago

border-ng-js v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

πŸ—ΊοΈ border-ng-js

A JavaScript package that provides a boolean result, true or false, indicating whether a provided coordinate falls within the borders of Nigeria πŸ‡³πŸ‡¬

Installation:

npm i border-ng-js

Usage:

// example.js
import checkBoundary from border-ng-js

checkBoundary(lat, lng) // PS: Latitude must come before longitude

// Practical example

const check1 = await checkBoundary(2.743751673926603, 7.322015625519072)
console.log(check1) // false

const check2 = await checkBoundary(6.762809634090966, 3.2435282387767383)
console.log(check2) // true
1.0.0

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago