[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [ArrayMapper](./js-utils.arraymapper.md) > [map](./js-utils.arraymapper.map.md)
## ArrayMapper.map() method
Transform the input list into a map, extracting elements using the mapper's options.
Signature:
```typescript
map(input: Array): Map>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| input | Array<string> | |
Returns:
Map<string, Array<string>>