2.1.5 • Published 10 years ago
mapmaker v2.1.5
mapmaker - make maps
mapmaker gives you a nicer interface for making Maps, so you can pass a plain object instead of the arrays of 2 the default implementation accepts.
Using
// default implementation
new Map([['key', 'val'], ['greeting', 'hi']])
// mapmaker
mapmaker({key: 'val', greeting: 'hi'})