Skip to content
pipe().pipe() request and response and router like connect
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib
streamPlugins
test
README.md
index.js
package.json

README.md

About request.pipe

rquest.pipe is a piped chain request module for node.js

  • You can use it like pipe(stream1).pipe(stream2).pipe(stream-X);
  • Chaining stream for request and response
  • connect style router pipes for request and response depends on request and response headers;

It`s here ... now!...^_^

Usage

  1. install module request.pipe: npm install request.pipe (not push tu npm repo);
  2. use bin/config.js enable desable exists plugins;
  3. write your own strem module or use exits stream module. see example:./streamPlugins/streamIconv.js
  4. add stream to routers by order. request.addRouter();
  5. usage example: ./test/requestTest.js

TODO List

  • Improve interface and fix bugs.
  • Refactor and improve documents.
Something went wrong with that request. Please try again.