Installation
Package managers
Section titled “Package managers”Imports
Section titled “Imports”The library is split into four entry points. Import only what you need:
| Entry point | Contains |
|---|---|
@nlozgachev/pipelined/core | Maybe, Result, Validation, Task, TaskResult, TaskMaybe, TaskValidation, These, Tuple, RemoteData, Deferred, Lens, Optional, Reader, State, Logged, Predicate, Refinement |
@nlozgachev/pipelined/utils | Arr, Rec, Num, Str, Dict, Uniq |
@nlozgachev/pipelined/composition | pipe, flow, compose, curry, tap, memoize, and other function utilities |
@nlozgachev/pipelined/types | Brand, NonEmptyList |
Requirements
Section titled “Requirements”- Node.js 22 or later (for npm/pnpm/yarn/bun installs)
- TypeScript 5.4 or later with
strictmode enabled
Strict mode is required for the type-level guarantees — particularly exhaustiveness checking in match branches and narrowing in type guards — to work correctly.