
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
notifier-mycin
Advanced tools
A lightweight and customizable notification toast library built with Toastify-js.
A lightweight, highly customizable notification toast library built with Toastify-js.
Install via npm or yarn:
npm install notifier-mycin
or
yarn add notifier-mycin
import Notify from 'notifier-mycin';
// Show a success notification
Notify.success('Operation successful!');
// Show an error notification
Notify.error('Something went wrong.');
Enhance your notifications by passing custom options:
import Notify from 'notifier-mycin';
const options = {
duration: 5000, // Duration in milliseconds
position: { x: 'left', y: 'top' }, // Position on screen
theme: 'dark', // Theme variant
style: 'solid', // Style type
className: 'my-custom-class', // Custom CSS class
icon: 'info-circle', // Icon
iconColor: 'blue', // Icon color
title: 'Notification Title', // Title
message: 'Detailed message text' // Message content
};
Notify.success('Success message', options);
If using React, leverage the useNotify hook for cleaner integration:
import { useNotify } from 'notifier-mycin';
function MyComponent() {
const notify = useNotify();
const handleClick = () => {
notify.success('Success message');
};
return <button onClick={handleClick}>Show Notification</button>;
}
Modify or remove notifications dynamically:
import Notify from 'notifier-mycin';
const notification = Notify.success('Initial message');
// Update the notification
Notify.update(notification.id, { message: 'Updated message' });
// Dismiss the notification
Notify.dismiss(notification.id);
Clear all active notifications with a single call:
import Notify from 'notifier-mycin';
Notify.success('Message 1');
Notify.success('Message 2');
Notify.dismissAll();
Configure global default settings for all notifications:
import Notify from 'notifier-mycin';
Notify.setDefaults({
duration: 5000,
position: { x: 'left', y: 'top' },
theme: 'dark',
style: 'solid',
className: 'my-custom-class',
icon: 'info-circle',
iconColor: 'blue',
title: 'Notification Title',
message: 'Notification Message'
});
Contributions are welcome! If you encounter a bug or have a feature request, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
For questions or support, feel free to reach out: 📧 mycin.mit@gmail.com
Start using Notifier-Mycin today and enhance your notifications effortlessly! 🚀
FAQs
A lightweight and customizable notification toast library built with Toastify-js.
We found that notifier-mycin demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

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.