Javascript functional programming practice
const tika = require('tika');
tika.curry(function(a, b) {
return a + b;
})(1, 2); // => 3
tika.curry(function(a, b) {
return a + b;
})(1)(2); // => 3
Get
tika.get("foo")({ foo: "bar" }) // => bar
Reducer
tika.reduce(function(a, b) {
return a + b;
})(0)([1, 1, 1]) // => 3
MIT