The shared TypeScript toolkit behind Dominus Web Services.
Everything lives in this monorepo, is built with Bun, and published on npm under the @dws-std/ scope.
| Package |
What it does |
@dws-std/common |
Common utilities and types for Dominus Web Services (DWS) projects. |
@dws-std/error |
Structured exceptions with UUID v7 tracking and HTTP status codes. |
@dws-std/i18n |
Type-safe internationalization — localized messages and exceptions with template interpolation. |
@dws-std/jwt |
Simplified JWT handling with sane defaults, human-readable expiration, and standard claims. |
@dws-std/registry |
A centralized, type-safe registry for managing named instances. |
@dws-std/totp |
Time-based One-Time Password (TOTP) implementation in TypeScript. |
| Command |
What it does |
bun run build |
Build all packages |
bun run test |
Run every test suite |
bun run lint |
Lint all packages |
bun run lint:fix |
Lint and auto-fix |
bun run docs |
Generate TypeDoc documentation |
bun run clean |
Wipe node_modules, dist, and lock files |
packages/
├── common/ # @dws-std/common
├── error/ # @dws-std/error
├── i18n/ # @dws-std/i18n
├── jwt/ # @dws-std/jwt
├── registry/ # @dws-std/registry
├── template/ # Scaffold for new packages
└── totp/ # @dws-std/totp
Dominus-Web-Service.github.io/packages
MIT - Dominus Web Services (DWS)