stream-functions
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Helper functions for streams in node js.

map

import { map } from 'stream-function'
somestream.pipe(map(somefunction))

filter

import { filter } from 'stream-function'
somestream.pipe(filter(somefunction))

flatten

import { flatten } from 'stream-function'
somestream.pipe(flatten())

buffer

import { buffer } from 'stream-function'
somestream.pipe(buffer(buffersize))

promiseMap

import { map } from 'stream-function'
somestream.pipe(promiseMap(somepromisefunction))

Package Sidebar

Install

npm i stream-functions

Weekly Downloads

8

Version

1.0.0

License

ISC

Unpacked Size

8.02 kB

Total Files

6

Last publish

Collaborators

  • tryggingamidstodin