Dynamic module through2

Index

Variables

Variables

mod: Through2

Through2: Through2

(transform?: (entry: any, enc: string, callback: () => void) => void, flush?: () => void): ReadWriteStream

Parameters

  • transform?: (entry: any, enc: string, callback: () => void) => void optional
  • flush?: () => void optional

Returns

ReadWriteStream

(opts: DuplexOptions, transform?: (entry: any, enc: string, callback: () => void) => void, flush?: () => void): ReadWriteStream

Parameters

  • opts: DuplexOptions
  • transform?: (entry: any, enc: string, callback: () => void) => void optional
  • flush?: () => void optional

Returns

ReadWriteStream

public obj(transform: (entry: any, enc: string, callback: () => void) => void, flush?: () => void): ReadWriteStream

Parameters

  • transform: (entry: any, enc: string, callback: () => void) => void
  • flush?: () => void optional

Returns

ReadWriteStream

public push(data: any)

Parameters

  • data: any