A simple filter chain for running multiple filters on an input value.
Create a new filter chain from an array of filter functions.
Add a filter function. Filter functions can be synchronous function(value) { return value; }
, or asynchronous function(value, cb) { cb(value); }
.
Run each filter on the value and then call the callback with the filtered value.
See test/test.json