Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@uscreentv/uppy-manager
Advanced tools
Small and stylish uploaders for images and files based on
uppy
.
Do it with npm
or with your favorite packages manager:
$ npm i @uscreentv/uppy-manager
You should also install @uppy/core@^17.0.0
, @uppy/aws-s3@^1.7.0
and have configured
@uppy/companion
service.
ImageManager
This plugin includes interface for images uploading.
⚠️ restrictions.maxNumberOfFiles
in Uppy
options should be equal to 1
, because ImageManager
can process only one image.
Example:
import { ImageManager } from '@uscreentv/uppy-manager'
const uppy = new Uppy({
meta: {
path: '/',
},
restrictions: {
maxNumberOfFiles: 1,
},
})
.use(AwsS3, {
companionUrl: 'https://foo.bar',
})
.use(ImageManager)
uppy.on('complete', ({ successful, failed }) => {
// handle uploaded files here
})
title: string
– uploader's frame titleimageSize: { width: number, height: number }
– aspect ratio dimensions. Use { width: 1, height: 1 }
for square cropping shape, or { width: 16, height: 9 }
for 16:9
.target: HTMLElement
– manager's mounting nodeinline: boolean
- render manager directly in target
node instead of modal windowreactive: boolean
– uploads files right after selection. ⚠️ Works only with inline
mode.FilesManager
Example:
import { ImageManager } from '@uscreentv/uppy-manager'
const uppy = new Uppy({
meta: {
path: '/',
},
restrictions: {
allowedFileTypes: ['image/*', 'text/*'],
allowMultipleUploads: maxFiles > 1,
maxFileSize: 3600000,
maxNumberOfFiles: 10,
},
})
.use(AwsS3, {
companionUrl: 'https://foo.bar',
})
.use(FilesManager, {
inline: false,
})
uppy.on('complete', ({ successful, failed }) => {
// handle uploaded files here
})
title: string
– uploader's frame titletarget: HTMLElement
– manager's mounting nodeinline: boolean
- render manager directly in target
node instead of modal windowFAQs
Universal UI plugin for Uppy
The npm package @uscreentv/uppy-manager receives a total of 101 weekly downloads. As such, @uscreentv/uppy-manager popularity was classified as not popular.
We found that @uscreentv/uppy-manager demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.