micro-pip

0.1.0 • Public • Published

micro

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

Install

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'
 
</script> 

Readme

Keywords

none

Package Sidebar

Install

npm i micro-pip

Weekly Downloads

0

Version

0.1.0

License

none

Last publish

Collaborators

  • ystskm