arr2map (npm): transform array to map / array
Keywords: array