Introduction
Welcome to Packages — a collection of seven small npm packages that power my personal Vue, TypeScript and Bun projects. Each package is published independently and follows the same engineering conventions: ESM-only, TypeScript-first, minimal dependencies, and built with Bun.
What's inside?
- Common — Vue composables, store helpers, router helpers and shared error classes used across all my apps.
- HTTP Client — a typed HTTP client with reactive DTOs, decorators (
@dto,@bound,@debounce) and serialisation for nested objects, dates and pagination. - Routing — a Vue Router wrapper that adds modal and overlay routing on top of
vue-router5. - Utils — 47+ small, focused, tree-shakeable utilities for dates, colours, math, DOM operations and more.
- Tools —
Bun.buildplugins (build,clean,copy,dts) used to bundle these packages. - Vite Preset — an opinionated Vite preset with CSS Modules, library composition and chunk splitting.
- Worker — Cloudflare Worker primitives — typed routing, request helpers and structured error responses.
Where to start
- New here? Read Getting started for installation and a first taste.
- Coming from one of my projects? Jump straight to the package documentation via the Packages menu.
- Curious about how the monorepo is laid out? See Monorepo.