@nexim/upload-sdk
Version:
TypeScript SDK for seamless integration with Nexim Media Upload Service. It provides state machine-based upload handling, progress tracking, and type-safe API for image optimization and file uploads.
18 lines (13 loc) • 1.82 kB
Markdown
# @nexim/upload-sdk
## Type Aliases
| Type Alias | Description |
| -------------------------------------------------------- | ----------- |
| [UploadFileOptions](type-aliases/UploadFileOptions.md) | - |
| [UploadImageOptions](type-aliases/UploadImageOptions.md) | - |
## Functions
| Function | Description |
| ----------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [optimizeImage](functions/optimizeImage.md) | Optimizes an image on the client side. |
| [pickAndProcessFile](functions/pickAndProcessFile.md) | Creates and triggers a virtual file input element to handle file selection. This utility creates a temporary file input element, attaches event handlers, and removes itself after use. |
| [uploadFile](functions/uploadFile.md) | Uploads a file to the server. |
| [uploadImage](functions/uploadImage.md) | Uploads an image to the server, optimizing it first. |