
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
ngxuploader
Advanced tools
To install this library, run:
$ npm install ngxuploader --save
You can import your library in any Angular application by running:
$ npm install ngxuploader
and then from your Angular AppModule
:
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
// Import ngxuploader
import { NgxUploaderComponent } from 'ngxuploader';
import { UploaderService } from 'ngxuploader';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
// Specify your library as an import
NgxUploaderComponent
],
providers: [UploaderService],
bootstrap: [AppComponent]
})
export class AppModule { }
Once your library is imported, you can use this component in your Angular application:
<!-- You can now use your library component in app.component.html -->
<h1>
{{title}}
</h1>
<ngx-uploader-component></ngx-uploader-component>
The component have inputs for support diferent functionalities:
This are the default values =>
@Input() textUpload: string = 'Upload';
@Input() recommend: string = 'Recommend minimum size 100x100px';
@Input() textDrop: string = 'Drop Here';
@Input() token: string = '';
@Input() urlBackend: string = 'http://localhost:8080/api/file/';
@Input() appends: Array<iAppend>;
You can change in the component, for example:
<ngx-uploader-component
[textUpload]=" 'Upload here' "
[recommend]=" {{ recommendText }} "
><ngx-uploader-component>
token
export interface iAppend {
name: string;
value: string;
}
For example the folder in your server for upload the file
myAppend = [
{ 'uploadFolder': '/avatarFolder' }
]
<ngx-uploader-component
[appends]='myAppend'
><ngx-uploader-component>
To generate all *.js
, *.d.ts
and *.metadata.json
files:
$ npm run build
To lint all *.ts
files:
$ npm run lint
report in github
stackblitz the demo its only angular right now, no have backend (wip)
MIT © Jorge Cano
FAQs
## Installation
The npm package ngxuploader receives a total of 0 weekly downloads. As such, ngxuploader popularity was classified as not popular.
We found that ngxuploader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.