Echo JS 0.11.0

<~>
pselviakcay 44 days ago. link 1 point
Great tools! Thanks for sharing! I like this pipe utility better though: https://github.com/egeozcan/ppipe

    const weirdMathPipe = x => ppipe(x)
        .pipe(add, 1)
        .pipe(double)
        .pipe(square)
        .pipe(divide, _, 8)
        .pipe(add, 1);

it also works with sync functions and has placeholders, property extraction, and so many other features and still less than 150 lines (with 100% test coverage). p-pipe is 1/10 of that but well, I can't live without placeholders.

Replies