As
as
Convert easily, back and forth between array and object.
A sweet and simple util that help you to convert array to object and vise versa, it also:
Brings all functional goodness of arrays to objects.
Brings the flexibility of objects to arrays.
Works well with a functional programming library.
Get it: npm install --save as
Usage:
1 2 3 4 5 6 7 8 |
|
1 2 3 4 5 6 |
|
GIF FTW!
Thanks for