gather-scatter

A stream that outputs an array with the accumulated input received and another that does the opposite.

Usage no npm install needed!

<script type="module">
  import gatherScatter from 'https://cdn.skypack.dev/gather-scatter';
</script>

README

Gather & Scatter

An object stream that outputs an array with the accumulated input received and another that does the opposite.

Check test.js for usage.