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•7mo ago

Comments

llm-exe•7mo 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•7mo 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.

Show HN: MiddleDrag: Three-finger trackpad gestures for middle-click on macOS

https://github.com/NullPointerDepressiveDisorder/MiddleDrag
1•NullPointerDD•1m ago•0 comments

America's Debanking Witch Hunt Finds No Evil

https://www.bloomberg.com/opinion/articles/2025-12-11/debanking-witch-hunt-finds-no-evildoing-in-...
1•petethomas•5m ago•0 comments

Show HN: I got my site down to 237kb by ditching Google Analytics

https://deadstack.net/
1•dreadsword•5m ago•0 comments

Malware found in the subtitles of a fake Leonardo DiCaprio movie torrent

https://www.bitdefender.com/en-us/blog/labs/fake-leonardo-dicaprio-movie-torrent-agent-tesla-powe...
2•CGMthrowaway•6m ago•0 comments

Monumental snake engravings of the Orinoco River (2024)

https://www.cambridge.org/core/journals/antiquity/article/monumental-snake-engravings-of-the-orin...
1•bryanrasmussen•6m ago•0 comments

Rethinking armed group control (2022)

https://odi.org/en/publications/rethinking-armed-group-control/
1•bryanrasmussen•8m ago•0 comments

Modos open source e-paper monitor development update

https://www.crowdsupply.com/modos-tech/modos-paper-monitor/updates/highlights-certifications-and-...
2•Curiositry•12m ago•0 comments

Untreated sleep apnea raises risk of Parkinson's, study finds

https://medicalxpress.com/news/2025-11-untreated-apnea-parkinson.html
2•PaulHoule•12m ago•0 comments

Gemini model that would train on all gmail

1•orena•13m ago•0 comments

Show HN: Advent of Acro – A frameworkless PHP/JS video advent-calendar

https://advent.vs.digital/
1•schuhwerk•14m ago•0 comments

Google is building an experimental new browser and a new kind of web app

https://www.theverge.com/tech/842000/google-disco-browser-ai-experiment
1•cryptoz•15m ago•0 comments

Show HN: UJAS – An open-source hiring platform (like WordPress for hiring)

https://github.com/gemini45840-cmyk/UJAS
1•jayteetech•20m ago•0 comments

Mark V Shaney

https://en.wikipedia.org/wiki/Mark_V._Shaney
1•djoldman•23m ago•0 comments

Mercury Personal Banking

https://mercury.com/personal-banking
1•gregimba•30m ago•2 comments

Historic Flooding in Western Washington

https://www.kuow.org/stories/go-now-100-000-evacuated-in-historic-skagit-flood
1•measurablefunc•31m ago•0 comments

Mathgpt.today for Discord

https://mathgpt.today/
1•umeedsto•31m ago•1 comments

6.7 Magnitude Earthquake Strikes Off Northeast Japan

https://www.newsweek.com/6-7-magnitude-earthquake-strikes-off-northeast-japan-11199276
2•ls-a•33m ago•1 comments

Rescued at Sea: How Venezuela's Machado Survived the Riskiest Leg of Her Escape

https://www.wsj.com/world/americas/rescued-at-sea-how-venezuelas-machado-survived-the-riskiest-le...
1•petethomas•34m ago•1 comments

Jonathan Blow has spent the past decade designing 1,400 puzzles for you

https://arstechnica.com/gaming/2025/12/jonathan-blow-has-spent-the-past-decade-designing-1400-puz...
2•furcyd•36m ago•0 comments

Show HN: PowerKit for Tmux – 32 Plugins

https://github.com/fabioluciano/tmux-powerkit
1•fabioluciano•42m ago•0 comments

Forget flowers: These ancient plants attract pollinators by getting hot

https://www.npr.org/2025/12/11/nx-s1-5637486/ancient-heat-producing-plants-glow-infrared-scent-no...
2•andsoitis•49m ago•0 comments

Show HN: ProdE – code change impact and root cause analysis for large codebases

https://prode.ai/
1•curious_nile•54m ago•1 comments

DynamoDB: Resilience and lessons from the Oct 2025 service disruption [video]

https://www.youtube.com/watch?v=YZUNNzLDWb8
1•mooreds•1h ago•0 comments

Sentimental Versioning

https://github.com/dominictarr/sentimental-versioning
2•handfuloflight•1h ago•0 comments

When you don't create things (2020)

https://www.nilkanth.com/when-you-dont-create-things/
2•nreece•1h ago•0 comments

Show HN: Argly – Turn your iPhone into a remote for your Mac [over WiFi]

https://apps.apple.com/us/app/argly/id6755750961
1•tn_•1h ago•1 comments

Show HN: I want to democratise Bloomberg Terminal

https://www.aulico.com/workspaces/new
2•lalalerodas•1h ago•1 comments

Profitability Matters More Than You Think

https://alphaarchitect.com/profitability/
2•conwy•1h ago•0 comments

Congress screwed up on the GENIUS act: stablecoin holders have fifth priority

https://creditslips.org/2025/12/02/sorry-to-break-it-to-you-geniuses-under-the-genius-act-the-hol...
2•semiquaver•1h ago•1 comments

AI toys for kids talk about sex and issue CCP talking points, tests show

https://www.nbcnews.com/tech/tech-news/ai-toys-gift-present-safe-kids-robot-child-miko-grok-alilo...
4•greesil•1h ago•1 comments