Skip to content

RickyChez/image-geolocation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published