Install

Add alert-notify to your project with npm, or drop in the CDN script when you do not use a bundler. CSS ships with the package entry for both paths.

npm

npm install alert-notify

CSS loads with the package entry. You can still import alert-notify/style.css explicitly.

CDN

<script src="https://unpkg.com/alert-notify@3/dist/alert-notify.global.js"></script>

The IIFE build injects CSS and exposes AlertNotify on window. See the CDN guide.

Optional peers

Peers are optional. The core vanilla path needs none of them.

Next: Quick start