Skip to content

mounjebrele/geo-location-seeker-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

geo-location-seeker-tool

A complex library encapsulated in a single file for fetching geolocation data based on an IP address or a set of coordinates.

Installation

Install geo-location-seeker-tool using npm:

npm install geo-location-seeker-tool

Usage

Fetching Geolocation by IP

const { fetchGeoLocationByIP } = require('geo-location-seeker-tool');

fetchGeoLocationByIP('8.8.8.8')
.then(data => console.log(data))
.catch(err => console.error(err));

Fetching Geolocation by Coordinates

const { fetchGeoLocationByCoords } = require('geo-location-seeker-tool');

fetchGeoLocationByCoords(40.712776, -74.005974)
.then(data => console.log(data))
.catch(err => console.error(err));

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published