3h-iter

An iteration lib.

Usage no npm install needed!

<script type="module">
  import hIter from 'https://cdn.skypack.dev/3h-iter';
</script>

README

3h-iter

An iteration lib.

Intro

3h-iter is an iteration library that provides you with some iterator-related helpers(like map, filter, range) to deal with iteration operations. It is better to use 3h-iter with ES2015+ syntax. For example,

for (const i of range(5)) {
    console.log(i);
}
// prints 0, 1, 2, 3, 4

Links