1.3.2 • Published 3 months ago

gps-fahad v1.3.2

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

GPS Fahad

Description

GPS Fahad is a Node.js library that leverages Puppeteer to interact with Google Maps and retrieve various data, primarily focusing on calculating distances between cities.

Installation

To install GPS Fahad, you can use npm:

npm install gps-fahad


### Node.js Application

To use GPS Fahad in your Node.js application:

1. Install the library via npm:

npm install gps-fahad

2
## Usage

const { getDistanceBetweenCities } = require('gps-fahad');
Call the getDistanceBetweenCities function with the origin and destination cities as arguments:
const origin = "New York";
const destination = "Los Angeles";
try {
  const distance = await getDistanceBetweenCities(origin, destination);
  console.log("Distance:", distance);
} catch (error) {
  console.error("Error:", error);
}
1.3.2

3 months ago

1.3.1

3 months ago

1.2.0

3 months ago

1.1.0

3 months ago

1.0.9

3 months ago

1.0.8

3 months ago

1.0.7

3 months ago

1.0.5

3 months ago

1.0.4

3 months ago

1.0.3

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago