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

Comments

llm-exe•10mo 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•10mo 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 Department of War is making a mistake [video]

https://www.youtube.com/watch?v=KBPOTklFTiU
1•ipnon•2m ago•0 comments

How do you handle state persistence in non-orientable data structures?

https://zenodo.org/records/18942850
1•MareSerenitatis•4m ago•1 comments

What happens if OpenAI or Anthropic fail?

https://www.reuters.com/commentary/breakingviews/what-happens-if-openai-or-anthropic-fail-2026-03...
3•billybuckwheat•4m ago•0 comments

Ask HN: Is Github Down Again?

https://twitter.com/m0nle0z/status/2031910716790517895
2•doanbactam•6m ago•2 comments

Why America Is Losing the War with Iran

https://chrishedges.substack.com/p/why-america-is-losing-the-war-with
5•chmaynard•6m ago•0 comments

I made a Chrome extension to export an entire Gemini chat

2•backrun•7m ago•0 comments

10 Years Later, I Reverse-Engineered iCloud's SyncToken by Brute Force

https://robhooper.xyz/blog-synctoken.html
2•rhoopr•8m ago•0 comments

Scalable quantum batteries can charge faster than their classical counterparts

https://phys.org/news/2026-03-scalable-quantum-batteries-faster-classical.html
1•Brajeshwar•9m ago•0 comments

Big Tech backs Anthropic in fight against Trump administration

https://www.bbc.com/news/articles/c4g7k7zdd0zo
3•jethronethro•10m ago•0 comments

Tunneling Nanotube

https://en.wikipedia.org/wiki/Tunneling_nanotube
1•rolph•12m ago•0 comments

The New York Times hated crossword puzzles before it embraced them

https://bigthink.com/pessimists-archive/new-york-times-hated-crossword-puzzles-wordle/
1•michaeld123•13m ago•1 comments

Live Coding with Caffeine

https://caffeine.js.org/talks/2018-08-25-demos-teaser/#/title
2•coliveira•13m ago•0 comments

I Don't Destroy Snowmen

https://writings.hongminhee.org/2026/01/ethics-of-small-actions/
4•foxfired•14m ago•1 comments

The First Telephone Call

https://theconversation.com/the-story-of-the-first-telephone-call-nine-words-that-changed-the-wor...
3•gmays•19m ago•0 comments

Grammarly Hit with Class-Action Suit over AI Identity Theft

https://www.techbuzz.ai/articles/grammarly-hit-with-class-action-suit-over-ai-identity-theft
2•twalichiewicz•20m ago•0 comments

Resume AI Analysis and Tailoring Portal

https://resume-elevator.com/
1•videsh•20m ago•0 comments

I Built a Reddit Alternative

https://exitapp.social
1•oligopoly_2•21m ago•1 comments

Optimizing for Decision Points

https://narphorium.com/blog/decision-points/
1•narphorium•23m ago•1 comments

BlackRock Launches $100M Skilled Trades Initiative

https://www.blackrock.com/corporate/newsroom/press-releases/article/corporate-one/press-releases/...
1•toomuchtodo•27m ago•0 comments

5 Games I Use to Teach English as an Alt

https://landenlove.com/five-games-i-use-to-teach-english/
1•LandenLove•28m ago•0 comments

Duckstation is ending Android support

https://www.androidauthority.com/duckstation-ends-android-support-3648430/
1•flykespice•28m ago•0 comments

Browserbase Founder Rejected by 500 Internships before founding $300M company [video]

https://www.youtube.com/watch?v=Eyuo1kG_APQ
4•dutilh•32m ago•0 comments

Apple releases iOS 15.8.7 to fix Coruna exploit for iPhone 6S from 2015

https://support.apple.com/en-us/126632
36•seam_carver•36m ago•8 comments

Show HN: Hyper, AI voice notes for spontaneous conversations

https://gethyper.space/
3•shainvs•38m ago•0 comments

Show HN: SwarmClaw – Manage a swarm of OpenClaw agents from one self-hosted UI

https://github.com/swarmclawai/swarmclaw
3•jamesweb•38m ago•0 comments

Halide cofounder Sebastiaan de With joins Apple's design team

https://9to5mac.com/2026/01/28/halide-cofounder-sebastiaan-de-with-joins-apples-design-team/
3•CharlesW•39m ago•1 comments

Paradise Episode 1 (KRAZAM)

https://www.youtube.com/watch?v=AS9y-d2BvZU
2•parkaboy•40m ago•0 comments

How much of HN is AI?

https://lcamtuf.substack.com/p/how-much-of-hn-is-ai
24•surprisetalk•43m ago•3 comments

The iPhone 17e

https://daringfireball.net/2026/03/the_iphone_17e
2•vismit2000•44m ago•0 comments

Watershed Moment for AI–Human Collaboration in Math

https://spectrum.ieee.org/ai-proof-verification
2•Brajeshwar•50m ago•0 comments