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

Comments

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

Will Google Become Our AI-Powered Central Planner?

https://www.thebignewsletter.com/p/will-google-organize-the-worlds-prices
1•verisimi•32s ago•0 comments

A New Data Interchange Format

1•JohnMatthias•38s ago•0 comments

More than 200k UK workers switch to four-day week since 2019 (2025)

https://www.theguardian.com/business/2025/aug/23/uk-workers-four-day-week
1•robtherobber•56s ago•0 comments

UK holds off joining Trump's Board of Peace over Putin concerns

https://www.bbc.co.uk/news/articles/cp9jj1j74ggo
2•treadump•2m ago•0 comments

I replaced my ChatGPT subscription with a 12GB GPU

https://www.xda-developers.com/replaced-chatgpt-subscription-with-12gb-gpu-never-looked-back/
1•0xedb•6m ago•0 comments

More sovereign US bases? I dont think so

https://www.taxresearch.org.uk/Blog/2026/01/22/more-sovereign-us-bases-i-dont-think-so/
1•treadump•6m ago•0 comments

Google Antigravity is currently down for many users

https://discuss.ai.google.dev/t/antigravity-models-are-not-loading-even-tough-my-account-is-succe...
1•maarut•6m ago•0 comments

The necessary post-Trump consensus

https://www.taxresearch.org.uk/Blog/2026/01/22/the-necessary-post-trump-consensus/
1•treadump•7m ago•0 comments

AliSQL – MySQL with DuckDB storage engine from Alibaba

https://github.com/alibaba/AliSQL
1•tamnd•8m ago•0 comments

The stable marriage problem. Or, ask for things

https://acotra.substack.com/p/the-stable-marriage-problem
1•sebg•10m ago•0 comments

Prototypes vs. classes was: Re: Sun's HotSpot (1998)

https://lists.squeakfoundation.org/pipermail/squeak-dev/1998-October/017019.html
1•mpweiher•17m ago•0 comments

Further scarcity: World leaders allegedly reduce NAND flash production

https://www.heise.de/en/news/Further-scarcity-World-leaders-allegedly-reduce-NAND-flash-productio...
1•zhouzhao•17m ago•0 comments

Apps for boycotting American products surge to the top of the Danish App Store

https://techcrunch.com/2026/01/21/apps-for-boycotting-american-products-surge-to-the-top-of-the-d...
2•croes•19m ago•0 comments

Garbage Collection Can Be Faster Than Stack Allocation (1986) [pdf]

https://www.cs.princeton.edu/~appel/papers/45.pdf
1•tosh•21m ago•0 comments

From Human Ergonomics to Agent Ergonomics

https://wesmckinney.com/blog/agent-ergonomics/
1•sebg•22m ago•0 comments

Trump Proposes "Great Healthcare Plan"

https://damienduncan.substack.com/p/trump-proposes-great-healthcare-plan
1•Politicrux•25m ago•0 comments

Show HN: BetterTTS – Offline Lifelike TTS Web Reader for Windows

https://apps.microsoft.com/detail/9nbmnx7233mb?hl=en-US&gl=US
1•iqraathemanuel•30m ago•0 comments

Show HN: Crackable- a Cryptography CTF Platform

https://crackable.xyz/
1•bl4ckstack•31m ago•0 comments

The importance of humidity control in textile processing

https://www.condair.co.uk/knowledge-hub/the-importance-of-humidity-control-in-textile-processing
1•thunderbong•31m ago•0 comments

Sources: The SGLang project becomes RadixArk with a valuation of US$400M

https://techcrunch.com/2026/01/21/sources-project-sglang-spins-out-as-radixark-with-400m-valuatio...
1•01-_-•31m ago•0 comments

Fix coverage documentation to clarify when data is saved

https://gitauto.ai/blog/how-to-detect-low-test-coverage-files-in-flutter
1•nishiohiroshi•32m ago•0 comments

OpenAI aims to ship its first device in 2026, and it could be earbuds

https://techcrunch.com/2026/01/21/openai-aims-to-ship-its-first-device-in-2026-and-it-could-be-ea...
2•01-_-•32m ago•0 comments

Researchers Identify Urban Atmosphere as Primary Reservoir of Microplastics

https://english.cas.cn/newsroom/research_news/earth/202601/t20260107_1145371.shtml
2•JeanKage•33m ago•0 comments

OCIO, Display Transforms and Misconceptions

https://chrisbrejon.com/articles/ocio-display-transforms-and-misconceptions/
1•ivanjermakov•35m ago•0 comments

The bacterial cell envelope as a morphogenetic code for biofilm development

https://connectsci.au/ma/article/46/4/227/262304/The-bacterial-cell-envelope-as-a-morphogenetic
1•PaulHoule•35m ago•0 comments

Microplastics from washing clothes could be hurting your tomatoes

https://www.washingtonpost.com/climate-environment/2026/01/14/microplastics-tomatoes-laundry/
2•JeanKage•37m ago•0 comments

Narrow Societies Create Strong Early-Stage Funds

https://theventures.substack.com/p/narrow-societies-create-strong-early
2•jefflee0127•37m ago•0 comments

Best Way to Export ChatGPT Conversations to PDF, Notion, Word, Google Docs

https://chromewebstore.google.com/detail/export-chatgpt-conversati/ploaaddkflkapjfbfapmkmkefigedefp
1•backrun•38m ago•2 comments

They fixed a typo with a human leg [video]

https://www.youtube.com/watch?v=dUkLYOPRYH4
1•iansteyn•38m ago•1 comments

Gilles' Take on Ora2pg vs. Hexarocket

https://hexacluster.ai/blog/ora2pg-vs-hexarocket-from-the-creator-of-ora2pg
1•jones_david•42m ago•1 comments