maparraytoobject (npm): Map array of objects to object 
Keywords: map|array|object|javascript|npm-package