npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

pull-continue

0.0.1

@dominictarr

npmHomeRepoSnykSocket
Downloads:11
$ npm install pull-continue
DailyWeeklyMonthlyYearly

pull-continue

A concatenated stream of streams, except the next stream is created when the previous one ends.

var pcontinue = require('pull-continue')

  //log a stream of 0-99 10 times.
  pull(
    //i = the index of the stream you are up to (first stream is 0)
    //n = number of items in previous stream.
    pcontinue(function (i, n) {
      if(i > 10) return
      return pull.count(100)
    }),
    pull.log()
  )

see also pull-cat

License

MIT