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

Comments

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

Intermittent fasting no better than typical weight loss diets

https://www.theguardian.com/science/2026/feb/16/intermittent-fasting-no-better-than-typical-weigh...
1•paulpauper•20s ago•0 comments

A World Where All Is Free? That's Elon Musk's Theory of Abundance

https://www.nytimes.com/2026/02/27/business/a-world-where-all-is-free-thats-elon-musks-theory-of-...
1•paulpauper•1m ago•0 comments

Amiga Alien Breed HD

https://old.reddit.com/r/amiga/comments/1rh7743/alien_breed_hd/
1•doener•1m ago•0 comments

My 24 Rules for Reading

https://www.honest-broker.com/p/my-24-rules-for-reading
1•paulpauper•1m ago•0 comments

Khamenei dead, say US and Israel

https://www.reuters.com/world/iran-crisis-live-explosions-tehran-israel-announces-strike-2026-02-28/
1•andrepd•2m ago•0 comments

What are GPS jammers and how do you combat them?

https://www.geotab.com/blog/combating-gps-jammers/
1•RyanShook•2m ago•0 comments

Show HN: Lovepdf – open-source self hosting alternative to ilovepdf

https://github.com/rtvkiz/lovepdf
1•theoo21•3m ago•0 comments

Show HN: Focusmo – a Mac focus app with a local Claude MCP server

https://focusmo.app
1•elesinn•4m ago•0 comments

There Are No Psychopaths

https://aeon.co/essays/psychopathy-is-a-zombie-idea-why-does-it-cling-on
1•marojejian•4m ago•1 comments

AI, Networks and Mechanical Turks

https://www.ben-evans.com/benedictevans/2025/11/23/ai-networks-and-mechanical-turks
1•simonebrunozzi•5m ago•0 comments

You don't have to if you don't want to

https://www.scottsmitelli.com/articles/you-dont-have-to/
1•yshklarov•5m ago•0 comments

Flixtera: Download and own your movies and TV Shows forever, not rent it

https://flixtera.xyz
1•monyasau•8m ago•1 comments

Show HN: Memory Engine – AI Consciousness Persistence Framework

https://github.com/andresuarus10-byte/memory-engine
1•KaelyrAT•11m ago•0 comments

Show HN: Flare – Full-Stack OpenTelemetry Observability for Apache Spark

https://github.com/Neutrinic/flare
1•ZenithR9•12m ago•0 comments

A terminal-based KeePass password manager

https://github.com/shikaan/keydex
1•shikaan•13m ago•0 comments

India Blocks the Supbase.co

https://techcrunch.com/2026/02/27/india-disrupts-access-to-popular-developer-platform-supabase-wi...
1•pratikshit08•13m ago•0 comments

Reified Generics in PHP

https://github.com/php/php-src/pull/21317
1•mastabadtomm•17m ago•0 comments

Ask HN: Article to share with a technical manager about modern AI coding tools?

3•killmill•18m ago•0 comments

I'm So Used to Gay Tragedies That I Almost Missed Romance

https://www.nytimes.com/2026/02/27/arts/television/heated-rivalry-gay-representation-connor-storr...
1•whack•19m ago•0 comments

The Death of Khamenei and the End of an Era

https://www.theatlantic.com/international/2026/02/death-khamenei-end-era/686196/
1•harscoat•20m ago•1 comments

"The Candy Factory": Life Inside a Singular Artists' Enclave in Brooklyn [video]

https://www.youtube.com/watch?v=TyqZp-XtFzo
2•CharlesW•28m ago•0 comments

Waiting, Not Seeking: Reading as Resistance

https://carlhendrick.substack.com/p/waiting-not-seeking-reading-as-resistance
2•Tomte•29m ago•0 comments

Is Faschism Back?

https://www.youtube.com/watch?v=GV8KGcFqeLc
1•penguin_booze•29m ago•0 comments

"We do not think Anthropic should be designated as a supply chain risk"

https://twitter.com/OpenAI/status/2027846016423321831
7•golfer•29m ago•0 comments

The Magic Behind Cloudflare's Encryption Lava Lamps (2024)

https://www.cybher.org/2024/08/02/the-magic-behind-cloudflares-encryption-lava-lamps/
1•rantingdemon•30m ago•0 comments

I Ejected Myself Off a Truck at 80 km/h [video]

https://www.youtube.com/watch?v=jV96uhFWgmA
2•CharlesW•30m ago•0 comments

Open PDF Studio: A free, open-source PDF editor and annotator

https://github.com/OpenAEC-Foundation/open-pdf-studio
1•maxloh•33m ago•0 comments

Iran's supreme leader killed in strike, Israeli officials say

https://www.washingtonpost.com/world/2026/02/28/israel-strikes-iran-live-updates/
4•harscoat•34m ago•0 comments

Ask the clankers, then ask the humans

https://asktheclanker.com/
1•exa_byte•35m ago•0 comments

MinIO Is Dead, Long Live MinIO

https://blog.vonng.com/en/db/minio-resurrect/
6•zufallsheld•37m ago•0 comments