elierotenberg / typed-utilities

Strongly typed general purpose utilities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

typed-utilities

typed-utilities is a collection of strongly typed general purpose utilities. It's a bit like lodash, but with strongly-typed code in mind, and some useful idioms e.g. tagged tuples for encoding Result, etc.

Install

npm install typed-utilities

or

yarn add typed-utilities

IMPORTANT: bring your own AggregateError, either natively or using a global polyfill.

Usage

See usage examples from the tests.

About

Strongly typed general purpose utilities


Languages

Language:TypeScript 98.2%Language:JavaScript 1.8%