foreachain

The chainable forEach()

Usage no npm install needed!

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

README

foreachain

The chainable forEach().

[2,3,5].forEachain(v => {console.log(v)})
       .map(v => v * 3)
       .forEach(v => {console.log(v)});

Docs

Read full docs on GitHub.