node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »

gather-scatter

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.