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.

When volcanic ash stopped a Jumbo at 37,000ft (2010)

http://news.bbc.co.uk/2/hi/uk_news/magazine/8622099.stm
1•downbad_•56s ago•0 comments

Humanities vs. Stem: Problems vs. Exploration

https://user8.bearblog.dev/humanities-vs-stem-problems-vs-exploration/
1•James72689•2m ago•0 comments

Code sandbox with hot reload for ESP32 devices

https://resident.inanimate.tech/
1•steveruizok•3m ago•0 comments

The Universal Money Address (UMA) Standard (2023)

https://www.lightspark.com/news/uma/announcing-the-universal-money-address-uma-standard
1•janandonly•10m ago•0 comments

Dust raises $40M Series B to scale multiplayer AI for human-agent collaboration

https://dust.tt/blog/series-b-multiplayer-ai
1•doppp•14m ago•0 comments

Could IPv6 have an edge over IPv4?

https://ssg.dev/could-ipv6-have-an-edge-over-ipv4/
1•sedatk•18m ago•0 comments

New API Models Launched

https://www.hpc-ai.com/blog/DeepSeek_V4_Pro_and_Flash
1•hpcaitech•19m ago•0 comments

MeetMarket: Alternative Gay Hookup App

https://meetmarket.io/welcome
1•trulyhnh•22m ago•0 comments

Show HN: Yes, I vibed coded something But not sure what to do with it

https://trustenvelope.com/
1•ebfe1•22m ago•0 comments

Noyb success: ORF.at must correct misleading cookie banner

https://noyb.eu/en/noyb-success-orfat-must-correct-misleading-cookie-banner
3•latexr•22m ago•0 comments

Dire wolf brought back from extinction after 13,000 years [video]

https://www.youtube.com/watch?v=uxo2xIBe_0Y
1•mgh2•24m ago•0 comments

LatConnect60 investment round: AUKUS HiRes SWIR Satellite constellation

https://spacenews.com/latconnect-60-announces-accelerated-growth-investment-round-to-build-aukus-...
2•defrost•29m ago•0 comments

Gelatine Sculpt: The Secret to Lean Muscle and Tight Skin

https://finance.yahoo.com/sectors/healthcare/articles/gelatine-sculpt-exploding-2026-viral-142500...
1•sarynalp•31m ago•0 comments

Ukkonen's suffix tree algorithm in plain English

https://stackoverflow.com/questions/9452701/ukkonens-suffix-tree-algorithm-in-plain-english
1•cl3misch•35m ago•0 comments

Merlin to Bring Military Autonomy Platform to Commercial Air Cargo

https://www.flyingmag.com/merlin-military-autonomy-commercial-cargo/
1•geox•36m ago•0 comments

Rational quantum mechanics: Testing quantum theory with quantum computers

https://dx.doi.org/10.1073/pnas.2523350123
2•p4bl0•40m ago•2 comments

Achiving 900M Lines of the OIN Linux System Table

https://www.softwareheritage.org/2026/05/18/oin-linux-system-table-software-heritage-archive/
1•pabs3•43m ago•0 comments

Yearslong fight over users' right to tweak smart TV software heads to trial

https://arstechnica.com/gadgets/2026/05/inside-the-fight-to-force-vizio-to-share-linux-based-sour...
2•pabs3•48m ago•1 comments

SpaceX's historic IPO plans: Billions in losses and Musk's ownership

https://www.cnbc.com/2026/05/20/spacex-ipo-live-updates.html
3•1vuio0pswjnm7•51m ago•3 comments

Déjà moo: cows can recognise the faces of people they know

https://www.thetimes.com/uk/science/article/cattle-ability-recall-human-faces-ttn6v0nns
3•petethomas•53m ago•0 comments

BoE Governor says Plans to limit food prices 'not sustainable'

https://www.thetimes.com/business/economics/article/m-and-s-boss-attacks-preposterous-food-price-...
1•petethomas•56m ago•0 comments

I 100% vibecoded a webgame that makes money

https://gunguesser.com
2•abhahbnar•1h ago•1 comments

Musk's SpaceX Reveals Its Finances for the First Time

https://www.nytimes.com/2026/05/20/technology/elon-musk-spacex-ipo.html
2•1vuio0pswjnm7•1h ago•1 comments

Show HN: SkinMax – AI Skin Care Coach

https://howolddoyoulook.com/app
1•beast200•1h ago•0 comments

Anthropic says it's about to have its first profitable quarter

https://techcrunch.com/2026/05/20/anthropic-says-its-about-to-have-its-first-profitable-quarter/
1•nl•1h ago•1 comments

Jeff Bezos says bottom half of earners should pay zero in income taxes

https://www.cnbc.com/2026/05/20/jeff-bezos-income-taxes.html
1•khutorni•1h ago•2 comments

OpenAI Stargate: where the US sites stand

https://epoch.ai/blog/openai-stargate-where-the-us-sites-stand
2•nl•1h ago•0 comments

Meta Begins Laying Off Employees as It Transforms Around AI

https://www.wsj.com/tech/ai/meta-begins-laying-off-thousands-of-employees-as-it-transforms-around...
3•1vuio0pswjnm7•1h ago•0 comments

Wispr Flow Is Broken

https://old.reddit.com/r/WisprFlow/comments/1thejf4/wisprflow_what_is_going_on/
1•ayushchat•1h ago•0 comments

Put yourself in a loop with your coding agents

https://github.com/AsteroidHunter/expediter
2•AsteroidHunter•1h ago•3 comments