@wluwd/toolkit
A collection of proven, type-safe utilities built from real production needs.
This repository contains small, focused packages that have earned their place through actual usage. Nothing here is theoretical -- each tool originated in real projects, solved real problems, and has been refined over time.
All packages are:
- Type-safe -- full TypeScript support with accurate inference
- Production-tested -- used in real-world codebases
- Lightweight -- zero or minimal dependencies
- Modern runtime -- ESM-only, targets current Node.js LTS
Philosophy
We publish what works. Packages land here once they've demonstrated reliability, clarity of API, and long-term usefulness.
These tools exist because they solved real problems. If they help you too, that's the goal.
Packages
Currently included:
- @wluwd/variations - Generate cartesian product variations of object properties for exhaustive testing and configuration matrices
Installation
Each package is installable independently:
Development
This is a monorepo managed with pnpm workspaces.
Setup
pnpm install
# Run unit tests
pnpm run test.unit
# Build all packages - updates `package.json` files
pnpm --recursive run build
# Lint + format
pnpm run check.source
# Type-check root and packages
pnpm run check.types
pnpm --recursive run check.types
Project Structure
toolkit/
+-- packages/
| +-- ... # Individual packages
+-- package.json # Workspace root
+-- readme.md
Contributing
Issues and pull requests are welcome -- just check for duplicates first.
License
MIT