Elestia Open Source Ratings
4.5

Toastify JS

Keep, but not for new work. 7th of 8 toasts and alerts.

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.

WebsiteGitHubnpm

Scores

Overall4.5

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 3.5, likely 2.5 to 4.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.

  • github commitsLastYear: No activity in the last year.
  • peers: SweetAlert2 has 110 commits in the last year; Sonner and React-Toastify release in 2026.
  • github.com/apvarun/toastify-js/issues: Recent issues have no response.

GPT-6.2 Sol: 5.4, likely 4.3 to 6.5

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 many6.0

How many developers need a tool for this job?

Claude Opus 5.5: 6.0, likely 5.0 to 7.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, likely 4.7 to 7.1

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 lot5.2

How well does it do the job for those who need it?

Claude Opus 5.5: 4.0, likely 3.0 to 5.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, likely 5.3 to 7.4

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 time2.6

Will it still be a good choice in two years?

Claude Opus 5.5: 2.0, likely 1.0 to 3.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.

  • github commitsLastYear / releasesLastYear: 0 commits and 0 releases in the last year.
  • npm latestPublishedAt: 2022-07-21.
  • scorecard Maintained: Score 0.
  • snyk.io/advisor/npm-package/toastify-js: Snyk flags no new release in the last 12 months.

GPT-6.2 Sol: 3.1, likely 2.0 to 4.3

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.

  • github commitsLastYear, releasesLastYear, pushedAt: Zero commits and releases in the past year, with the last push in August 2024.
  • github.com/apvarun/toastify-js/releases: Version 1.12.0 remains the latest release, and one maintainer authored the recent entries.
  • github.com/apvarun/toastify-js/issues/141: A February 2025 request for the click callback to receive its event is still open.
  • peers React-Toastify and SweetAlert2 commitsLastYear and latestPublishedAt: Both peers shipped in 2026 and recorded more commits.
Used widely3.4

How many use it, and is that growing?

Claude Opus 5.5: 3.0, likely 2.0 to 4.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.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 644k against 360k, a ratio of 1.8 below the median of 4.1.
  • dependents: 1,692 repos and 74 packages.
  • cdn.jsdelivr.net/npm/@nextcloud/dialogs@7.3.0/dist/toast.d.ts: Nextcloud dialogs build on toastify-js, which brings it indirect installs.
  • bluesky posts / hackerNews stories: 0 posts and 0 stories.

GPT-6.2 Sol: 3.7, likely 2.7 to 5.1

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.

  • dependents.repos and dependents.packages: The index found 1,692 repositories and 74 packages.
  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: 644,426 versus 360,116 downloads gives a 1.79 ratio against a 4.1 median.
  • peers Notyf and React-Toastify dependentRepos: The peer index shows 869 for Notyf and 97,433 for React-Toastify.
  • jsdelivr.com/package/npm/toastify-js: Lists a direct CDN install that bypasses npm.
Vouched for4.1

Who stands behind it being good?

Claude Opus 5.5: 3.0, likely 2.0 to 4.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, likely 3.9 to 6.3

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.

Safe6.3

How safe is it to depend on?

Claude Opus 5.5: 6.0, likely 5.0 to 7.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.

  • npm dependencies: 0 dependencies.
  • advisories total: 0 advisories.
  • scorecard score: 3.1; Security-Policy, SAST and Maintained all score 0.
  • npm license: MIT.

GPT-6.2 Sol: 6.5, likely 5.2 to 7.7

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.

  • npm dependencies and license: Zero runtime dependencies and an MIT license.
  • advisories.total and advisories.last24Months: Zero OSV advisories in the supplied snapshot.
  • scorecard.score and scorecard.checks: Overall 3.1, with code review at 4 and maintenance and security policy at 0.
  • github.com/apvarun/toastify-js/releases/tag/1.12.0: GitHub verifies the signature on the release commit.
  • github.com/apvarun/toastify-js/security: The repository has no published security policy.

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

npm downloads, 4 weeks
644k +79% in a year
GitHub stars
2.5k
Commits, 12 months
0
npm version
1.12.0 Jul 2022
Versions, 12 months
0
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
3.1 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (apvarun/toastify-js), npm (toastify-js), OSV and the OpenSSF Scorecard.

Toasts and alerts

  1. 7.7Sonner
  2. 7.2React-Toastify
  3. 6.7react-hot-toast
  4. 6.6SweetAlert2
  5. 6.2Vue Sonner
  6. 4.6notistack
  7. 4.5Toastify JS
  8. 4.0Notyf
Compare all 8 on six scores