Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
ng2-file-upload
Advanced tools
Easy to use Angular2 directives for files upload (demo)
Follow me at twitter to be notified about new releases.
npm i ng2-file-upload --save
Alternatively, you can download it in a ZIP file.
Currently ng2-file-upload
contains two directives: ng2-file-select
and ng2-file-drop
. ng2-file-select
is used for 'file-input' field of form and
ng2-file-drop
is used for area that will be used for dropping of file or files.
More information regarding using of ng2-file-upload is located in demo and demo sources.
ng2-file-select
uploader
- (FileUploader
) - uploader object. See using in demong2-file-drop
uploader
- (FileUploader
) - uploader object. See using in demoParameters that supported by this object:
url
- URL of File Uploader's routeauthToken
- Auth token that will be applied as 'Authorization' header during file send.file-over
- it fires during 'over' and 'out' events for Drop Area; returns boolean
: true
if file is over Drop Area, false
in case of out.
See using in ts demo and
html demoPlease follow this guidelines when reporting bugs and feature requests:
Thanks for understanding!
The MIT License (see the LICENSE file for the full text)
FAQs
Angular file uploader
The npm package ng2-file-upload receives a total of 77,394 weekly downloads. As such, ng2-file-upload popularity was classified as popular.
We found that ng2-file-upload demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.