Skip to content

Releases: github/multimap

1.0.0

22 Jun 21:54
v1.0.0
Compare
Choose a tag to compare
  • Added constructor consuming an iterable: new MultiMap([['k', 1], ['k', 2]])

0.1.0

22 May 23:30
v0.1.0
Compare
Choose a tag to compare
import MultiMap from '@github/multimap'

const map = new MultiMap<string, number>()
map.set('a', 1).set('a', 2)
map.get('a') // => Set([1, 2])