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

@uploadcare/file-uploader

v1.7.0

Published

Building blocks for Uploadcare products integration

Downloads

7,055

Readme

📦 Uploadcare File Uploader: stack-agnostic library for uploading, processing, and editing images on-the-fly

npm version GitHub Actions License

Uploadcare File Uploader is a powerful JavaScript library for creating custom file-handling services. It includes various interactive and customizable UI components to enhance users' file uploading and processing experience. As a bonus, you receive all the Uploadcare's versatile file-handling capabilities, including smart CDN, MIME-type filtering, signed uploads, and even more.

See Uploadcare File Uploader in action!

Core features

  • File Uploader — implement file-managing functionality with minimal or comprehensive interfaces in just a few minutes.
  • Adaptive Images — build responsive user interfaces that adapt to various screen sizes and devices, ensuring a performant experience across platforms.
  • Cloud Image Editor — edit, transform, and process images right from a browser on-the-fly.
  • Uploadcare power and features — upload, process, deliver, and manage images without building custom infrastructure.
  • Coming soon! Web Components for any media content management like audio, video, image galleries, and more.

Why Uploadcare File Uploader?

Rapid integration

We provide a ready-to-use set of UI components for file handling. It saves you valuable development time and effort, allowing you to focus on other core aspects of your application. You even don't need to build a stage while developing — just run the code directly from the browser.

Cross-platform compatibility

Uploadcare File Uploader are designed to work seamlessly across various platforms and frameworks. Whether you're building a web application using React, Vue.js, Angular, Svelte, or other frameworks, you get integrations and support for various development environments.

Developer-friendly

The library comes with modern technologies at your fingertips, like Web Components, ESM-level code sharing, and other cutting-edge web standards. Uploadcare File Uploader is designed lightweight with minimum external dependencies for a cheap security audit.

Typescript support

We use JSDoc type annotations and type definitions (*.d.ts files) for TypeScript static analysis support during development.

🚀 Getting started

From CDN

  1. Connect Uploadcare File Uploader directly from your document:
<script type="module">
  import * as UC from 'https://cdn.jsdelivr.net/npm/@uploadcare/file-uploader@1/web/file-uploader.min.js';

  UC.defineComponents(UC);
</script>
  1. Start using Uploadcare File Uploader in your application markup:
<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/@uploadcare/file-uploader@1/web/uc-file-uploader-regular.min.css"
/>

<uc-file-uploader-regular ctx-name="my-uploader"> </uc-file-uploader-regular>
  1. Configure Uploadcare File Uploader and add your personal public key to the project. Discover the instructions in the following section.

From NPM

  1. Install Uploadcare File Uploader package: npm i @uploadcare/file-uploader
  2. Connect Blocks from your script file:
import * as UC from '@uploadcare/file-uploader';

UC.defineComponents(UC);
  1. Start using Uploadcare File Uploader in your application markup:
<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/@uploadcare/file-uploader@1/web/uc-file-uploader-regular.min.css"
/>

<uc-file-uploader-inline ctx-name="my-uploader"> </uc-file-uploader-inline>
  1. Configure Uploadcare File Uploader and add your personal public key to the project. Discover the instructions in the following section.

Configuration

All configurations in Uploadcare File Uploader are managed from uc-config block.

  1. Sign up to Uploadcare.
  2. Get a Public API key in Uploadcare project's dashboard.
  3. Add a uc-config block to your markup and replace YOUR_PUBLIC_KEY with your own public key:
<uc-config ctx-name="my-uploader" pubkey="YOUR_PUBLIC_KEY"></uc-config>
  1. Make sure that your config block uses the same ctx-name attribute value as your solution block.

Discover more about Uploadcare File Uploader configuration in our documentation.

Deep dive in Uploadcare File Uploader 🛠

Follow our step-by-step installation guide to launch Uploadcare File Uploader in a few minutes and set it up based on your needs.

Browser support

Latest desktop and mobile stable versions of Chrome, Edge, Firefox, Opera, and Safari are supported.

Internet Explorer is outdated and not supported anymore.

Framework support

Uploadcare File Uploader is a framework-agnostic solution, so you can use it with any runtime you like. Discover the integration examples:

All the source code is accessible and works in raw mode. Use developer tools to dive into details.

Contribution

You’re always welcome to contribute:

  • Create issues every time you feel something is missing or goes wrong.
  • Provide your feedback or drop us a support request at [email protected].
  • Ask questions on Stack Overflow with "uploadcare" tag if others can have these questions as well.
  • Fork project, make changes and send it as pull request. For launching the developing mode follow these commands:
    • Install dependencies: npm install.
    • Start local dev-server: npm run dev.
  • Star this repo if you like it ⭐️