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•1y ago

Comments

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

The employment effects of ICE enforcement in US cities

https://www.brookings.edu/articles/ice-enforcement-employment-effects-us-cities/
1•tolerance•4m ago•0 comments

How the Enhanced Games tripped over its own shoelaces

https://www.ft.com/content/d0e3f4c5-a0cb-488e-9a83-ac1489067ce3
1•Cider9986•6m ago•1 comments

Jekyll Plugins

https://github.com/planetjekyll/awesome-jekyll-plugins
1•ankitg12•6m ago•0 comments

Ask HN: What Is the State of App Development in 2026?

2•karakoram•7m ago•0 comments

Danish pension fund blacklists SpaceX, says way overvalued with bad governance

https://thenextweb.com/news/danish-pension-spacex-blacklist-governance-overvalued
1•NewCzech•7m ago•0 comments

Jqwik test suite prints hidden prompt to delete all tests and code

https://github.com/jqwik-team/jqwik/issues/708
1•gkfasdfasdf•7m ago•0 comments

Video Games vs. Horse

https://parryeverything.com/tag/totk/
1•firephox•8m ago•0 comments

Durex sales hit by China's condom crackdown

https://www.ft.com/content/aa93c976-b640-490a-90fb-fdf7cc2b5332
1•Cider9986•12m ago•3 comments

Company spent $500M on Claude AI in one month after forgetting usage limits

https://techstartups.com/2026/05/28/company-accidentally-spent-500-million-on-claude-ai-in-one-mo...
2•cratermoon•14m ago•0 comments

Regex engine internals as a library (2023)

https://burntsushi.net/regex-internals/
1•tosh•20m ago•0 comments

Is your government quietly making you poorer?

https://julienreszka.github.io/economic-simulator/qa/does-more-spending-reduce-growth/
1•julienreszka•25m ago•0 comments

Bread Price-Fixing in Canada

https://en.wikipedia.org/wiki/Bread_price-fixing_in_Canada
2•montyanderson•26m ago•0 comments

PCMFlowG722 wideband (HD voice) codec for ESP32

https://github.com/tanakamasayuki/PCMFlowG722
1•zdw•28m ago•0 comments

An Open Letter to Everyone I've Butted Heads with (2025)

https://andrewkelley.me/post/open-letter-everyone-butted-heads.html
1•Tomte•29m ago•0 comments

Mistral says Europe has two years to build its own AI infrastructure

https://www.businessinsider.com/mistral-ai-summit-europe-ai-future-waking-up-2026-5
1•lucamark•30m ago•0 comments

First Windows PCs powered by Nvidia chips to debut next week

https://www.axios.com/2026/05/30/nvidia-microsoft-pcs-ai-surface-dell
2•Brajeshwar•30m ago•0 comments

A Probabilistic Algorithm for Repairing All Roads in Lebanon via Papal Visits

https://sigbovik.org/2026/proceedings.pdf#%5B%7B%22num%22%3A13%2C%22gen%22%3A0%7D%2C%7B%22name%22...
2•kmstout•32m ago•1 comments

Inside A High End Manhattan Strip Club

https://internetbimbo.substack.com/p/inside-a-high-end-manhattan-strip
1•chatmasta•33m ago•0 comments

Why OpenBSD Rocks

https://why-openbsd.rocks/fact/
1•csmantle•33m ago•1 comments

Three bugs that aren't in dial9

https://dial9-rs.github.io/blog/3-bugs-that-arent-in-dial9/
1•rusbus•34m ago•0 comments

VS Code is the new punch card

https://akitaonrails.com/en/2026/04/11/vs-code-is-the-new-punch-card/
2•SchwKatze•34m ago•0 comments

Tripo now supports 8K texture generation for 3D models

https://www.tripo3d.ai/blog/tripo-8k-texture
2•764261457•35m ago•1 comments

Regular Expression Matching: The Virtual Machine Approach (2009)

https://swtch.com/~rsc/regexp/regexp2.html
1•tosh•39m ago•0 comments

KL Zero: KL divergence intuition game

https://klzero.sarna.dev
2•psarna•43m ago•0 comments

MP3s from Google Drive in Music Assistant on Home Assistant

https://blog.tomayac.com/2026/05/30/your-mp3s-from-google-drive-in-music-assistant-on-home-assist...
2•tomayac•46m ago•0 comments

The Age of Global Un-Order

https://www.project-syndicate.org/onpoint/geopolitics-in-a-world-without-order-by-mark-leonard-20...
2•mooreds•48m ago•1 comments

I run gratitude circles (2025)

https://mxstbr.com/notes/gratitude-circles
1•mooreds•49m ago•0 comments

A.I. Doesn't Have to Mean Layoffs a French Multinational, Schneider Electric

https://www.nytimes.com/2026/05/29/business/economy/ai-jobs-productivity.html
1•pgrote•49m ago•0 comments

Was I Married to a Stranger? (2023)

https://www.nytimes.com/2023/06/30/style/modern-love-married-to-a-stranger.html
1•mooreds•49m ago•0 comments

Hookwarden: Find missing webhook signature verification(JS/TS,Python,PHP)

https://github.com/Hookwarden/hookwarden
1•adelinalipsa•51m ago•0 comments