A peekable async iterator
Lets you look at the contents of an async iterator and decide what to do
$ npm install --save it-peekable
const peekable = require('it-peekable')
// This can also be an iterator, async iterator, generator, etc
const values = [0, 1, 2, 3, 4]
const it = peekable(value)
const first = await it.peek()
console.info(first) // 0
it.push(first)
console.info([...it])
// [ 0, 1, 2, 3, 4 ]