UNPKG

pull-looper

Version:

unwind the stack while reading recursively from a pull-stream

29 lines (20 loc) 655 B
# pull-looper Wrap a pull-stream so that it can be read from with deep recursion without triggering a RangeError. Uses [looper](https://github.com/dominictarr/looper). Usage: Just stick the module in a pull-stream pipeline. Example: ``` var pull = require('pull-stream') var pullLooper = require('pull-looper') pull( ..., pullLooper, ... ) ``` ## License Copyright (c) 2017 [@cel](@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519) Usage of the works is permitted provided that this instrument is retained with the works, so that any entity that uses the works is notified of this instrument. DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.