each
Array / object / string iteration utility.
Installation
$ component install component/each
API
each(array, fn)
Iterate an array:
each(object, fn)
Iterate an object's key / value pairs:
Iterate an array-ish object (has numeric .length
):
each(string, fn)
Iterate a string's characters:
License
MIT