Nicheloom visits: 60,536 all-time · 7,913 in the last 7 days

The opportunity tracker for new startups.

Today: 895 launches · Niche of the day: browser-based video games · See what launched today →

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 ↗

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.

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.