# Toastify JS: 4.5 out of 10

Keep, but not for new work. 7th of 8 in [Toasts and alerts](https://elestia.ai/opensource/toasts/index.md).

Toastify JS is a small, zero-dependency vanilla JavaScript toast library. It still works, but it has had no release since July 2022 and no commits in the last year, so it is fine to keep where it already runs and a weak pick for new work. Choose a maintained peer instead: SweetAlert2 for framework-free alerts and toasts, or Sonner or React-Toastify in React apps.

**Best for:** Plain HTML or server-rendered pages that need a drop-in toast script with no build step and no dependencies.

## Scores

- **Overall: 4.5** (likely 3.4 to 5.5)
  - Claude Opus 5.5 (3.5): It is a simple, working vanilla toast library, but it has been unmaintained since 2022 and lacks types and modern features. Its share is shrinking against a fast-growing category. Keep it where it runs. For new framework-free work, pick SweetAlert2 or another maintained library, and in React apps pick Sonner or React-Toastify.
  - GPT-6.2 Sol (5.4): Toastify JS is a reasonable choice for simple no-build browser toasts, especially when the team wants to supply its own styling. A React app gets more built-in notification behavior from react-hot-toast, and SweetAlert2 covers confirmation dialogs. The long release gap and keyboard limitations weigh heavily for new work, though the small API still fits sites with modest notification needs.
- **Needed by many: 6.0** (likely 4.9 to 7.1)
  - Claude Opus 5.5 (6.0): Most web apps need toasts, and this library works in any framework or in plain pages. It covers only toasts, not the alert dialogs that the category also includes. Many of today's users pick framework-specific components instead, which narrows its practical audience.
  - GPT-6.2 Sol (5.9): Short status messages are useful across interactive websites, and Toastify JS can run in any browser frontend with or without a framework. Its strongest fit is simple nonmodal feedback, so its audience is smaller than the full toasts and alerts category. The developer survey shows the range of web stacks people use, but it does not measure demand for a standalone toast library.
- **Helps a lot: 5.2** (likely 4.2 to 6.2)
  - Claude Opus 5.5 (4.0): It does the basic job: styled, positioned, stacked toasts with close buttons and click handlers, and aria-live since 1.12.0. It has no types of its own, no progress bar, no promise toasts, no action buttons and no dialogs. Several reported bugs have stayed open for years. Peers such as Sonner, React-Toastify and SweetAlert2 do clearly more.
  - GPT-6.2 Sol (6.3): Version 1.12.0 has a small, well-documented API for styled, stacked toasts with configurable screen reader announcements. It lacks confirmation dialogs, and its dismissal timer pauses on mouse hover only. Community types are available separately, while Notyf ships its own declarations and ready-made success and error methods. User reports identify stacking problems in Shadow DOM, and independent performance and accessibility measurements are sparse.
- **Holds up over time: 2.6** (likely 1.5 to 3.7)
  - Claude Opus 5.5 (2.0): There has been no npm release since July 2022, no commits in the last year, and the last push was in August 2024. Issues filed in 2025 and 2026 have no response, and 18 pull requests are open. Only one maintainer appears to release it, with no sign of funding. Its small and stable API is the only reason the score is not lower.
  - GPT-6.2 Sol (3.1): The project last released in July 2022 and recorded zero commits or releases in the latest year, while React-Toastify and SweetAlert2 continued shipping. User reports remain open, and the visible release history is concentrated around one maintainer. Its small browser API may remain usable for years, but the gap between releases makes timely fixes hard to count on.
- **Used widely: 3.4** (likely 2.4 to 4.6)
  - Claude Opus 5.5 (3.0): It had about 644k downloads in the last 4 weeks, against 360k a year before. That ratio of 1.8 is far below the median of 4.1, so it is losing share. Some downloads come from other packages that depend on it, such as @nextcloud/dialogs. It has 1,692 dependent repos, more than Notyf but far below the React peers and SweetAlert2.
  - GPT-6.2 Sol (3.7): The index found 1,692 dependent repositories and 74 packages, ahead of Notyf and far behind React-Toastify. Four-week npm downloads rose to 644,426, or 1.79 times the year-ago count, well below the 4.1 catalog median. That suggests it is losing ground despite rising installs. CDN use makes the number of projects that choose it harder to estimate.
- **Vouched for: 4.1** (likely 3.0 to 5.2)
  - Claude Opus 5.5 (3.0): Its main known production user is the Nextcloud dialogs package. Other support comes from roundup lists ranked by page views or stars, not from independent testing. It has no survey presence and no benchmarks.
  - GPT-6.2 Sol (5.1): Lemmy UI still declares Toastify JS as a runtime dependency, and Drupal's integration reports hundreds of sites using it. Independent comparisons favor it for small, custom-styled notifications. Nextcloud replaced it during an accessibility rework, and the available evidence gives a limited picture of satisfaction across users.
- **Safe: 6.3** (likely 5.1 to 7.4)
  - Claude Opus 5.5 (6.0): It has zero dependencies, no known advisories, an MIT licence and a small DOM-only surface. The OpenSSF Scorecard is 3.1, with no security policy, no SAST and a Maintained score of 0. Any future issue would probably go unfixed. The option that sets HTML content needs care with untrusted input.
  - GPT-6.2 Sol (6.5): The MIT license is permissive, the package has zero runtime dependencies, and OSV lists zero advisories. The OpenSSF Scorecard is 3.1, with weak code review and zero scores for maintenance and security policy. GitHub shows a verified signature on the release commit, while npm publishing controls and the project's ability to respond promptly to a future issue remain unclear.

## Good

- It has zero runtime dependencies and is a single small script with CSS that you can load from a CDN.
- It works with any framework or none, through a simple options object: text, duration, position, gravity, style and onClick.
- Version 1.12.0 added aria-live support, and toasts stack without blocking the page.
- Its MIT licence and record of no advisories make it low risk to keep in an existing project.

## Bad

- It has had no release since July 2022 and no commits in the last year, while issues and 18 pull requests sit open.
- It ships no types of its own. TypeScript users need the community package @types/toastify-js.
- It lacks features that peers have: no progress bar, no promise or loading toasts, no action buttons and no alert dialogs.
- Open bugs remain unfixed, such as oldestFirst being ignored, stacked toasts that cannot be closed, and shadow-root repositioning failing.

## The numbers

- Downloads, 4 weeks: 644k
- In a year: +79%
- GitHub stars: 2.5k
- Commits, 12 months: 0
- Last npm release: Jul 2022
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/apvarun/toastify-js
- npm: https://www.npmjs.com/package/toastify-js

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
