
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
mini-notifier
Advanced tools
Show notification, confirmation, prompt
npm install mini-notifier
<link rel="stylesheet" href="dist/style.css">
<script src="dist/mini-notifier.umd.js"></script>
import { notify, prompt, confirm, prepareContainer } from 'mini-notifier';
import 'mini-notifier/dist/style.css';
miniNotifier.notify('hello world');
miniNotifier.notify(message, {
time: 5000,
style: 'success|error'
});
miniNotifier.confirm('Are you sure ?', {
okText: 'Yes',
cancelText: 'Sorry, no',
okHandler: () => console.log('ok'),
cancelHandler: () => console.log('cancel')
});
miniNotifier.prompt('Enter your email', {
okText: 'Enter',
okHandler: (data) => console.log('your email:', data),
inputType: 'email',
placeholder: 'team@ifmo.su'
})
miniNotifier.notify('hello world', {
target: document.querySelector('#box')
});
If you want to custom the MiniNotifier theme. You can ask mini-notifier not to load css vars with prepareContainer
.
import { notify, prepareContainer } from 'mini-notifier';
import 'mini-notifier/dist/style.css';
// Do not inject css vars.
prepareContainer(document.body, false);
notify('hello world');
/* add here your custom css vars */
.mini-notifier-container {
--primary-color: #ffea66;
--primary-color-dark: #eac800;
--red500: #dc3545;
--red200: #f8d7da;
--green500: #2b5229;
--green200: #e1fae1;
--border-radius: .25rem;
}
FAQs
Show notification, confirmation, prompt
We found that mini-notifier 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.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.