npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@koalaranger/upcloudify

v1.3.5

Published

A tool that allows you to easily upload files to your cloud. It has a number of capabilities that are challenging to master through documentation alone.

Downloads

10

Readme

Upcloudify (Development) · NPM Version

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

Cloudinary homepage

cloudinary credentials

    // 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 --- | --- cloudinary options | .applyFilter('aurora') cloudinary options cartoonify | .cartoonify() cloudinary options opacity | .opacity(30) cloudinary options pixelate | .pixelate(20) cloudinary options gradient | .gradient() cloudinary options border | .border({ size, color }) cloudinary options replace color | .replaceColor({ original, tolerance, newcolor }) cloudinary options round | .borderRadius({ crop, radius }) cloudinary options round | .vectorize({ crop, radius = "max" })

Preview | Usage --- | --- cloudinary options | .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