@ukab/storage-image
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

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',
});

Dependencies (0)

    Dev Dependencies (7)

    Package Sidebar

    Install

    npm i @ukab/storage-image

    Weekly Downloads

    1

    Version

    0.2.1

    License

    UNLICENSED

    Unpacked Size

    23.8 kB

    Total Files

    19

    Last publish

    Collaborators

    • bitnbytes