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•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: Embed Notion Pages into Your Website

https://embednotion.com/
1•qwikhost•17m ago•0 comments

Stop paying twice Looking for testers for self hosted+Android app cloud drive

https://play.google.com/apps/testing/com.freecloud.android
1•WWIII_Historian•17m ago•0 comments

Does Anybody Actually Like React?

https://jsx.lol
20•brazukadev•18m ago•8 comments

Mondegreen

https://en.wikipedia.org/wiki/Mondegreen
3•bear_with_me•21m ago•0 comments

If you're asked to confirm that you're an adult

https://support.apple.com/en-us/125662
2•mikhael•22m ago•0 comments

The Social Contract of Writing

https://jola.dev/posts/the-social-contract-of-writing
2•zdw•23m ago•0 comments

AI SEO: compare with your competitor

https://usefox.co/competitor-analyzer
2•Creator-io•23m ago•0 comments

Taiwan Overtakes India as Fifth-Largest Stock Market

https://www.bloomberg.com/news/articles/2026-05-26/tsmc-s-relentless-rise-powers-taiwan-s-market-...
3•leopoldj•23m ago•0 comments

This big university system is embracing AI. Students and faculty aren't on board

https://www.npr.org/2026/05/25/nx-s1-5772820/artificial-intelligence-education-technology-califor...
3•voxadam•25m ago•0 comments

Show HN: Aigis – 43% of MCP servers have injection payloads; I built a firewall

1•Charles389no•27m ago•0 comments

Browser-based file encryption tool using WebCrypto

https://secvant.com/
5•unixlor•28m ago•2 comments

We Outgrew Cloudflare D1

https://sushidata.com/blog/2026/05/19/outgrew-cloudflare-d1-everything-tried-building-solution/
2•cebert•28m ago•0 comments

Summer Shred

https://www.supercomp.app/
2•smiru•28m ago•0 comments

Trendshift – trending OSS ranked by momentum, not star count

https://trendshift.io
2•Hylasca•28m ago•0 comments

The Journal of Craptology

https://www.anagram.com/jcrap/
1•colonCapitalDee•30m ago•0 comments

Computer Systems Design and Related Services Employment Statistics

https://fred.stlouisfed.org/series/ces6054150001
1•sakompella•33m ago•0 comments

Iconic: A collection of images that inspire

https://hvpandya.com/iconic
1•mjshashank•34m ago•0 comments

Trump releases new batch of previously classified UFO files

https://www.aljazeera.com/video/newsfeed/2026/5/23/trump-releases-new-batch-of-previously-classif...
5•frasermarlow•35m ago•1 comments

Syncing from the Void: Implementing Delay-Tolerant Burst Tunnels

https://instatunnel.substack.com/p/syncing-from-the-void-implementing
1•iamnothere•40m ago•1 comments

Art-Template NPM Coruna Browser Exploit Compromise

https://haltingproblems.com/analysis/art-template-coruna-npm-compromise/
1•s4mw1se•43m ago•0 comments

Show HN: HN Audio to video AI generator

https://audiocleaner.ai/audio-to-video-ai
2•audio_cleaner•49m ago•0 comments

How We Ship Multiple Times a Day – and Sleep at Night

http://thushw.blogspot.com/2026/05/how-we-ship-multiple-times-day-and.html
1•RyeCombinator•53m ago•0 comments

Game built in Godot performed significantly better than in Unity

https://twitter.com/Pirat_Nation/status/2058865663217975447
2•vincentchau•57m ago•0 comments

We need more horror movies like "Obsession"

https://datagreed.pro/thoughts/we-need-more-horror-movies-like-obsession
2•datagreed•1h ago•0 comments

Scientists MayHave Foundthe Blueprint of the HumanBody Atthe Bottom of the Ocean

https://www.popularmechanics.com/science/animals/a71337415/sea-anemone-bilaterian-found-in-ocean/
2•anikoghosyan•1h ago•1 comments

ReleaseBar: Release freshness dashboard for open source maintainers

https://github.com/steipete/ReleaseBar
1•simonpure•1h ago•0 comments

Our Warming Planet Is a Petri Dish for New and Deadly Microbes

https://www.newyorker.com/magazine/2026/06/01/our-warming-planet-is-a-petri-dish-for-new-and-dead...
3•littlexsparkee•1h ago•0 comments

Chipotle rival Guzman y Gomez Mexican Kitchen closes all US restaurants

https://www.foxbusiness.com/economy/chipotle-rival-guzman-y-gomez-mexican-kitchen-closes-all-us-r...
2•mikhael•1h ago•1 comments

The Etymology of Trivia: A Place Where Three Roads Meet

https://uselessetymology.com/2026/04/30/965/
1•jawns•1h ago•0 comments

She Can Mentally Time Travel. Why Did Everyone Think She Was Lying?

https://www.popularmechanics.com/science/a70866475/teenager-hyperthymesia-memory-condition/
8•jawns•1h ago•1 comments