0.0.4 • Published 1 month ago

geo-location-seeker-tool v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

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));
0.0.3

1 month ago

0.0.4

1 month ago

0.0.2

2 months ago

0.0.1-alpha

2 months ago