
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
mkt-notification-utils
Advanced tools
mkt-notification-utils is a lightweight, dependency-free JavaScript utility for handling browser notifications with ease. It provides customizable notifications with icons, sounds, vibrations, and click events, allowing seamless integration into web applications.
To install via npm, run:
npm install mkt-notification-utils
import { notificationUtil } from "mkt-notification-utils";
// Initialize permissions
notificationUtil.init();
notificationUtil.notify({
message: "Hello, world!"
});
import { NotificationSounds } from "mkt-notification-utils";
notificationUtil.notify({
title: "New Message",
message: "You have a new notification!",
sound: NotificationSounds.ALARMING
});
import { NotificationIcons } from "mkt-notification-utils";
notificationUtil.notify({
title: "Click Me!",
message: "Click to open Google",
icon: NotificationIcons.ROBOT,
onClick: () => window.open("https://google.com", "_blank")
});
notificationUtil.notify({
message: "This notification will vibrate!",
vibrate: [200, 100, 200]
});
import { NotificationSounds } from "mkt-notification-utils";
console.log(NotificationSounds);
| Sound Name | URL |
|---|---|
| ENGAGE | file-sounds-760-engaged.ogg |
| SUNNY | file-bb_sunny.ogg |
| ALARMING | file-sounds-738-alarming.ogg |
| CUCKOO | file-5b_cuckoo-clock-2.ogg |
| INFORMED | file-sounds-751-youve-been-informed.ogg |
| NEW_FOR_YOU | file-sounds-1253-asmr-girl-i-got-news-for-you.ogg |
import { NotificationIcons } from "mkt-notification-utils";
console.log(NotificationIcons);
| Icon Name | Preview |
|---|---|
| ALARM | |
| BELL | |
| MESSAGE | |
| ROBOT | |
| BOMB |
This project is licensed under the MIT License.
Pull requests are welcome! If you’d like to improve the library, please open an issue first to discuss changes.
FAQs
Utilities for displaying notifications
We found that mkt-notification-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.