@d-exclaimation/common
Zero-dependency TypeScript utilties for Node.js, Deno, Web and anything that powered by V8.
Getting started
Install
npm i @d-exclaimation/common
Modules
-
common
, General utilities (type-safe keys and entries, random integer, weigted random, etc.) -
pipe
, Pipe operator utilities (type safe functions pipe, function to higher order, etc.) -
tailwind
, Tailwind CSS types utilities (text color, bg color, etc.) -
union
, Union related types and utilities (distriminated union, pattern matching, etc.) -
v8
, V8 engine related utilities (sleep, task queue, async streams, etc.) -
zod
, zod related utilties (extending schema, etc.)
Feedback
If you have any feedback, feel free open an issue.