Returns the image filesize in bytes

await filesize(target)

Examples

const filesize = await imoen.filesize('./picture.png');
if (filesize > 10485760) {
  console.info("This file cannot be processed by Cloudinary")
}