
Functions
How to Build a Pipeline of Transformations With reduce
Build a pipeline of transformations in JavaScript with reduce, with named steps, early exit, async steps and whole collections, plus tests. Node.js 24.
7 min read
Tag
3 posts

Build a pipeline of transformations in JavaScript with reduce, with named steps, early exit, async steps and whole collections, plus tests. Node.js 24.

Build a mini functional library in about 100 lines of JavaScript with curry, compose, pipe, map, filter, reduce and prop, and use it on a data task. Node.js 24.

Use function composition to clean, validate and summarize CSV-style data in JavaScript, keep bad rows with a Result type and report errors per row. Node.js 24.