From 0f3738c93486df2c44ce3e582e2c85d0414fa527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8C=97=E5=B7=9D?= Date: Sun, 9 Sep 2018 07:15:41 +0000 Subject: [PATCH] add collect alias for write array --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 97da560..be34496 100644 --- a/index.js +++ b/index.js @@ -73,6 +73,7 @@ es.merge = function (/*streams...*/) { // and calls back when 'end' occurs // mainly I'm using this to test the other functions +es.collect = es.writeArray = function (done) { if ('function' !== typeof done) throw new Error('function writeArray (done): done must be function')