FP-pack
Functional pipelines in TypeScript without monads
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
Hi HN,I built fp-pack, a small TypeScript functional utility library focused on pipe-first composition.The goal is to keep pipelines simple and readable, while still supporting early exits and side effects — without introducing monads like Option or Either.Most code uses plain pipe/pipeAsync. For the few cases that need early termination, fp-pack provides a SideEffect-based pipeline that short-circuits safely.I also wrote an “AI agent skills” document to help LLMs generate consistent fp-pack-style code.Feedback, criticism, or questions are very welcome.
HN · launched Jan 3, 2026 · 14 upvotes (top 40%) · 0 views
Niche: specialized algorithms and computing libraries · 230 launches, 3 in the last 7 days ▼ -80% · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 230 launches in specialized algorithms and computing libraries →
Could you build this?
Yes It is a compact TypeScript utility library implementing function composition (`pipe`, `pipeAsync`), which is easily generated and unit-tested with an AI assistant.
Discussion
16 comments analyzed.
Competitors mentioned: Rx/RxJS, Option/Either types, Monads and effect systems, Full monad implementations
Concerns raised: No clear advantage over proper monads for solving this problem, Adding effect handling abstractions to an already side-effectful language, Default `any` return type creates type safety footgun, SideEffect pattern unfamiliar and difficult for average developers to understand, Steep cognitive load compared to simpler pipe-based code
Feature requests: Better language-level syntax for early-exit/control-flow patterns, Stricter type safety by default instead of requiring `pipeSideEffectStrict`, More examples of side effects beyond early termination
Competitors
Other products that read as similar to this one : 146 launches clear the similarity bar, closest 8 shown.
Attention rank: #69 of 147 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 63 days after the earliest competitor.
- mcp-tada · github · 2026-09-10 · 23 upvotes · similarity 0.48
- json-const-content-mapper · github · 2026-10-21 · 12 upvotes · similarity 0.45
- ts-polyglot · ph · 2026-10-27 · 5 upvotes · similarity 0.45
- Think Turing Complete, but you write the circuits in TypeScript (WIP) · hn · 2026-09-02 · 22 upvotes · similarity 0.45
- SharpTS · hn · 2026-01-09 · 6 upvotes · similarity 0.45
- LemmaScript, a verification toolchain for TypeScript via Dafny · hn · 2026-04-21 · 5 upvotes · similarity 0.44
- Algorithms and Data Structures in TypeScript · hn · 2026-03-13 · 65 upvotes · similarity 0.44
- soml-typescript-types · github · 2026-11-01 · 13 upvotes · similarity 0.44
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.