EXIF support for Bare.
npm i bare-exif
const exif = require('bare-exif')
const image = require('./my-image.jpg', { with: { type: 'binary' } })
const data = new exif.Data(image)
const orientation = data.entry(exif.constants.tags.ORIENTATION)
orientation.read() // 1 (raw value)
orientation.value() // Top-left (human readable string)
Apache-2.0