# cloudinary-promised **Repository Path**: mirrors_DylanVann/cloudinary-promised ## Basic Information - **Project Name**: cloudinary-promised - **Description**: Wrapper for Cloudinary functions. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-11-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # cloudinary-promised This repo contains a promisified version of some functions of the Cloudinary API. It also does some detection of whether local paths are images or videos to make the API more intuitive. ```ts interface CloudinaryConfig { cloud_name: string; api_key: string; api_secret: string; } export declare const isVideo: (localAbsolutePath: string) => boolean; export declare const uploadFile: (id: string, localAbsolutePath: string) => Promise; export declare const getMetadata: (id: string, localAbsolutePath: string) => Promise; export declare const imageExists: (id: string, config: CloudinaryConfig) => Promise; export declare const videoExists: (id: string, config: CloudinaryConfig) => Promise; export declare const fileExists: (id: string, localAbsolutePath: string, config: CloudinaryConfig) => Promise; export declare const uploadOrGetMetadata: (id: string, localAbsolutePath: string, config: CloudinaryConfig) => Promise; ```