Nicheloom

Market intelligence for builders — see what's gaining traction before it's crowded.

FP-pack

Functional pipelines in TypeScript without monads

Details

External ID
46477439
Source
HN
Company
—
Product
FP-pack
Website domain
github.com
Launched
Jan. 3, 2026
Cohort
—
Upvotes
14
Upvotes percentile
0.5961791831357048
Tags
—
Fetched at
Sept. 7, 2026, 9:25 p.m.
Updated at
Sept. 7, 2026, 9:25 p.m.

Description

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.

Enrichment

Theme
Claude integrations and coding agents
Vertical
Horizontal
Function
Dev tools
Audience
Developer
AI stance
Not AI
Project type
Hobby / open-source project
Normalized one-liner
functional pipeline library for typescript
Manually corrected
False

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 — 63 launches clear the similarity bar, closest 8 shown.

Attention rank: #33 of 64 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).

Launched 63 days after the earliest competitor.

Other launches for this product

Same idea, different domain

Nobody's really built a dev tools tool for Sales yet.