file-cloud-cloudinary-uploader

0.0.1 • Public • Published

file-cloud-cloudinary-uploader NPM version Build Status Dependency Status Coverage percentage

file uploader for cloudinary

Installation

$ npm install --save file-cloud-cloudinary-uploader

Usage

var fileCloudCloudinaryUploader = require('file-cloud-cloudinary-uploader');
var config = {
  cloud_name: process.env.FCU_CLOUDINARY_NAME,
  api_key: process.env.FCU_CLOUDINARY_API_KEY,
  api_secret: process.env.FCU_CLOUDINARY_API_SECRET
};
fileCloudCloudinaryUploader(function (error, hashNamedFile, data) {
  //data.url
  //data.secure_url
}, path.resolve(__dirname, 'data/a.jpg'), config);
 

License

Apache-2.0 © file-cloud

Readme

Keywords

none

Package Sidebar

Install

npm i file-cloud-cloudinary-uploader

Weekly Downloads

2

Version

0.0.1

License

Apache-2.0

Last publish

Collaborators

  • calidion