Skip to content

AndrewHaluza/exif-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A NodeJs wrapper around https://exiftool.org/ - Read, Write and Edit Meta Information!

OS dependency

Compatible only with Unix, other OS are not supported

Install

npm install exif-manager

There full exiftool source code as a part of module, so no needed additional installation.

Usage

const ExifTool = require('exif-manager');

/**
 * @method .set()
 * @param {string} path Absolute path to file
 * @param {object} data Data object to modify
 * @param {array} [flags] Flags parameters
 */
const setExample = await ExifTool.set('/dir/image.png', { artist: "Ryan R." });
const ExifTool = require("exif-manager");

/**
 * @method .get()
 * @param {string} path Absolute path to file
 * @param {array} [flags] Flags parameters
 */
const getExample = await ExifTool.get("/dir/image.png", ["-h"]);

ExifTool docs

About

Npm wrapper around exiftool for unix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages