{"id":16989286,"url":"https://github.com/ize-302/border-ng-js","last_synced_at":"2026-05-06T01:35:34.807Z","repository":{"id":196380018,"uuid":"695899803","full_name":"ize-302/border-ng-js","owner":"ize-302","description":"A JavaScript package that indicates whether a provided coordinate falls within the borders of Nigeria ","archived":false,"fork":false,"pushed_at":"2023-09-24T20:05:52.000Z","size":403,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T13:09:38.371Z","etag":null,"topics":["border","boundary","coordinates","nigeria"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/border-ng-js?activeTab=readme","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ize-302.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-09-24T15:13:12.000Z","updated_at":"2023-09-26T10:34:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"b592044b-3a31-455e-a555-78c09064a1a3","html_url":"https://github.com/ize-302/border-ng-js","commit_stats":null,"previous_names":["ize-302/border-ng-js"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ize-302/border-ng-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ize-302%2Fborder-ng-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ize-302%2Fborder-ng-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ize-302%2Fborder-ng-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ize-302%2Fborder-ng-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ize-302","download_url":"https://codeload.github.com/ize-302/border-ng-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ize-302%2Fborder-ng-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281069100,"owners_count":26438554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-26T02:00:06.575Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["border","boundary","coordinates","nigeria"],"created_at":"2024-10-14T03:05:59.153Z","updated_at":"2025-10-26T06:48:01.943Z","avatar_url":"https://github.com/ize-302.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🗺️ border-ng-js\n\nA JavaScript package that provides a boolean result, `true` or `false`, indicating whether a provided coordinate falls within the borders of Nigeria 🇳🇬\n\n#### Installation:\n\n```bash\nnpm i border-ng-js\n```\n\n#### Usage:\n\n```bash\n// example.js\nimport checkBoundary from border-ng-js\n\ncheckBoundary(lat, lng) // PS: Latitude must come before longitude\n\n// Practical example\n\nconst check1 = await checkBoundary(2.743751673926603, 7.322015625519072)\nconsole.log(check1) // false\n\nconst check2 = await checkBoundary(6.762809634090966, 3.2435282387767383)\nconsole.log(check2) // true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fize-302%2Fborder-ng-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fize-302%2Fborder-ng-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fize-302%2Fborder-ng-js/lists"}