bun i -D @archoleat/notifier
import { error, info, success, warning } from '@archoleat/notifier';
await info({
message: 'string' | ['string', { maxLength: number }],
// Enable/disable timestamp, not work in desktop mode.
// @default true.
hasTime: boolean,
// Available modes: console, desktop, multiple.
// @default 'console'.
notificationMode: 'console' | 'desktop' | 'multiple',
});
Please read CONTRIBUTING to start contributing.
This project is licensed under the MIT license.