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.

Altman and Brockman Self-Dealing on Cerebras

https://twitter.com/ns123abc/status/2051455685838209470
1•davedx•1m ago•0 comments

Adaptive CLI framework for Go – interactive input, structured output, themes

https://github.com/nabat-dev/nabat
1•atkrad•1m ago•0 comments

Universal Dreamcast Patcher v2.0.0

https://github.com/DerekPascarella/UniversalDreamcastPatcher/
1•XzetaU8•4m ago•0 comments

Healing After a Decade of Betrayal and Heartbreak

https://etechx.co.ke/healing-after-a-decade-of-betrayal-and-heartbreak
1•ndegekm•5m ago•0 comments

The True Fruits of the Past That Needs Your Respond

https://etechx.co.ke/the-true-fruits-of-the-past-that-needs-your-respond
1•ndegekm•5m ago•0 comments

Google Chrome silently installs a 4 GB AI model on your device without consent

https://www.thatprivacyguy.com/blog/chrome-silent-nano-install/
2•john-doe•6m ago•0 comments

Digital quantum magnetism on a trapped-ion quantum computer

https://www.nature.com/articles/s41586-026-10445-3
1•thinkingemote•6m ago•0 comments

Coinbase Advisers Warn Quantum Computing Will Crack Blockchain Encryption

https://thequantuminsider.com/2026/04/25/coinbase-advisers-warn-quantum-computing-will-crack-bloc...
1•amelius•9m ago•0 comments

Testosterone eliminates strategic prosocial behavior in healthy males

https://www.nature.com/articles/s41386-023-01570-y
1•thinkingemote•9m ago•0 comments

Poor Decision Practices in (Tech) Management

https://placementist.com/insights/a-guide-of-poor-decision-practices-in-management-for-technical-...
1•nikkotyze•9m ago•0 comments

THEC64 Handheld

https://www.c64os.com/post/thec64handheld
2•bw86•12m ago•0 comments

Show HN: Brainio – Markdown notepad that turns notes into visual mind maps

https://brainio.com/
1•havlenao•12m ago•2 comments

I abused PostHog's setup wizard to get free Claude access

https://techstackups.com/articles/i-abused-posthogs-setup-wizard-to-get-free-claude-access/
1•ritzaco•13m ago•0 comments

The Frog for Whom the Bell Tolls

https://sethmlarson.dev/the-frog-for-whom-the-bell-tolls
2•anujbans•15m ago•0 comments

RAG vs. Fine-Tuning: Which AI Strategy Saves Your Team Time and Budget

https://lightrains.com/blogs/rag-vs-fine-tuning-enterprise-ai/
2•niksmac•15m ago•0 comments

Async Rust never left the MVP state

https://tweedegolf.nl/en/blog/237/async-rust-never-left-the-mvp-state
3•pjmlp•15m ago•0 comments

Shoppers falsely identified by facial recognition system struggle to clear names

https://www.theguardian.com/technology/2026/may/03/guilty-until-proven-innocent-shoppers-falsely-...
1•alibarber•18m ago•0 comments

Cleveland Clinic, Riken, and IBM Model a 12,635-Atom Protein

https://newsroom.ibm.com/2026-05-05-cleveland-clinic,-riken,-and-ibm-model-a-12,635-atom-protein-...
1•sokols•22m ago•0 comments

Counting wires and insulators on poles using AI (using open-source Revdoku)

https://revdoku.com/cases/utility-pole-wire-insulator-count/
1•eummm•22m ago•0 comments

Why is event discovery still so fragmented?

https://sochely.com/
2•godimittry90•24m ago•0 comments

Browser extension that hooks fetch() to track Claude.ai token usage

https://github.com/Krabby24/claude-token-tracker
1•krabby24•24m ago•0 comments

Yazi – Fast Terminal File Manager

https://github.com/sxyazi/yazi
1•lastdong•27m ago•0 comments

What's Inside a Kubernetes Service?

https://blog.kubesimplify.com/how-a-kubernetes-service-actually-works-and-all-5-types-you-need
2•saiyampathak•28m ago•0 comments

Germany's solar installations drop while new battery storage hits record

https://www.cleanenergywire.org/news/germanys-solar-installations-drop-while-new-battery-storage-...
3•leonidasrup•31m ago•1 comments

Remodex: Control Codex from Your iPhone

https://github.com/Emanuele-web04/remodex
1•steveharing1•31m ago•1 comments

Constraint Programming

https://developers.google.com/optimization/cp
2•wolfi1•31m ago•0 comments

On-Device AI Coming to React Native with Gemma and React Native Executorch

https://twitter.com/swmansion/status/2051323788793352496
2•kuligkar•31m ago•0 comments

Node-Firebird-Driver-Wire

https://asfernandes.github.io/2026/05/04/node-firebird-driver-wire
1•mariuz•32m ago•0 comments

Csvtocsv – any CSV to any CSV, fixes the stuff that breaks imports

https://csvtocsv.com/
3•jakubtutaj_pl•35m ago•0 comments

Lessons for Agentic Coding: What should we do when code is cheap?

https://www.dbreunig.com/2026/05/04/10-lessons-for-agentic-coding.html
5•ingve•35m ago•2 comments