Gathering detailed insights and metrics for ng2-fancy-image-uploader
Gathering detailed insights and metrics for ng2-fancy-image-uploader
Gathering detailed insights and metrics for ng2-fancy-image-uploader
Gathering detailed insights and metrics for ng2-fancy-image-uploader
npm install ng2-fancy-image-uploader
Typescript
Module System
Node Version
NPM Version
TypeScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
18 Stars
47 Commits
11 Forks
4 Watchers
1 Branches
1 Contributors
Updated on Feb 15, 2023
Latest Version
2.0.1
Package Id
ng2-fancy-image-uploader@2.0.1
Size
10.96 kB
NPM Version
5.3.0
Node Version
8.5.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Angular2 component that uploads selected or dropped image asynchronously with preview.
See demo here: demo
npm install ng2-fancy-image-uploader --save
Add image uploader module to your module's imports
1import { NgModule } from '@angular/core'; 2import { BrowserModule } from '@angular/platform-browser'; 3import { AppComponent } from './app'; 4 5import { FancyImageUploaderModule } from 'ng2-fancy-image-uploader'; 6 7@NgModule({ 8 imports: [BrowserModule, FancyImageUploaderModule], 9 declarations: [AppComponent], 10 bootstrap: [AppComponent] 11}) 12export class AppModule {}
Use it in your component
1import { Component } from '@angular/core'; 2import { FancyImageUploaderOptions, UploadedFile } from 'ng2-fancy-image-uploader'; 3 4@Component({ 5 selector: 'example-app', 6 template: '<fancy-image-uploader [options]="options" (onUpload)="onUpload($event)"></fancy-image-uploader>' 7}) 8export class AppComponent { 9 options: FancyImageUploaderOptions = { 10 thumbnailHeight: 150, 11 thumbnailWidth: 150, 12 uploadUrl: 'http://some-server.com/upload', 13 allowedImageTypes: ['image/png', 'image/jpeg'], 14 maxImageSize: 3 15 }; 16 17 onUpload(file: UploadedFile) { 18 console.log(file.response); 19 } 20} 21
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
10 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More