frontpage.
newsnewestaskshowjobs

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.

Free Image Compressor and WebP/AVIF Converter – Runs in the Browser

https://codequest.work/generator/image-compressor/en/
1•ORECTIC•10m ago•0 comments

Liquid Glass Generator – Recreate Apple's Liquid Glass UI with WebGL (Free)

https://codequest.work/generator/liquid-glass-generator/en/
1•ORECTIC•11m ago•0 comments

How to Hack a Superyacht

https://thewalrus.ca/how-to-hack-a-superyacht/
3•billybuckwheat•11m ago•0 comments

RIP Joshua Baer. Founder of Capital Factory, Austin incubator, died in jet crash

https://cbsaustin.com/news/local/capital-factory-ceo-joshua-baer-killed-in-plane-crash-near-lared...
2•dv35z•12m ago•1 comments

Typical Home Will Cost $1M as Millennials Hit Retirement, Economist Says

https://www.realtor.com/news/trends/home-prices-forecast-nar-lawrence-yun-2026/
1•littlexsparkee•12m ago•0 comments

Ukraine hits Moscow refinery again

https://www.reuters.com/world/europe/russia-attacks-kyiv-with-missiles-local-authorities-say-2026...
1•JumpCrisscross•18m ago•0 comments

Show HN: Automatically Validate Python Packages

https://pypi.org/project/validatedata/
1•EdwardK1•21m ago•1 comments

Maslul – Smart LLM router – one call, the right model

https://github.com/iliatankelevich/maslul
1•iliatankelevich•24m ago•0 comments

I Hate Compilers

https://xeiaso.net/notes/2026/anubis-wasm-vendor-binary/
18•xena•31m ago•1 comments

Introducing Vercel Connect

https://vercel.com/blog/introducing-vercel-connect
3•MaxLeiter•32m ago•0 comments

The Teachers Getting $50k Bonuses Thanks to a Meta Data Center

https://www.wsj.com/us-news/education/the-teachers-getting-50-000-bonuses-thanks-to-a-massive-met...
3•tzury•32m ago•0 comments

Cursor and SpaceX: In search of a complete loop

https://kwokchain.com/2026/04/23/cursor-and-spacex-in-search-of-a-complete-loop/
3•jxmorris12•34m ago•0 comments

SF landlord killed tenant to clear Sunset home for sale, lawsuit alleges

https://sfstandard.com/2026/06/17/lawsuit-alleges-sf-landlord-killed-tenant-clear-home-sale/
4•arkadiyt•36m ago•0 comments

Ask HN: I miss Fable, anyone else does?

2•vrinda13•37m ago•0 comments

Amazon S3 Annotations

https://aws.amazon.com/blogs/aws/amazon-s3-annotations-attach-rich-queryable-context-directly-to-...
3•jacobwg•38m ago•0 comments

Ask HN: What's a prompt you've written that you're genuinely proud of?

4•akashwadhwani35•43m ago•1 comments

Show HN: Attagram, a tiny printer that gives kids a magical daily digest

https://www.attagram.com/
4•mvkel•45m ago•1 comments

Eve from Vercel

https://vercel.com/eve
4•MehrdadKhnzd•48m ago•1 comments

Bet on Centaurs

https://ajkprojects.com/bet-on-centaurs.html
3•ashleynewman•53m ago•0 comments

The Leading Deepfake Expert No Longer Trusts His Own Eyes

https://www.nytimes.com/2026/06/14/us/ai-deepfake-hany-farid.html
2•gmargari•56m ago•1 comments

Sigil – tamper-evident audit and signed scopes for LLM prompts

https://github.com/mr-gl00m/sigil
2•mr_gl00m•1h ago•0 comments

GitSwitcher – a macOS menu bar app for switching Git identities

https://www.botworker.org/
1•easonxia•1h ago•0 comments

Vulnerability Disclosure: Stealing Emails via Firefox's AI Features

https://insinuator.net/2026/06/vulnerability-disclosure-stealing-emails-via-firefoxs-ai-features/
5•_____k•1h ago•1 comments

Show HN: I built a tool which turns any website into promo video in minutes

https://www.clickcast.tech/
1•modulusme•1h ago•1 comments

An event-driven AI pipeline using FastAPI, Redpanda, and Docker

https://github.com/Infodatamatrix/AIKafkaPipelineDemo
1•infodatamatrix•1h ago•0 comments

Cervical cancer mortality trends following HPV vaccination in England, 2001–24

https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(26)00918-9/fulltext
3•asplake•1h ago•1 comments

BBC to axe Radio 4's The World Tonight after more than 50 years

https://www.theguardian.com/media/2026/jun/17/bbc-boss-compulsory-redundancies-cuts
8•mellosouls•1h ago•3 comments

YaFF – High-performance C++ serialization library

https://github.com/yandex/yaff
1•Hixon10•1h ago•0 comments

The Next Computing Revolution May Come from Stacking Chips Like Skyscrapers

https://scitechdaily.com/the-next-computing-revolution-may-come-from-stacking-chips-like-skyscrap...
1•g-b-r•1h ago•0 comments

'Most famous tree in the world': Sherwood Forest's 1000-year-old Major oak dies

https://www.theguardian.com/environment/2026/jun/18/most-famous-tree-world-sherwood-forest-ancien...
10•mellosouls•1h ago•0 comments