
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
ngx-notifier
Advanced tools
A Simple Notification Service for Angular Applications
ngx-notifier is a simple notification service for Angular applications and is meant to be simple with limited features.
If you are looking for angularjs(1.x) version, Try angularjs-toast
Install via Package managers such as npm or yarn
npm install ngx-notifier --save
# or
yarn add ngx-notifier
Import provideAnimations
in your app.config to enable required animations
import { ApplicationConfig } from '@angular/core';
import { provideAnimations } from '@angular/platform-browser/animations';
export const appConfig: ApplicationConfig = {
providers: [provideAnimations()],
};
Then, import NgxNotifier
in your app.component.ts
import { NgxNotifier, NgxNotifierService } from 'ngx-notifier';
@Component({
selector: 'app-root',
standalone: true,
imports: [NgxNotifier],
templateUrl: './app.html',
})
export class AppComponent {
constructor(private ngxNotifierService: NgxNotifierService) {}
createNotification() {
this.ngxNotifierService.createToast(message, style, duration);
}
}
Then, add the ngx-notifier
component in your app.component.html
<ngx-notifier></ngx-notifier>
this.ngxNotifierService.createToast(message, style, duration);
success|danger|warning|info
. Default is info
this.ngxNotifierService.clear();
this.ngxNotifierService.clearLast();
Notifier component accepts
<ngx-notifier
[allowDuplicates]="true"
[allowHTML]="false"
[className]="myCustomClassName"
[duration]="5000"
[disableAnimations]="false"
[dismissOnClick]="false"
[insertOnTop]="true"
[max]="5"
>
</ngx-notifier>
Demo at stackblitz ngx-notifier
FAQs
A Simple Notification Service for Angular Applications
The npm package ngx-notifier receives a total of 566 weekly downloads. As such, ngx-notifier popularity was classified as not popular.
We found that ngx-notifier demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.