2.5.2 • Published 3 months ago

geospatial-toolkit v2.5.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

A Node.js package that provides instant access to the user's current location. Simplify location-based development with a lightweight and easy-to-integrate solution, ideal for applications that require real-time geospatial data.

Installation

npm:

npm install geospatial-toolkit

Getting started with geospatial-toolkit

Here is an example of a basic app using this package:

const parseLocation = require('geospatial-toolkit');
const IP_DATA_API = "ADD YOUR API HERE";

const getLocation = async () => {

const { ip, longitude, latitude, region, country, city, flag } = await parseLocation(IP_DATA_API);
  
console.log(ip, longitude, latitude, region, country, city, flag);

}

getLocation();

Utilize the ip-data API to leverage the capabilities of this package

2.5.2

3 months ago

2.5.1

3 months ago

2.5.0

6 months ago

2.4.0

6 months ago

2.3.0

6 months ago

2.2.0

6 months ago

2.1.0

6 months ago

2.0.0

6 months ago

1.1.0

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago