Gathering detailed insights and metrics for @uscreentv/uppy-manager
Gathering detailed insights and metrics for @uscreentv/uppy-manager
Gathering detailed insights and metrics for @uscreentv/uppy-manager
Gathering detailed insights and metrics for @uscreentv/uppy-manager
npm install @uscreentv/uppy-manager
Typescript
Module System
Node Version
NPM Version
64.3
Supply Chain
97
Quality
80.5
Maintenance
100
Vulnerability
87.3
License
Total Downloads
49,154
Last Day
3
Last Week
95
Last Month
714
Last Year
4,573
Minified
Minified + Gzipped
Latest Version
1.0.0-rc.22
Package Id
@uscreentv/uppy-manager@1.0.0-rc.22
Unpacked Size
207.07 kB
Size
65.28 kB
File Count
7
NPM Version
8.5.5
Node Version
16.13.0
Cumulative downloads
Total Downloads
Last Day
-88.9%
3
Compared to previous day
Last Week
-56%
95
Compared to previous week
Last Month
-28.7%
714
Compared to previous month
Last Year
23.4%
4,573
Compared to previous year
11
53
Small and stylish uploaders for images and files based on
uppy
.
Do it with npm
or with your favorite packages manager:
1$ 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:
1import { ImageManager } from '@uscreentv/uppy-manager' 2 3const uppy = new Uppy({ 4 meta: { 5 path: '/', 6 }, 7 restrictions: { 8 maxNumberOfFiles: 1, 9 }, 10}) 11 .use(AwsS3, { 12 companionUrl: 'https://foo.bar', 13 }) 14 .use(ImageManager) 15 16uppy.on('complete', ({ successful, failed }) => { 17 // handle uploaded files here 18})
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:
1import { ImageManager } from '@uscreentv/uppy-manager' 2 3const uppy = new Uppy({ 4 meta: { 5 path: '/', 6 }, 7 restrictions: { 8 allowedFileTypes: ['image/*', 'text/*'], 9 allowMultipleUploads: maxFiles > 1, 10 maxFileSize: 3600000, 11 maxNumberOfFiles: 10, 12 }, 13}) 14 .use(AwsS3, { 15 companionUrl: 'https://foo.bar', 16 }) 17 .use(FilesManager, { 18 inline: false, 19 }) 20 21uppy.on('complete', ({ successful, failed }) => { 22 // handle uploaded files here 23})
title: string
– uploader's frame titletarget: HTMLElement
– manager's mounting nodeinline: boolean
- render manager directly in target
node instead of modal windowNo vulnerabilities found.
No security vulnerabilities found.