Uploadcare JavaScript/TypeScript API clients for Node.js and browsers. Handles uploads and further operations with files by wrapping Uploadcare Upload and REST APIs.
- @uploadcare/upload-client — JavaScript and TypeScript SDK for the Uploadcare Upload API. Handles direct binary uploads, multipart uploads for large files, URL-based and UUID-based uploads, and file group creation. Works in Node.js, browser, and React Native. Supports upload progress tracking, AbortController cancellation, concurrent request queuing, and signed uploads.
- @uploadcare/rest-client — JavaScript and TypeScript SDK for the Uploadcare REST API. Covers file management, groups, webhooks, media conversion (video and document), and add-ons (virus scanning, image recognition, background removal). Works in Node.js and browser. Supports Simple and signature-based authentication, async pagination with generators, automatic retry with exponential backoff for throttled requests, and job status polling for async operations.
- @uploadcare/signed-uploads — Node.js library for generating cryptographic signatures required by Uploadcare's Signed Uploads security feature. Returns a
{secureSignature, secureExpire}pair ready to pass to@uploadcare/upload-client. Supports flexible expiration options (absolute timestamps,Dateobjects, or relative lifetimes). Zero dependencies, full TypeScript support. - @uploadcare/image-shrink — Browser-based image compression library that shrinks images to a target resolution while preserving aspect ratios, EXIF metadata, and ICC color profiles. Outputs JPEG with configurable quality and automatically switches to PNG for images with transparency. Uses native canvas scaling with intelligent multi-pass fallback for iOS. Designed for pre-upload image optimization in web applications.
If you think you ran into something in Uploadcare libraries that might have security implications, please hit us up at bugbounty@uploadcare.com or Hackerone.
We'll contact you personally in a short time to fix an issue through co-op and prior to any public disclosure.
Issues and PRs are welcome. You can provide your feedback or drop us a support request at hello@uploadcare.com.