Status & Feedback
$

Toast

PRO

Styled notification messages for terminal output with success, error, warning, and info presets. Supports timestamps.

static output4 typesnotification

# Preview

toast-info demo
BOOTING PREVIEW

# Usage

import { toast, Toast } from '@taracod/termui';

console.log(toast.success('Build completed!'));
console.log(toast.error('Connection failed'));
console.log(toast.warn('Deprecated API'));
console.log(toast.info('Server running on port 3000'));

const t = new Toast({ timestamp: true });
console.log(t.success('Deployed to production'));

# API

PropTypeDefaultDescription
typeToastTypesuccesssuccess, error, warning, info
messagestringrequiredMain notification text
timestampbooleanfalseShow timestamp in header
widthnumberautoFixed width or auto-sized toast
Support TermUI