iterable-lookahead
Iterable wrapper that add methods to read ahead or behind current item.
Installation
npm install --save iterable-lookahead
Usage
const lookahead = ; const iterable = ; for const item of iterable console;
or otherwise, using array spread syntax:
const lookahead = ; for const item look of lookahead console;
License
The MIT License (MIT)
Copyright (c) 2016 Andrea Parodi