toastflow-core
v1.2.3
Published
<h1 align="center">⚙️ toastflow-core</h1>
Readme
🧩 This is the headless core — no UI, no framework dependency. Use
vue-toastflowornuxt-toastflowfor a ready-to-use solution.
📦 What's Included
| | Feature |
| :-: | :------------------------------------- |
| 🏪 | Typed toast store (createToastStore) |
| 📡 | State & event subscriptions |
| 📚 | Queue management & maxVisible |
| ⏱️ | Timer controls & progress tracking |
🚀 Quick Start
1. Install
pnpm add toastflow-core2. Create a store and go 🎯
import { createToastStore } from "toastflow-core";
const store = createToastStore({ position: "top-right", duration: 5000 });
// Show → Update → Dismiss
const id = store.show({ type: "info", title: "Core toast" });
store.update(id, { type: "success", title: "Updated!" });
store.dismiss(id);📄 License
MIT — made with ❤️ by @adrianjanocko
