frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

LLM functions in TypeScript: a composable pattern for prompt/LLM/parse/execute

https://medium.com/llm-exe
5•llm-exe•11mo ago

Comments

llm-exe•11mo ago
A few weeks ago I posted about llm-exe, a TypeScript library for structuring LLM calls with reusable components.

I just put together a Medium series that digs deeper into how it works. It breaks down the idea of an LLM function - an executor that wraps a prompt, a model, and a parser. Each part does one thing well, and together they give you a clean, well-typed, testable, and composable way to work with LLMs.

The posts walk through each layer: prompt, parser, LLM, executor. If you're building LLM features in production with TypeScript, I think you’ll find the structure helpful. I am interested in any feedback.

Medium series: https://medium.com/llm-exe

mrbashtech•11mo ago
Great work! folks at llm-exe; As a TypeScript developer working with LLMs, llm-exe has been a game-changer for me. It abstracts away the boilerplate of prompt formatting, model integration, and response parsing, allowing me to focus on building features.

The modular design—separating prompts, parsers, and executors—makes my codebase cleaner and more maintainable. Plus, the ability to switch between different LLM providers with minimal code changes is incredibly convenient.

A solo entrepreneur's map of online money

https://wkdomains.com/2026/may/solo-entrepreneur/
1•fcpguru•1m ago•0 comments

One API for WhatsApp, SMS, and Email. SendAPI

1•nimana•2m ago•0 comments

Scqos – A 9-gate pre-execution coherence kernel for deterministic computation

https://indigo-major-newt-582.mypinata.cloud/ipfs/bafkreifpkzdkmjka26nm4q7gdnzry7hm53a5kngjzyeyuo...
1•Knowledgee_KZA•3m ago•0 comments

Braids as a Representation Space of SU(5)

https://arxiv.org/abs/1506.08067
1•marysminefnuf•3m ago•0 comments

Show HN: Systemd-Recalld

https://github.com/erkinalp/recalld
1•anticensor•4m ago•1 comments

GameStop's Cohen Sees New Target and Big Possible Payday in eBay

https://www.bloomberg.com/news/articles/2026-05-04/gamestop-s-cohen-sees-new-target-and-big-possi...
1•p1anecrazy•4m ago•1 comments

Longevity Science Is Overhyped. But This Research Could Change Humanity

https://www.nytimes.com/2026/04/27/magazine/cell-rejuventation-biotech-longevity-research-altos-l...
2•leetgent•6m ago•0 comments

Show HN: Spinal – Prod aware code review and validation

https://sre.spinal-labs.com/login?next=%2Findex.html
1•mahendraroopa•6m ago•0 comments

Show HN: HeatSpectra: A realtime 3D heat transfer simulator

https://github.com/tsun3doku/HeatSpectra
1•tsun3doku•6m ago•0 comments

Steam Controller

https://store.steampowered.com/hardware/steamcontroller
2•fk_fk•8m ago•1 comments

How to: Get Alerted When a Stripe Charge Fails – No Cloud Vendor Required

https://centrali.io/blog/alert-stripe-charge-failures
1•centrali•8m ago•0 comments

The Thinking Plant's Man (2025)

https://www.sciencehistory.org/stories/magazine/the-thinking-plants-man/
1•benbreen•8m ago•0 comments

How much of our personalities are determined at birth?

https://www.bbc.com/future/article/20260501-nature-vs-nurture-how-much-of-our-personalities-are-d...
2•bookofjoe•10m ago•0 comments

Ask HN: What are you doing this week?

1•SpyCoder77•10m ago•0 comments

Mapcv: A high-performance satellite imagery dataset creation tool

https://tahamukhtar20.github.io/mapcv/
1•jonbaer•10m ago•0 comments

Native macOS app to track YouTube channels, no Google login required

https://github.com/agentcooper/Telik
1•SpyCoder77•11m ago•0 comments

Signed by Default Camp

https://www.gingerbill.org/article/2026/05/03/signed-by-default/
1•g0xA52A2A•12m ago•0 comments

Sperm production from testicular tissue frozen as a child in breakthrough trial

https://www.theguardian.com/society/2026/may/04/man-produces-sperm-from-testicular-tissue-frozen-...
4•franczesko•12m ago•0 comments

BlinkPi – Use your hardware the way you want

https://github.com/OVR92/BlinkPi
1•mondainx•13m ago•1 comments

Unfortunately, Sprites Now Speak MCP

https://fly.io/blog/unfortunately-mcp/
1•Lihh27•17m ago•0 comments

Sweden and France Held a Meeting in the Nuclear Steering Group in Paris

https://www.government.se/press-releases/2026/04/sweden-and-france-held-a-meeting-in-the-nuclear-...
2•madspindel•18m ago•0 comments

The last days of Butter Ridge

https://www.nytimes.com/2026/05/03/us/dairy-farm-butter-ridge-pennsylvania.html
1•greedo•18m ago•0 comments

Perturb-MARS: Reading mouse experiments through a human lens

https://www.noetik.blog/p/perturb-mars-reading-mouse-experiments
1•crescit_eundo•19m ago•0 comments

'Beauty of the Beasts' Review: The Gross and the Grimy

https://www.wsj.com/arts-culture/books/beauty-of-the-beasts-review-the-gross-and-the-grimy-ba9798d6
2•andrewl•20m ago•1 comments

Show HN: Manhwa, Manga, Anime tracker/catalogue – Manishelf

https://oitoana.dev/manishelf
1•anastasery•21m ago•1 comments

Our evaluation of OpenAI's GPT-5.5 cyber capabilities

https://www.aisi.gov.uk/blog/our-evaluation-of-openais-gpt-5-5-cyber-capabilities
2•Cynddl•22m ago•0 comments

Show HN: Woodglue - Self-documenting API/Data async server

https://github.com/walnutgeek/woodglue
1•walnutgeek•24m ago•0 comments

Show HN: NoReporter – AI-only newsroom, $1/year

https://noreporter.ai
3•egberjustin•24m ago•0 comments

Burnless – open protocol that cut my API bill 16x on my heaviest dev day

https://github.com/Rudekwydra/burnless
1•rudekwydra•25m ago•0 comments

Christopher Hitchens: Iran's waiting game (2011)

https://www.vanityfair.com/news/2005/07/hitchens-200507
2•simonebrunozzi•26m ago•1 comments