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.

Has academia become institutionally narcissistic?

https://philpapers.org/rec/JOVTAF
1•thestructuralme•4m ago•0 comments

NELA – Net-Based Executable Logic Automaton

https://github.com/heikowagner/nela-lang
1•chrisch•4m ago•0 comments

Dark Bio [pdf]

https://dark.bio/whitepaper.pdf
1•ricochet11•6m ago•0 comments

Show HN: A small game where you have to guess the stars of GitHub repositories

https://starguessr.vincentwill.com/
1•Vincenius•8m ago•0 comments

Enhanced Games: Think Olympics with No Rigid Doping Rules

https://www.npr.org/2026/05/24/nx-s1-5831252/enhanced-games-steroids-olympics-trump
1•signa11•11m ago•0 comments

24/7 Renewables Outcompete Fossil Fuels on Costs

https://www.irena.org/News/pressreleases/2026/May/24-7-Renewables-Outcompete-Fossil-Fuels-on-Firm...
1•xbmcuser•14m ago•0 comments

Trump admin shutting key US researchers out of global virus response talks

https://www.cnn.com/2026/05/25/politics/global-virus-response-trump-administration
2•doener•21m ago•0 comments

Dangerously-skip-permissions is the only safe mode

https://www.granola.ai/blog/dangerously-skip-permissions-is-the-only-safe-mode
1•p44v9n•26m ago•0 comments

Maybe Don't Rely on Google's "Modern Web Guidance"

https://adrianroselli.com/2026/05/maybe-dont-rely-on-googles-modern-web-guidance.html
1•moebrowne•26m ago•0 comments

Chinese Room re-visited: How LLM's have real but different understanding of word

https://www.lesswrong.com/posts/PpCHgKsg2xDdPDQhu/the-chinese-room-re-visited-how-llm-s-have-real...
2•stevefan1999•30m ago•0 comments

Market Makers Print Money

https://zozo123.github.io/market-making-sandbox/
1•zozo123-IB•30m ago•0 comments

Owl 3: A minimalist UI framework built on Signals and Proxies

https://odoo.github.io/owl/documentation/v3/owl/
2•pointedulac•31m ago•0 comments

BadHost – CVE-2026-48710 Starlette Host-Header Auth Bypass

https://mcp-scan.nemesis.services/
2•ylk•32m ago•1 comments

Proposals for cyber-propaganda de-escalation

https://www.tandfonline.com/eprint/3VSGIKQQFNMBQXMCS7BR
1•instagraham•34m ago•0 comments

Agile, as we know it, is disappearing

https://ajagara.com/en/blog/agile-wie-wir-es-kennen-verschwindet/
1•fcse•34m ago•0 comments

India moves a step closer to 114 Rafales deal: 'LoR ready to be sent to France'

https://timesofindia.indiatimes.com/india/india-moves-a-step-closer-to-114-rafales-deal-lor-for-m...
2•vrganj•34m ago•0 comments

Spent an afternoon on a perf issue that 56 bytes of padding fixed

https://cong-or.xyz/false-sharing-cache-lines
1•cong-or•38m ago•0 comments

GPU-Accelerated Alpha Factor Discovery: 30x Faster Than Python GPLearn

https://medium.com/@DolphinDB_Inc/30x-faster-alpha-factor-mining-the-gpu-edge-every-quant-needs-5...
2•CrazyTomato•39m ago•0 comments

How Claude helped me to find a RCE in XReader/Evince/Atril

https://medeiros.zip/posts/CVE-2026-46529-evince
1•0x38B•39m ago•0 comments

End of an Era: Iconic Shibuya Hands to Close After 48 Years

https://spoon-tamago.com/iconic-shibuya-hands-to-close-november/
1•thm•39m ago•0 comments

Build High-Frequency Order Books from Tick Data

https://medium.com/@DolphinDB_Inc/build-high-frequency-order-books-from-tick-data-9da2a6cc2fcf
2•Polly_Liu•42m ago•0 comments

Physical Lens on the Cell

https://physicallensonthecell.org/
1•o4c•45m ago•0 comments

PrivatePulse – Estimate what your private company equity is worth today

https://www.privatepulse.online
1•OscarDK•46m ago•0 comments

It's Hot, Close the Windows

https://www.eneigualauno.com/mental/meanderings/2026/05/25/hot-close-the-window.html
2•reallydontask•48m ago•0 comments

Medieval King Arthur manuscript could fetch £2M at auction

https://www.theguardian.com/books/2026/may/26/medieval-king-arthur-manuscript-auction
2•sandebert•52m ago•0 comments

Inside Google’s Agentic Search Revolution

https://puck.news/inside-googles-agentic-search-revolution/?sharer=425101&token=b032e98a72528abbe...
2•thm•53m ago•0 comments

Checking the math behind OpenAI and Anthropic's latest headlines

https://garymarcus.substack.com/p/checking-the-math-behind-openai-and
2•ColinWright•53m ago•0 comments

How to write code, miss every deadline, and make everyone miserable

https://github.com/Senuto/nodeshub-seo-skills
1•NodesHub•55m ago•1 comments

Scoped Error in Rust

https://kanru.info/scoped-error/
2•fanf2•57m ago•0 comments

The robots are replacing the packages

https://spatie.be/blog/the-robots-are-replacing-the-packages
1•moebrowne•1h ago•0 comments