0.3.0-beta • Published 3 years ago

@cloudinary/media-management v0.3.0-beta

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Cloudinary Media Management JS SDK

About

The Cloudinary Media Management JS SDK allows you to quickly and easily integrate your application with Cloudinary. Effortlessly upload and manage your cloud's assets.

Note

This Readme provides basic installation and usage information. For the complete documentation, see the Media Management SDK Guide.

Table of Contents

Version Support

SDK Versionnode 14-16
0.1.0-beta & upV

Installation

npm install @cloudinary/media-management

Usage

Setup

// Import the Media Management library
import cloudinaryMM from '@cloudinary/media-management';

// Config
cloudinaryMM.config({
  cloud_name: 'my_mm_cloud_name',
  api_key: 'my_mm_key',
  api_secret: 'my_mm_secret'
});

Upload

cloudinaryMM.uploader.upload("/home/my_image.jpg").then((result) => {
    console.log(result)
});

Contributions

  • Ensure tests run locally (add test command)
  • Open a PR and ensure Travis tests pass

Get Help

If you run into an issue or have a question, you can either:

About Cloudinary

Cloudinary is a powerful media API for websites and mobile apps alike, Cloudinary enables developers to efficiently manage, transform, optimize, and deliver images and videos through multiple CDNs. Ultimately, viewers enjoy responsive and personalized visual-media experiences—irrespective of the viewing device.

Licence

Released under the MIT license.