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

Comments

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

Show HN: ImmutableBase – Strict immutable data objects for PHP

https://github.com/ReallifeKip/ImmutableBase
1•bill402099•2m ago•0 comments

Show HN: Clickly – visual dev tool for mobile apps with real-time preview

https://clickly.app
1•roskoalexey•5m ago•0 comments

The Window Chrome of Our Discontent

https://pxlnv.com/blog/window-chrome-of-our-discontent/
1•tosh•18m ago•0 comments

"I built a spell checker for back end configuration mistakes."

https://www.npmjs.com/package/safelaunch
1•karthicedricq•18m ago•1 comments

ClaudeSmalltalk: An MCP implementation to interact with Smalltalk images

https://github.com/CorporateSmalltalkConsultingLtd/ClaudeSmalltalk
3•mpweiher•32m ago•0 comments

Show HN: Mb-CLI – CLI for Metabase. Designed for humans and AI coding agents

https://github.com/andreagrandi/mb-cli
2•andreagrandi•34m ago•0 comments

Show HN: Viral.ad – Turn any product URL into a UGC video ad in minutes

https://www.viral.ad/
2•cjdesignstudio•35m ago•1 comments

Show HN: I built a tool to manage work and personal Git repos

https://github.com/tomquirk/gitpersona
5•tomquirk•37m ago•0 comments

Show HN: Stopping OpenClaw from breaking your mails

https://github.com/HalfEmptyDrum/openclaw-gmail-draft-proxy
4•HalfEmptyDrum•41m ago•0 comments

Girl Scout Cookies

https://www.girlscouts.org/en/cookies.html
3•Tomte•43m ago•1 comments

Codex for Open Source

https://openai.com/form/codex-for-oss/
3•archb•53m ago•0 comments

China completes 3k-km green belt around Taklamakan desert (2024)

https://www.reuters.com/world/china/china-completes-3000-km-green-belt-around-its-biggest-desert-...
2•thunderbong•54m ago•0 comments

LLM Doesn't Write Correct Code. It Writes Plausible Code

https://twitter.com/katanalarp/status/2029928471632224486
3•danjc•58m ago•0 comments

Show HN: CC Usage Bar – Check Claude Code usage from your macOS menu bar

https://github.com/lionhylra/cc-usage-bar
1•root-cause•59m ago•1 comments

Nintendo DMCA takedown for several projects on GitHub

https://github.com/github/dmca/blob/master/2026/02/2026-02-12-nintendo.md
2•mtlebe•1h ago•0 comments

Show HN: Contrabass – Go and Charm Stack Implementation of OpenAI's Symphony

https://github.com/junhoyeo/contrabass
1•junhoyeo•1h ago•1 comments

Why New Zealand is seeing an exodus of over-30s

https://www.cnn.com/2026/03/06/world/new-zealand-australia-emigration-midlife-intl-hnk-dst
14•Tomte•1h ago•6 comments

Two mechanisms for dynamic type checks

https://wingolog.org/archives/2026/02/18/two-mechanisms-for-dynamic-type-checks
2•PaulHoule•1h ago•0 comments

Dupeless Reeducation

https://www.science.org/content/blog-post/dupeless-reeducation
3•Tomte•1h ago•0 comments

Show HN: RedwoodSDK (v1.0 in a Few Days)

https://rwsdk.com
2•pistoriusp•1h ago•0 comments

Show HN: SlideHTML – render HTML files as slides For AI

https://yourhrh.github.io/slidehtml/
2•creativegodong•1h ago•0 comments

Front End Rust Without Node

https://blog.urth.org/2022/02/14/frontend-rust-without-node
1•mahirsaid•1h ago•0 comments

What your phone knows could help scientists understand your health

https://news.stanford.edu/stories/2026/03/screenome-digital-habits-smartphone-mental-physical-health
3•XzetaU8•1h ago•0 comments

Scientists Transfer Longevity Gene

https://scitechdaily.com/scientists-successfully-transfer-longevity-gene-paving-the-way-for-exten...
3•thunderbong•1h ago•0 comments

AI Error May Have Contributed to Girl's School Bombing in Iran

https://thisweekinworcester.com/exclusive-ai-error-girls-school-bombing/
22•apolloartemis•1h ago•2 comments

How many options fit into a boolean?

https://herecomesthemoon.net/2025/11/how-many-options-fit-into-a-boolean/
1•luu•1h ago•0 comments

SK lays off nearly 1k workers at Georgia plant amid cooling automaker EV plan

https://apnews.com/article/georgia-electric-vehicle-battery-manufacturing-layoffs-workers-79a4ec7...
3•josephh•1h ago•0 comments

Ships in Gulf declare themselves Chinese to dodge attack

https://www.ft.com/content/eaecc3ce-ba4e-4e19-9d0a-6cf1536a5aed
7•KnuthIsGod•1h ago•0 comments

Doomscroll 14,333 cat pictures

https://cat.aadishv.dev/
4•aadishv•1h ago•4 comments

Unemployment Reasons, by Age and Education

https://flowingdata.com/2026/03/05/unemployment-reasons/
3•gslin•1h ago•2 comments