cloudinary-uploader
v1.0.2
Published
<p>CloudinaryUploader class for uploading and deleting files on CDN Cloudinary<br />Usage example:<br /> <code>js cu = new CloudinaryUploader({remoteFolder: 'w3/', localFolder: 'images/'}); cu.deleteFolder(cu.remoteFolder, function()
Downloads
4
Readme
CloudinaryUploader.js
Summary
constructor:
Syntax
new CloudinaryUploader({Object}, {String}, {String})
Parameters
{Object} options
{String} options.remoteFolder
{String} options.localFolder
Summary
method: uploadFile
Syntax
Parameters
{String} file
file name with extension
{Function} callback
callback(error, result)
Summary
method: uploadFiles
Syntax
Parameters
{Object}, options
can use options from constructor
{Function} callback
callback(error, result)
Summary
method: uploadFilesParallel
Syntax
Parameters
{Object}, options
can use options from constructor
{Function} callback
callback(error, result)
Summary
Syntax
Parameters
{String} folder
remote folder, for example 'test/'
{Function} callback
callback(error, result)