@btmills/default-map

An extension of ES2015's Map that provides a default value when accessing a key that has not been explicitly set.

Browse on unpkg