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

Comments

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

Golden Rules for Making Money (1880)

https://www.fourmilab.ch/etexts/www/barnum/moneygetting/
1•downbad_•41s ago•1 comments

How AI Is Replacing Us and Reinventing the Way We Work as a Software Consultancy

https://upsidelab.io/blog
1•vast-alive•1m ago•0 comments

Between Clay and Light: A Quranic Framework for the Age of Intelligence

https://aliasaria.ca/posts/between-clay-and-light/
1•aliasaria•2m ago•0 comments

New Study Finds That ADHD Has 9 Categories of Symptoms

https://www.psychologytoday.com/au/blog/brain-curiosities/202604/new-study-finds-that-adhd-has-9-...
1•ivewonyoung•5m ago•0 comments

Framework 13 Pro

https://frame.work
6•simonjgreen•5m ago•0 comments

Ask HN: Can you listen to podcasts while working?

1•NourEddineX•7m ago•0 comments

Framework Laptop 13 Pro

https://frame.work/laptop13pro
5•Trollmann•7m ago•0 comments

Show HN: Muxforge Tmux Plugin Manager

https://muxforge.dev
1•techalchemist•9m ago•0 comments

Cal.diy: open-source community edition of cal.com

https://github.com/calcom/cal.diy
1•petecooper•9m ago•0 comments

Show HN: Partial-zod – streaming JSON parser for LLMs (zero deps, Zod-native)

https://github.com/miller-joe/partial-zod
1•millerjoe•9m ago•0 comments

Framework [Next Gen] Event | 2026 Launch Event[video]

https://www.youtube.com/watch?v=uqFDIR00Mwo
3•RebootStr•10m ago•0 comments

Show HN: New way to explore code in vs. code ( vs. code extension)

https://marketplace.visualstudio.com/items?itemName=AhmedRakan.structura-v2
1•araldhafeeri•13m ago•0 comments

I think the bots don't like me anymore

https://peateasea.de/i-think-the-bots-dont-like-me-anymore/
2•speckx•15m ago•0 comments

Michio Kaku "number of dead/missing American scientists "cause for natl concern"

https://www.newsweek.com/michio-kaku-dead-missing-scientists-national-concern-11849401
3•fsckboy•17m ago•0 comments

AI and the Emerging Geography of American Job Risk

https://digitalplanet.tufts.edu/ai-and-the-emerging-geography-of-american-job-risk-page/
1•rafaelc•17m ago•1 comments

Firefox Smart Window

https://www.firefox.com/en-US/smart-window/
10•shutty•22m ago•1 comments

ChatGPT Recommends the Same 3 Companies to Every B2B Buyer. Until They Specify

https://growtika.com/blog/chatgpt-b2b-persona-recommendations
4•Growtika•22m ago•0 comments

Show HN: Wreflecto – word puzzle inspired by the ancient SATOR Square

https://wreflecto.com/mirror
1•nowflux•22m ago•1 comments

'Wagyu' Used to Guarantee Quality Beef. What Are You Paying for Today?

https://www.nytimes.com/2026/04/21/dining/wagyu-beef.html
1•JumpCrisscross•22m ago•0 comments

The Bottleneck Has Moved

https://substack.com/home/post/p-193101671
1•speckx•25m ago•0 comments

CIQ Bets on Compliance: Can Linux Deliver Federal Crypto/Post-Quantum Readiness?

https://futurumgroup.com/insights/ciq-bets-on-compliance-can-enterprise-linux-really-deliver-fede...
1•losgehts•25m ago•0 comments

Software Is Speech: Why Regulators Cannot Invent the Missing Middlemen [pdf]

https://www.coincenter.org/app/uploads/2026/04/Software-is-Speech-Coin-Center.pdf
2•pr337h4m•26m ago•0 comments

Performance of the Wren Programming Language

https://wren.io/performance.html
2•fanf2•26m ago•0 comments

Show HN: A Browser Extension for Testing Content Security Policy

https://csptool.net/
1•bootbloopers•26m ago•0 comments

The Rise of CliffsNotes Cinema

https://www.theatlantic.com/culture/2026/04/book-movie-adaptation-hamlet-wuthering-heights-vibes/...
1•JumpCrisscross•26m ago•0 comments

Meta capturing employee mouse movements, keystrokes for AI training data

https://economictimes.indiatimes.com/tech/technology/meta-to-start-capturing-employee-mouse-movem...
10•dlx•27m ago•0 comments

Google Starts Scanning All Your Photos as New Update Goes Live

https://www.forbes.com/sites/zakdoffman/2026/04/20/google-starts-scanning-all-your-photos-as-new-...
4•ZeidJ•27m ago•0 comments

Show HN: Hydra – Never stop coding when your AI CLI hits a rate limit

https://github.com/saadnvd1/hydra
1•saadn92•28m ago•0 comments

Lookalike3D: Seeing Double in 3D

https://arxiv.org/abs/2603.24713
1•PaulHoule•29m ago•0 comments

Who will monetize truth? [pdf]

https://appliedxl.com/research/who-will-monetize-truth-pdf.pdf
1•JamesSebi•30m ago•0 comments