ea

Arrays, objects and strings iterator

Usage no npm install needed!

<script type="module">
  import ea from 'https://cdn.skypack.dev/ea';
</script>

README

ea Build Status

Arrays, objects and strings iterator

each-reverse - module for reverse iterations

Install

npm install --save ea
component install andrepolischuk/ea

API

ea(array, fn)

Iterate array

ea([10, 11, 12], function(value, index) {

});

ea(object, fn)

Iterate object

ea(user, function(value, key) {

});

ea(string, fn)

Iterate string

ea('hello', function(value, key) {

});

License

MIT