npm.io
0.7.1 • Published 1 year ago

@d-exclaimation/common

Licence
MIT
Version
0.7.1
Deps
0
Size
68 kB
Vulns
0
Weekly
0
Stars
1

@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.