Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/d-exclaimation/common-ts

Zero-dependency TypeScript utilties for Node.js, Deno, Web and anything that powered by V8
https://github.com/d-exclaimation/common-ts

functional-programming pattern-matching pipe typescript union v8 zod

Last synced: 9 days ago
JSON representation

Zero-dependency TypeScript utilties for Node.js, Deno, Web and anything that powered by V8

Awesome Lists containing this project

README

        



@d-exclaimation/common

Zero-dependency TypeScript utilties for Node.js, Deno, Web and anything that powered by V8.



## Getting started

### Install

```sh
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](https://tailwindcss.com) 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](https://github.com/colinhacks/zod) related utilties (extending schema, etc.)

## Feedback
If you have any feedback, feel free open an issue.