1.0.0 • Published 9 years ago

stream-graph v1.0.0

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

StreamGraph is EventedGraph, where nodes are streams and edges are pipes. Main purpose of stream-graph is to manage connection scheme of streams: parse, save, load, generate etc.

Usage

npm install stream-graph

var Graph = require('stream-graph');
var Browserify = require('browserify');

var browserify = new Browserify();
browserify.add('./main.js');

//create graph structure
var graph = new Graph();
graph.add(browserify);
graph.add(process.stdout);
graph.connect(browserify, process.stdout);

//go
browserify.bundle();

Related

evented-graph — graph emitting mutator events, ancestor of stream-graph. audio-graph — graph of connected pcm-streams. Descendant of this graph.