Skip to content

🦄 List of useful modules for working with async iterables

License

Notifications You must be signed in to change notification settings

alanshaw/it-awesome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

it-awesome

Useful modules for working with async iterables:

  • abortable-iterator - Make any iterator or iterable abortable via an AbortSignal
  • async-iterator-to-pull-stream - Convert a (async) iterator to a pull stream
  • emitterator - Convert async iterator to event emitter
  • event-iterator - Convert event emitter to async iterator
  • get-iterator - Get the default iterator or async iterator for an Iterable
  • it-all - Collect the contents of an iterable into an array
  • it-concat - Concat all buffers/strings yielded from an async iterable into a single BufferList/string
  • it-batch - Batch up the contents of an iterable into arrays
  • it-block - Transform input into equally-sized blocks of output
  • it-buffer - Is it a string? Is it a BufferList? Or just a Buffer? Worry no more with it-buffer! It exposes a transform stream that converts all buffer-like objects into true buffers
  • it-buffer-stream - An async iterator that emits buffers containing bytes up to a certain length
  • it-drain - Drains an async iterator without returning anything
  • it-first - Returns the first item from an async iterable
  • it-flat-batch Take an iterable of variable length arrays and make them all the same length
  • it-glob - Async iterable filename pattern matcher
  • it-goodbye - Add a goodbye handshake to a duplex async iterable
  • it-handshake - Create handshakes for binary protocols with duplex async iterable
  • it-keepalive - Keep an async iterable alive by yielding a value if it doesn't yield a value before the timeout
  • it-last - Returns the last item from an async iterable
  • it-length-prefixed - Streaming length prefixed buffers with async iterables
  • it-pb-rpc - A convenience-wrapper around protocol-buffers and lp-messages functions
  • it-postmsg - Streaming iterables over window.postMessage
  • it-multipart - HTTP multipart message parser
  • it-pair - A pair of {source, sink} streams that are internally connected (what goes into the sink comes out the source)
  • it-parallel-batch Take an iterable of functions that return promises and run them in parallel in batches
  • it-pipe - Utility to "pipe" async iterables together
  • it-pushable - Pushable iterable
  • it-reader - Read an exact number of bytes from a binary (async) iterable
  • it-tar - Streaming tar parser (and maybe a generator in the future) and nothing else
  • it-to-stream - Convert streaming iterables to Node.js streams
  • it-ws - Simple async iterators for websocket client and server connections
  • iterable-ndjson - NDJSON parsing/encoding
  • paramap-it - Parallel mapping for async iterables
  • pull-stream-to-async-iterator - Convert a pull stream to an async iterator
  • recoverable-iterator - If an iterator errors, restart and continue
  • stream-to-it - Convert Node.js streams to streaming iterables
  • streaming-iterables - A Swiss army knife for async iterables
  • iter-tools - The iterable toolbox

About

🦄 List of useful modules for working with async iterables

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •