Exiftool-kit
This is a package is exiftool nodejs wrapped version. With this wrapped version, you can read / create / edit / remove image exif / iptc settings very easy.
This package don't depend on any other npm packages, and you may also set your own exiftool binary file as you wish.
installation
$ npm install --save exiftool-kit
how to use
set your own exiftool (not necessary, unless you really wanna set your own exiftool binary)
const ExifTool = const exiftool = pathToYourOwnExifTool
or
const ExifTool = const exiftool = exiftool
read tags
read a single file
const ExifTool = const exiftool = exiftool
read files
const ExifTool = const exiftool = exiftool
read buffer
const ExifTool = const exiftool = exiftool
edit (write | update | remove) tags
write / update tags
const ExifTool = const exiftool = exiftool
remove tags
const ExifTool = const exiftool = exiftool
remove all tags
const ExifTool = const exiftool = exiftool
example
You may check example, to get more detail example code
Note
When you edit tags to a file, this will return the given file name. If you edit tags from a buffer, it will return a updated buffer.