[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [ArrayMapper](./js-utils.arraymapper.md) ## ArrayMapper class Map an array of items into a map of arrays using the specified keys, able to `skip` initial items and gather remaining items into a `rest` key. Signature: ```typescript export declare class ArrayMapper ``` ## Constructors | Constructor | Modifiers | Description | | --- | --- | --- | | [(constructor)(options)](./js-utils.arraymapper._constructor_.md) | | Constructs a new instance of the ArrayMapper class | ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [rest](./js-utils.arraymapper.rest.md) | readonly | string | | | [skip](./js-utils.arraymapper.skip.md) | readonly | number | | | [take](./js-utils.arraymapper.take.md) | readonly | Array<string> | | ## Methods | Method | Modifiers | Description | | --- | --- | --- | | [map(input)](./js-utils.arraymapper.map.md) | | Transform the input list into a map, extracting elements using the mapper's options. |