1.0.0 • Published 2 months ago

image-geolocation v1.0.0

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

Image Geolocation

A simple Node.js module to extract geolocation data from image files.

Installation

Install the package via npm:

npm install image-geolocation

Usage

const getImageGeolocation = require('image-geolocation');

const imagePath = 'path/to/your/image.jpg';

getImageGeolocation(imagePath)
    .then(({ latitude, longitude }) => {
        console.log(`Latitude: ${latitude}, Longitude: ${longitude}`);
    })
    .catch(error => {
        console.error('Error:', error.message);
    });

License

This project is licensed under the MIT License - see the LICENSE file for details.

1.0.0

2 months ago