@absoluteui/services
Browser services for storage, network, files, downloads, and the environment. Every module is safe to import during server rendering.
| Module | What it does |
|---|---|
@absoluteui/services/bus |
Typed event bus, in-tab and across tabs. |
@absoluteui/services/cache |
Async cache with TTL, stale-while-revalidate, and request deduplication. |
@absoluteui/services/clipboard |
Copy and read text, rich content, and images, with status for announcements. |
@absoluteui/services/crypto |
Web Crypto wrappers: digests, HMAC, AES-GCM, PBKDF2, and timing-safe comparison. |
@absoluteui/services/download |
Downloads of Blobs, text, JSON, CSV, and URLs with progress, save pickers, and safe file names. |
@absoluteui/services/env |
Runtime and feature detection, user preferences (reduced motion, contrast, forced colours), online and visibility state. |
@absoluteui/services/file |
File reading, magic-byte type detection, validation with accessible messages, images, checksums, and pickers. |
@absoluteui/services/http |
fetch client with interceptors, lifecycle hooks, cancellation (all, by group, latest-wins), safe retries, deduplication, ETag caching, categorized errors with default status messages, pagination, and upload progress. |
@absoluteui/services/http-mock |
In-memory fetch with routes, delays, failures, and a call log, for tests and demos. |
@absoluteui/services/logger |
Structured logging with levels, sinks, sampling, and automatic redaction. |
@absoluteui/services/scheduler |
Idle and frame scheduling, chunked work that keeps the page responsive, and countdowns. |
@absoluteui/services/storage |
Typed local, session, memory, and IndexedDB stores with TTL, migrations, cross-tab sync, cookies, and encryption at rest. |
@absoluteui/services/upload |
Chunked, resumable uploads with retry, pause and resume, progress, and queues. |
@absoluteui/services/zip |
Re-exports the ZIP writer and reader of @absoluteui/helpers/zip. |