/typescript-essentials

Must-have utility types and functions for TypeScript

Primary LanguageTypeScriptMIT LicenseMIT

Typescript Essentials

Must-have utility types and functions for TypeScript

NPM version NPM downloads Build status All Contributors

Overview

This is a small util library which contains several types and functions that may be useful in your TypeScript project.

Getting started 🌩

npm
npm install typescript-essentials
yarn
yarn add typescript-essentials

Contents

Predicates & type-guards

Useful to compose simple predicates, or to narrow types in arrays or other data structures.

Generics

Array utils

Object utils

Ordered

"Track by" functions for Angular

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Dirk Luijk
Dirk Luijk

💻 📖
Daan Scheerens
Daan Scheerens

🤔

This project follows the all-contributors specification. Contributions of any kind welcome!