index.js 112 B

123
  1. export function flow(...transforms) {
  2. return (block) => transforms.reduce((block, t) => t(block), block);
  3. }