Does any one know of a way that I can read file metadata using node.js? For example, I want to read the 'comment' attribute on the 'details' tab of a jpeg file (on a Windows machine). See image below to understand what it is I am trying to read from the file's metadata.
There are a lot of NPM packages for reading EXIF data. For example:
https://www.npmjs.org/package/exif-parser
var parser = require('exif-parser').create(buffer);
var result = parser.parse();
console.log(result);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With