1.3.5 • Published 3 years ago
@koalaranger/upcloudify v1.3.5
Upcloudify (Development) · 
| Rev. | Date | Author | Dscription |
|---|---|---|---|
| 1.0 | Nov 30, 2022 | Kolya Nikolai Madridano | Added revision table and convert other options to built-in functions |
| Video Type | Extension | MIME Type |
|---|---|---|
| Flash | .flv | video/x-flv |
| MPEG-4 | .mp4 | video/mp4 |
| iPhone Index | .m3u8 | video/x-mpegURL |
| iPhone Segment | .ts | video/MP2T |
| 3GP Mobile | .3gp | video/3gpp |
| QuickTime | .mov | video/quicktime |
| A/V Interleave | .avi | video/x-msvideo |
| Windows Media | .wmv | video/x-ms-wmv |
| Image Type | Extension | MIME Type |
|---|---|---|
| PNG | .png | image/png |
| JPG | .jpg | image/jpg |
| JPEG | .jpeg | image/jpeg |
| SVG | .svg | image/svg+xml |
| WEBP | .webp | image/webp |
| AVIF | .avif | image/avif |

// Configuration
const upcloudify = new CloudinaryUpload({
api_key: "927*********4",
api_secret: "LUlMVq******-Lf06*****",
cloud_name: "d************g"
});
// files must be an array of File
const files = [
{
fieldname: 'file',
originalname: 'sample_image.jpg',
encoding: '7bit',
mimetype: 'image/jpeg',
destination: 'C:\\Users\\USERNAME\\AppData\\Local\\Temp',
filename: '771ec752e412cf',
path: 'C:\\Users\\USERNAME\\AppData\\Local\\Temp\\771ec752e412cf',
size: 40055
}
]
// Uploading images
const result = await upcloudify
.cartoonify() // add cartoonify effect
.blur(300) // add blurry effect
.uploadImage(files);
// Uploading videos
const result = await upcloudify.uploadVideo(files);| Preview | Usage |
|---|---|
![]() | .applyFilter('aurora') |
![]() | .cartoonify() |
![]() | .opacity(30) |
.pixelate(20) | |
![]() | .gradient() |
![]() | .border({ size, color }) |
![]() | .replaceColor({ original, tolerance, newcolor }) |
![]() | .borderRadius({ crop, radius }) |
![]() | .vectorize({ crop, radius = "max" }) |
| Preview | Usage |
|---|---|
.resize({ height, width }) |
| Key | Type | Usage | Default |
|---|---|---|---|
| files | File [] | files you want to upload to the cloud | undefined |
| isUniqueFilename | boolean | The uploaded file will have a unique name if set to true. | true |
| crop | string | fill, pad | fill |
| radius | number or string | 1 to 100, "max" | default |
| height | number | No information given | default |
| width | number | No information given | default |
1.3.5
3 years ago
1.3.4
3 years ago
1.3.3
3 years ago
1.3.2
3 years ago
1.3.1
3 years ago
1.3.0
3 years ago
1.2.9
3 years ago
1.2.8
3 years ago
1.2.7
3 years ago
1.2.6
3 years ago
1.2.5
3 years ago
1.2.4
3 years ago
1.2.3
3 years ago
1.2.2
3 years ago
1.2.1
3 years ago
1.2.0
3 years ago
1.1.8
3 years ago
1.1.7
3 years ago
1.1.6
3 years ago
1.1.5
3 years ago
1.1.4
3 years ago
1.1.3
3 years ago
1.1.2
3 years ago
1.1.0
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago







