A small utility for async pipe

npm install micro-pip
4 downloads in the last month


Support for making functions pipeline. You can use this both node and browsers.


Install with npm:

npm install micro-pipe

API - Queries

var micropipe = require('micro-pipe');
micropipe(function(next){ console('a'), next()}
          ,function(next){ console('b'), next()}
          ,function(next){ console('c'), next()}); // => 'a', 'b', 'c'

also use on browser

<script type="text/javascript" src="micro-pipe.js"></script>
<script type="text/javascript">

    micropipe(function(next){ console('x'), next()}
              ,function(next){ console('y'), next()}
              ,function(next){ console('z'), next()}); // => 'x', 'y', 'z'

npm loves you