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.

How Many Lives Do Amber Alerts Save?

https://www.mcgill.ca/oss/article/critical-thinking-technology-history/how-many-lives-do-amber-al...
1•jprs•1m ago•0 comments

The Ancient Coding Language That 95% of ATMs Use [video]

https://www.youtube.com/watch?v=P8oc_UXgD2A
2•kerim-ca•3m ago•0 comments

Linux/Mac Alternative to Nvidia Broadcast?

https://github.com/Hkshoonya/nvidia-broadcast-linux
1•burgerguyg•3m ago•1 comments

The Great Majority: Body Snatching and Burial Reform in 19th-Century Britain

https://publicdomainreview.org/essay/the-great-majority/
1•apollinaire•7m ago•0 comments

Association of high-pillow sleeping posture w intraocular pressure in glaucoma

https://bjo.bmj.com/content/early/2026/01/22/bjo-2025-328037
2•bookofjoe•8m ago•0 comments

Building Pi in a World of Slop – Mario Zechner

https://www.youtube.com/watch?v=_zdroS0Hc74
1•swyx•10m ago•0 comments

I built an AI that teaches your slides and answers questions

https://lectura.biz
1•keniz•11m ago•0 comments

I Tried Giving an AI Agent Gmail Access. It Took 19 Steps and Still Failed

https://www.anson.im/blog/why-i-built-agentsmail/
1•beacharsiu•13m ago•0 comments

Filing the Corners Off MacBooks

https://kentwalters.com/posts/corners/
4•normanvalentine•14m ago•0 comments

Chess-Bench

https://www.chess-bench.com/
2•hardikvora•15m ago•1 comments

What's Going on in AI

https://elicit.com/blog/situational-awareness-april-2026
2•sethbannon•16m ago•0 comments

Suez Crisis

https://en.wikipedia.org/wiki/Suez_Crisis
2•softwaredoug•16m ago•0 comments

"It's rare that developers love their database that much"

https://talkingpostgres.com/episodes/how-i-went-from-oracle-to-postgres-with-a-big-nosql-detour-w...
3•clairegiordano•16m ago•0 comments

Show HN: YouTube Live Spam Blocker

https://github.com/pnhoang/youtube-spam-blocker
2•pnhoang•18m ago•0 comments

Revisiting and Optimising go-iso8601-duration

https://xnacly.me/posts/2026/revisiting-and-optimising-goiso8601duration/
2•ingve•20m ago•0 comments

Framework [Next Gen] Event is live on April 21

https://frame.work/gb/en/blog/framework-next-gen-event-is-live-on-april-21
2•ezequiel-garzon•21m ago•0 comments

French government ditching Windows for Linux in digital sovereignty push

https://www.tomshardware.com/software/windows/french-government-say-its-ditching-windows-for-linu...
3•voxadam•24m ago•0 comments

Trump administration admits a glaring error in its NY health fraud accusations

https://apnews.com/article/new-york-medicaid-fraud-dr-oz-trump-342285a3c5d5b71f36ce3f3c77ec72c5
3•petethomas•26m ago•0 comments

The Ethics of Manipulation (Revised)

https://plato.stanford.edu/entries/ethics-manipulation/
2•StatsAreFun•28m ago•0 comments

DB Explorer 3.0.1 – AI‑First SQL Editor with Schema‑Aware Query Generation

https://sourceforge.net/projects/db-explorer/
2•adeptashish•29m ago•0 comments

Installing Every* Firefox Extension

https://jack.cab/blog/every-firefox-extension
4•RohanAdwankar•34m ago•0 comments

Axios: Unrestricted Cloud Metadata Exfiltration via Header Injection Chain

https://github.com/axios/axios/security/advisories/GHSA-fvcv-3m26-pcqx
3•mhsdef•45m ago•0 comments

Higher education predicts global cultural similarity to WEIRD countries

https://www.nature.com/articles/s41467-026-70404-4
1•PaulHoule•51m ago•0 comments

The Ancient Psychedelics Myth

https://www.theguardian.com/science/2025/may/01/the-ancient-psychedelics-myth-people-tell-tourist...
3•andsoitis•51m ago•0 comments

RDW Approval of Tesla FSD in Netherlands (With Rest of EU to Follow)

https://www.rdw.nl/en/news/2026/rdw-explanation-of-european-type-approval-tesla-with-provisional-...
2•denysvitali•51m ago•1 comments

Turning the Web into a Filesystem

https://twitter.com/arlanr/status/2041215978957389908
2•gmays•52m ago•0 comments

Artemis II Crew Prepare to Break Record: The Fastest Speed Reached by Humans

https://www.iflscience.com/artemis-ii-crew-prepare-to-break-another-record-the-fastest-speed-reac...
1•thinkingemote•53m ago•0 comments

The Reason People Aren't Having Kids

https://www.theatlantic.com/family/archive/2024/08/fertility-crisis/679319/
1•sharjeelsayed•54m ago•3 comments

Amazon would rather shareholders did not look too closely at carbon footprint

https://www.theregister.com/2026/04/10/amazon_climate_goals/
1•Bender•55m ago•0 comments

Particles seen emerging from empty space for first time

https://www.newscientist.com/article/2522324-particles-seen-emerging-from-empty-space-for-first-t...
9•naves•56m ago•2 comments