node package manager

multiset

MultiSet

Utility class that implements a multiset, a set with possibly repeated elements.

See the docs.