
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
angular-toastify
Advanced tools
A somewhat minimalistic clone of React Toastify.
This project was build on Angular version 8.0.3.
Import package:
npm i angular-toastify
Add to app.module.ts:
import { ToastService, AngularToastifyModule } from 'angular-toastify';
@NgModule({
declarations: [...],
imports: [
...
AngularToastifyModule,
...
],
providers: [ToastService],
bootstrap: [...]
})
export class AppModule { }
Add to any component within visible layout:
<lib-toastify-toast-container></lib-toastify-toast-container>
Toast container options (optional)
<lib-toastify-toast-container
[position]="'top-left' | 'top-right' | 'bottom-right' | 'bottom-left'" (default: 'top-right')
[transition]="'bounce' | 'slide' | 'zoom' | 'flip'" (default: 'bounce)
[autoClose]="time in ms (0 = disabled)" (default: 5000)
[autoCloseSuccess]="time in ms (0 = disabled)" (default: undefined)
[autoCloseInfo]="time in ms (0 = disabled)" (default: undefined)
[autoCloseWarn]="time in ms (0 = disabled)" (default: undefined)
[autoCloseError]="time in ms (0 = disabled)" (default: undefined)
[hideProgressBar]="true | false" (default: false)
[newestOnTop]="true | false" (default: false)
[closeOnClick]="true | false" (default: true)
[pauseOnHover]="true | false" (default: true)
[pauseOnVisibilityChange]="true | false" (default: true)
[iconLibrary]="'material' | 'font-awesome' | 'none';" (default: 'none')
></lib-toastify-toast-container>
Add to component or service:
constructor(private _toastService: ToastService) { }
addInfoToast() {
this._toastService.info('message');
}
FAQs
Somewhat working clone of React Toastify.
The npm package angular-toastify receives a total of 412 weekly downloads. As such, angular-toastify popularity was classified as not popular.
We found that angular-toastify 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.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.