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.

Teleoperated Humans

https://www.jefftk.com/p/teleoperated-humans
1•luu•48s ago•0 comments

Japan Opens the Door to Acquiring Nuclear-Powered Submarines

https://www.twz.com/sea/japan-opens-the-door-to-acquiring-nuclear-powered-submarines
1•cisc•53s ago•0 comments

Analysis: Global fossil-fuel emissions set to fall in 2026 amid Hormuz crisis

https://www.carbonbrief.org/analysis-global-fossil-fuel-emissions-set-to-fall-in-2026-amid-hormuz...
2•ulrischa•6m ago•0 comments

Show HN: Hush – GitHub issue triage that abstains when it isn't confident

https://github.com/emreozyoruk/hush
2•emreozyoruk•6m ago•0 comments

Show HN: How to Vibe Code Hardware

https://drone.charlesazam.com/login
2•couAUIA•7m ago•0 comments

Van Der Waals Force

https://en.wikipedia.org/wiki/Van_der_Waals_force
2•sans_souse•8m ago•0 comments

AI on Top of a Dysfunctional System: The Product Backlog

https://age-of-product.com/ai-dysfunctional-system-product-backlog/
2•swolpers•12m ago•0 comments

Every Nvidia GPU has 10 to 30 RISC-V cores inside it

https://www.xda-developers.com/your-nvidia-gpu-dozens-risc-v-cores-one-took-over-graphics-driver/
3•giuliomagnifico•12m ago•0 comments

Are global stock markets heading for a crash?

https://www.theguardian.com/business/ng-interactive/2026/sep/20/stock-market-crash-government-bon...
6•abawany•20m ago•2 comments

KDE turns 30 and someone's brought an AI-native desktop proposal

https://www.theregister.com/software/2026/09/18/kde-turns-30-and-someones-brought-an-ai-native-de...
5•pndy•24m ago•1 comments

Parth Anand – Projectsadak.in Hacked

2•gobountyhunter•27m ago•0 comments

HTMLPipe and how to archive archive.is pages on archive.org manually

https://smileplease.mataroa.blog/blog/htmlpipe-and-how-we-can-use-it-for-archive/
2•Imustaskforhelp•28m ago•0 comments

Show HN: WideMelon - Nintendo DS games in widescreen and a phone touchscreen

https://github.com/pruefsumme/widemelon
2•pruefsumme•31m ago•0 comments

Google/ax: Google's open agentic orchestrator

https://github.com/google/ax
2•polyrand•32m ago•0 comments

What Is Arc?

https://opensea.io/learn/blockchain/what-is-arc
2•Bluestein•36m ago•0 comments

When docs become performance art, everybody loses (2025)

https://passo.uno/documentation-theater-everybody-loses/
2•theletterf•38m ago•0 comments

Global Challenges in AI Safety for Biosecurity

https://www.lesswrong.com/posts/KH2JjfSrw6tJdmKzw/global-challenges-in-ai-safety-for-biosecurity
3•joozio•1h ago•0 comments

OnePlus Settled

https://finshots.in/archive/how-oneplus-settled/
2•vismit2000•1h ago•0 comments

I tried the new Fairphone, a phone designed to be repaired

https://www.fastcompany.com/91608879/i-tried-the-new-fairphone-a-phone-designed-to-be-repaired
8•vismit2000•1h ago•2 comments

Laser Your Way into Debug Mode on the RP2350

https://hackaday.com/2026/09/19/laser-your-way-into-debug-mode-on-the-rp2350/
4•mdp2021•1h ago•0 comments

Show HN: ChatGPT to Word – export a thread to a readable .docx

https://chatgpt2word.com
2•leiships•1h ago•0 comments

Show HN: Website Auditor –> Test your brand's AI visibility, get growth plan

https://website-auditor.io/
2•SpikeyCoder•1h ago•0 comments

Show HN: Web Tools List – browser tools grouped by the job, not the format

https://webtoolslist.com
2•leiships•1h ago•0 comments

Dropbox's Jan 1st 2027 terms of service

https://www.dropbox.com/terms2026
27•simonebrunozzi•1h ago•46 comments

My Dad Died by Suicide. He Left Me with 694 Video Diaries to Explain Why – NYT

https://www.youtube.com/watch?v=Kimur4jkJT8
3•johntfella•1h ago•0 comments

Show HN: Morse Code Translator – real-time text-to-Morse with audio

https://morsetranslator.me/
2•shaliji•1h ago•0 comments

RunMyWealth

https://runmywealth.com/
2•Thecompunder•1h ago•0 comments

Unit tests mark territory more than squash bugs

https://yosefk.com/blog/unit-tests-mark-territory-more-than-squash-bugs.html
2•luu•1h ago•0 comments

Spain Orders Blocks on Archive.today and Its Mirrors

https://reclaimthenet.org/spain-blocks-archive-today-and-mirrors
45•latein•1h ago•23 comments

Free scanner for exposed Supabase data in AI-built apps (Lovable, Bolt, Base44)

https://api.trustboost.dev/free-scan
3•Teocrispin•1h ago•0 comments