Tests for the sharp package's autoOrient() transformation with subsequent region extraction and rotation, using test images from recurser/exif-orientation-examples.
From the repo's working directory:
npm install
npm run transform
Results will be placed in the output directory.