Displaying 1 to 20 from 24 results

through2 - Tiny wrapper around Node streams2 Transform to avoid explicit subclassing noise

  •    Javascript

Inspired by Dominic Tarr's through in that it's so much easier to make a stream out of a function than it is to set up the prototype chain properly: through(function (chunk) { ... }).Note: As 2.x.x this module starts using Streams3 instead of Stream2. To continue using a Streams2 version use npm install through2@0 to fetch the latest version of 0.x.x. More information about Streams2 vs Streams3 and recommendations see the article Why I don't use Node's core 'stream' module.

vinyl-paths - Get the file paths in a vinyl stream

  •    Javascript

Useful when you need to use the file paths from a gulp pipeline in Promise-returning node module.Simply pass a promise-returning function such as del and vinyl-paths will provide each path in the stream as the first argument.

through2-concurrent - Simple Node

  •    Javascript

A simple way to create a Node.JS Transform stream which processes in parallel. You can limit the concurrency (default is 16) and order is not preserved (so chunks/objects can end up in a different order to the order they started in if the transform functions take different amounts of time).Built using through2 and has the same API with the addition of a maxConcurrency option.

vinyl-transform - Use standard text transform streams to write fewer gulp plugins

  •    Javascript

vinyl-transform wraps standard text transform streams so you can write fewer gulp plugins. Fulfills a similar use case to vinyl-map and vinyl-source-stream.This module lets you take your standard text transform streams from npm, (e.g. envify), and use them in a vinyl pipeline. It'll transparently take care of handling both buffered and streaming vinyl instances for you too.




simple-html-index - a simple HTML index through stream

  •    Javascript

A tiny through stream that returns a bare-bones HTML5 template with an optional <link> and <title> in the head and <script> entry-point in the body.MIT, see LICENSE.md for details.

join-stream - intersperse stream chunks with separators

  •    Javascript

Intersperse stream chunks with separators.Return a through stream that inserts the string or buffer separator sep between 'data' chunks.

resumer - a through stream that starts paused and resumes on the next tick

  •    Javascript

Return a through stream that starts out paused and resumes on the next tick, unless somebody called .pause().This module has the same signature as through.


syncthrough - Transform your data as it pass by, synchronously.

  •    Javascript

Transform your data as it pass by, synchronously. syncthrough is a synchronous transform stream, similar to Transform stream and through2, but with a synchronous processing function. syncthrough enforces backpressure, but it maintain no internal buffering, allowing much greater throughput. In fact, it delivers 10x performance over a standard Transform.

throughv - stream.Transform with parallel chunk processing

  •    Javascript

Same as Rod Vagg's through2 but with parallel chunk processing. throughv is useful to augment/process data coming from a stream in a fast parallel fashion, e.g. fetching some relevant data from a database. Note that throughv.obj(fn) is a convenience wrapper around throughv({ objectMode: true }, fn).

digest-stream - Simple node

  •    Javascript

Provide a the digest algorithm, optional input encoding, digest encoding, and a listener function when you construct the stream. The listener will be called with the resultant digest and length of the stream just prior to end being emitted. Since this uses the node.js crypto package, refer to http://nodejs.org/api/crypto.html for the specific options available.

pass-stream - pass-stream - pass-through node.js stream which can filter/adapt and pause data

  •    Javascript

pass-stream is a pass-through stream which allows transform fns for easily filtering or adapting the data that flows through the stream. To add transform/filter functionality you may provide a writeFn and/or endFn which allows you to tap into the write and end processing.

pickup - Transform XML feeds

  •    Javascript

The pickup Node package provides a Transform stream from RSS 2.0, including iTunes namespace extensions, and Atom 1.0 formatted XML to newline separated JSON strings or objects. This can either be a String(), null, or undefined.

promise-streams - A collection of node

  •    Javascript

Create a through-promise stream. Pass it a function that takes data and encoding and uses this.push to push values or promises. This function should return a promise that indicates when the object/chunk are fully processed. Returns a PromiseStream.

unbzip2-stream - streaming unbzip2 implementatio in pure javascript for node and browsers

  •    Javascript

streaming bzip2 decompressor in pure JS for Node and browserify. When browserified, the stream emits instances of feross/buffer instead of raw Uint8Arrays to have a consistant API across browsers and Node.

loopback-include-through-mixin - A mixin to enable including Through model properties

  •    Javascript

To use with your Models add the mixins attribute to the definition object of your model config. You can also set default behavior in your model definition with options.

through2-filter - A through2 wrapper to create an Array.prototype.filter analog for streams

  •    Javascript

This is a super thin wrapper around through2 that works like Array.prototype.filter but for streams. Note you will NOT be able to alter the content of the chunks. This is intended for filtering only. If you want to modify the stream content, use either through2 or through2-map.

through2-map - A through2 to create an Array.prototype.map analog for streams.

  •    Javascript

This is a super thin wrapper around through2 that works like Array.prototype.map but for streams. Note you will NOT be able to skip chunks. This is intended for modification only. If you want filter the stream content, use either through2 or through2-filter. This transform also does not have a flush function.

through2-reduce - A through2 wrapper to emulate Array.prototype.reduce for streams.

  •    Javascript

through2-reduce is a thin wrapper around through2 that works like Array.prototype.reduce but for streams. This is a much less common use-case with streams, but it can occasionally be useful to do a Reduce function on a stream.