map-to
map-to/array
and map-to/object
. Convert easily, back and forth.
- Brings all functional goodness of arrays to objects.
- Brings the flexibility of objects to arrays.
- Works well with any functional programming library, like 101.
Installation
> npm install map-to
Usage
var mapToObject = ;var mapToArray = ; // Examples coming soon