Introduction

Introduction

The express-cloudinary-image-handler package aims to simplify your image management tasks in Express.js applications that use Cloudinary. With just a few lines of code, you can upload and delete images from Cloudinary. The package includes a middleware to assist with image uploads and utility functions for both uploading and deleting images. While the focus is on ease of use, we've also paid attention to efficiency and error handling.

Features

Single or Batch Operations

  • Supports the capability to upload and delete single or multiple images.

Concurrency

  • Utilizes concurrency to speed up operations for multiple image uploads or deletions, reducing overall processing time.

Error Handling

  • Both the image upload and delete utilities are designed to return informative error messages in case of any error.

Image Validation

  • The image upload utility comes with configurable validation options to ensure the images meet specific criteria.