generate-lookup-table (npm): Generates a (fast!) lookup table or index from any array of items.
Keywords: index|lookup table|map|generate|generator