adamf92 / ts-utils

OOP Utils for TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ts-utils

OOP Utils for TypeScript

version 0.3.1

Maps

Map

Generic collection class for key: value objects in TypeScript. It contains set of usefull methods like forEach() or includes() which makes work with key: value objects as easy as work with arrays

GuardedMap

Generic collection class for key: value objects, based on the same UtilityMap interface as Map. Main difference is that in GuardedMap, you have access to values only with get(key) and set(key, value) methods. It prevents accidental overwriting of values in map.

Maps

Class with static factory methods to create Map or GuardedMap without values or from arrays or objects

Documentation will be published soon

About

OOP Utils for TypeScript


Languages

Language:TypeScript 100.0%