Roar
A zero-dependency, vanilla JavaScript alert/confirm replacement.
No-build verifiedDormant0 dependenciesScript tagGPL-3.0
Facts
| Size | 4.1 KB minified, 1.1 KB gzipped (src/roar.js) |
|---|---|
| Licence | GPL-3.0 |
| Dependencies | none |
| Last release | v1.1.0, April 2021 |
| Last activity | 2021-04-06 (Dormant) |
| Stars | 9 on GitHub |
| Formats | classic script (global roar) |
| CDN hits | 30 a month on jsDelivr |
| npm downloads | 5 a month |
| Gates | G1 passed (no runtime dependencies); G2 passed (loads in a browser as it is); G3 passed (no compile-only entry points); G4 passed (open-source licence); G5 passed (not archived or deprecated). Smoke test on v1.1.0 in headless Chromium, 2026-10-30 |
Load it
Pin the version. The hash is computed from the file jsDelivr serves, so a changed file fails to load instead of running.
<script src="https://cdn.jsdelivr.net/npm/@getbutterfly/[email protected]/src/roar.js"
integrity="sha384-JPqmvNTNQ4g6ujlK4yaGPcDEiDsVZUlPQ4iWOJIJ4blJic9lSjKr3JwcjADDgcbV" crossorigin="anonymous"></script>Advertisement
Related libraries
- Notus – Web Notifications Widget Yet another JavaScript pop-up notification library for the web.
- Speckle.js A JavaScript plugin that adds responsive, stylized speckles to any element; with no dependencies.
- Popbox.js A tiny and simple stackable modal plugin for web apps
Entry 171 in the directory. Facts refreshed monthly; last run 2026-10-30.