@ukab/storage-image
v0.2.1
Published
Ukab Ecosystem storage
Downloads
1
Maintainers
Readme
Ukab Image Storage
The library is compitable with both ESM and CommonJS.
Usage
Simple usage
const { storage } = require('@ukab/storage');
const { image } = require('@ukab/storage-image');
const storage = ukab.storage();
image(storage, file, {
folder: 'images',
thumbnail: {
with: 200,
},
width: 1080,
quality: 80,
format: 'jpeg',
driver: 'default',
access: 'public',
});