@cloudinary/media-management
v0.3.0-beta
Published
Cloudinary js package for media management
Downloads
9
Readme
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
- Installation
- Usage
- Contributions
- [Get Help](#Get Help)
Version Support
| SDK Version | node 14-16 | |-----------------|------------| | 0.1.0-beta & up | V |
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:
- Issues related to the SDK: Open a Github issue.
- Issues related to your account: Open a support ticket
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.