
Company News
Socket Has Acquired Secure Annex
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.
mystical-notification
Advanced tools
https://embed.plnkr.co/mp4hehLvOFLat3tLwN5j/
Fully customizable alert notifications. Current types are alert and confirm. Two positions for now are top and bottom.
| Sample Desktop | Sample Mobile |
|---|---|
![]() | ![]() |
npm install mystical-notification
If not using a module system you can get the dist file from unpkg CDN here: https://unpkg.com/mystical-notification@0.5.0 and just add the script tag to your html page to have the mystical lib exposed. If you're using modules then it's best to use npm install mystical-notification and then import (see TS sample below).
mystical.Mystical.alert({
color: "#ff4081",
backgroundColor: "#222",
position: "bottom",
template: `
<div style="padding: 5px">
<h3> Go Away </h3>
<label> I don't care what you do man. </label>
</div>
`
});
import { Mystical } from "mystical-notification"
public makeUserChoose() {
Mystical.confirm({
backgroundColor: "#fff000",
color: "#333",
position: "bottom",
positiveText: "Do it!",
negativeText: "Never!"
}).then((result: boolean) => {
if (result === true) {
/// user clicked positive(confirm) button
console.log("Party on Wayne")
}
})
}
alert(options: AlertOptions) - shows simple alert notificationconfirm(options: ConfirmOptions) - shows a confirmation notificationinterface AlertOptions {
template: string;
backgroundColor?: string;
color?: string;
position?: string; // top or bottom for now
duration?: number // default is indefinite so alert is show until user action
backdrop?: boolean; // default = true
}
interface ConfirmOptions {
template: string;
backgroundColor?: string; // default #333
color?: string; // default #fff
position?: string; // top or bottom for now
backdrop?: boolean; // default = true
positiveText?: string; // default = "Yes"
negativeText?: string; // default = "No"
}
git clone https://github.com/bradmartin/mystical-notification.gitnpm install - install depsnpm run dev - will transpile and kick off the webpack dev serverFAQs
Simple customizable web alerts with no dependencies.
The npm package mystical-notification receives a total of 5 weekly downloads. As such, mystical-notification popularity was classified as not popular.
We found that mystical-notification 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.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.

Research
/Security News
Socket is tracking cloned Open VSX extensions tied to GlassWorm, with several updated from benign-looking sleepers into malware delivery vehicles.

Product
Reachability analysis for PHP is now available in experimental, helping teams identify which vulnerabilities are actually exploitable.