Node.js: splitting stream content for n-parts

后端 未结 2 1505
臣服心动
臣服心动 2020-12-04 01:58

I\'m trying to understand node streams and their life-cycle. So, I want to split the content of a stream for n-parts. The code below is just to explain my intentions and to

2条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-04 02:22

    I think this is something that could help you out - https://github.com/substack/stream-handbook

    It's an amazingly detailed handbook with sample code for various streaming scenarios and I'm using the same as a reference for my own project and have found it useful so far! It has sample code in /examples as well

提交回复
热议问题