diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/actions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actions.js b/src/actions.js index 1feb9c1..02414a1 100644 --- a/src/actions.js +++ b/src/actions.js @@ -1,11 +1,11 @@ 'use strict' const send = require('koa-send') -const streamify = require('stream-array') +const h = require('highland') const responders = require('./responders') function toArrayStream (iterator) { - return streamify(Array.from(iterator.entries())) + return h(iterator.entries()) } function home (config, posts) { |