1.1.2 • Published 4 years ago

@jacobbubu/pull-through v1.1.2

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

@jacobbubu/pull-through

Build Status Coverage Status npm

Rewritten through in TypeScript.

Example

Same Good Old Api, Brand New Underlying Mechanism.

import through from '@jacobbubu/pull-through'

const ts = through(function (data) {
  this.queue(data)
}, function (end) {
  this.queue(null)
})

Please see the test-cases for the detail.