A small, simple and customizable notifier for your projects.
bun i -D @archoleat/notifier
import { error, info, success, warning } from '@archoleat/notifier';
await info({
message:
[
'',
{
length: Infinity // Truncates the message after a specified number of characters.
},
]
| ['']
| '',
hasTime: true, // Enable/disable time, not work in desktop mode.
notificationMode: 'console', // Available modes: console, desktop, multiple.
});
Please read CONTRIBUTING to start contributing.
This project is licensed under the MIT license.