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.

Show HN: Chatty Lingo – A language practicing app

https://www.chattylingo.com
1•farstill•1m ago•0 comments

After Months of War, Trump Says Iran Has Right to Nuclear Program

https://newrepublic.com/post/212003/trump-iran-right-nuclear-program
2•embedding-shape•1m ago•0 comments

The Reason Anthropic's Models Are Offline: A Six-Year-Old Trump Grudge

https://www.techdirt.com/2026/06/16/apparently-the-real-reason-anthropics-models-are-offline-a-si...
1•ndesaulniers•1m ago•0 comments

Coinbase outage postmortem: AWS cooling failure caused cascading breakdown

https://www.infoq.com/news/2026/06/coinbase-aws-failure-postmortem/
1•indynz•3m ago•0 comments

Western Men Are Going Abroad to Find Traditional Wives

https://www.economist.com/culture/2026/04/16/western-men-are-going-abroad-to-find-traditional-wives
1•karakoram•3m ago•1 comments

Desmos Notebook Example Gallery

https://www.desmos.com/gallery/1b48bb5c-1f75-4891-aa51-126bbd7b528f
1•aragonite•4m ago•0 comments

How to check if a macOS app can access the Internet before opening it

https://reverseeverything.com/blog/check-macos-app-network-access/
1•IGHOR•4m ago•0 comments

PGP Manager – A user-friendly approach to PGP

https://github.com/developaaah/pgp-manager
1•developaaah•7m ago•0 comments

Ångstrom used Claude Code to train a model that beat Meta's UMA-OMC

https://anycloud.sh/blog/angstrom-case-study/
2•pombo•7m ago•0 comments

Desmos 3D Graphing Calculator

https://www.desmos.com/3d
1•aragonite•7m ago•1 comments

QualityScreener – build custom scoring models for global stocks

https://qualityscreener.io/
1•madagra•9m ago•0 comments

Censorship Industry: The European Firms Monetizing the DSA

https://foundationforfreedomonline.com/censorship-industry-the-european-firms-monetizing-the-dsa/
1•iamnothere•9m ago•0 comments

Ask HN: Where is the transhumanism discussion in engineering sitting?

1•lewistaariq•9m ago•0 comments

LifeSciBench: Evaluating LLMs on Expert-Level Tasks in the Life Sciences [pdf]

https://cdn.openai.com/pdf/b4299379-0a97-4ffa-8b9b-c3fbb299caa9/lifescibench_preprint.pdf
1•sailingparrot•10m ago•0 comments

FreeSeeker – AI-generated digital products (planners, templates, ebooks)

https://freeseeker.warx.org
2•FreeSeekerShop•11m ago•1 comments

The AI Privacy Problem Isn't What You Tell AI – It's What AI Infers

https://github.com/cnaebadi/ai-disclosure-handbook
1•sewyed•12m ago•1 comments

Storied Colors – a catalogue of named colors

https://storiedcolors.com/
6•susiecambria•13m ago•0 comments

Digital detox or building a personal brand

https://sashawhiddon.substack.com/p/the-contemplations-of-building-a
1•drunx•13m ago•0 comments

Mark Zuckerberg Orders His Employees to Have Fun Again

https://www.gadgetreview.com/mark-zuckerberg-orders-his-employees-have-fun-again-after-devastatin...
3•noleary•15m ago•0 comments

Ed Zitron just disproved the core claim behind his AI bubble case

https://www.obsolete.pub/p/ed-zitron-just-disproved-the-core
2•droidjj•16m ago•1 comments

The AI-native document format

https://doclang.ai/
1•taubek•16m ago•0 comments

David Attenborough's life's work, searchable

https://attenborough-100.vercel.app
2•throw0101a•16m ago•0 comments

Franklin Templeton, a SpaceX private investor, unable to justify Cursor purchase

https://www.bloomberg.com/news/videos/2026-06-16/spacex-pounces-on-60b-cursor-takeover-days-after...
3•gurjeet•21m ago•0 comments

Show HN: I built a spelling app for kids with my 7-year-old

https://spellabee.com/
2•narenst•25m ago•0 comments

Marine Transportation Safety Investigation [Titan] Submersible Implosion [pdf]

https://www.tsb.gc.ca/sites/default/files/2026-06/M23A0169-ENG.pdf
1•azalemeth•26m ago•0 comments

Why Can't Walnut Creek Build 3 Bedroom Apartments with a Playground?

https://kevin.burke.dev/kevin/walnut-creek-single-stair/
4•kevinburke•26m ago•1 comments

EarthBound Beginnings remake hack has released after 19 years of development

https://www.timeextension.com/news/2026/06/after-nineteen-ish-years-of-development-the-original-m...
1•ericzawo•27m ago•0 comments

Show HN: Any Search, One API

https://searchrouter-demo.vercel.app/
1•jpolitzki•28m ago•1 comments

Linux kernel drops AppleTalk support

https://www.phoronix.com/news/Linux-Drops-AppleTalk
3•mmoogle•28m ago•0 comments

Show HN: A Universal Matching Engine

https://www.jeanmemory.com/
1•jpolitzki•29m ago•0 comments