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.

Are We Having the Wrong AI Dreams?

https://blog.jetbrains.com/ai/2026/02/are-we-having-the-wrong-ai-dreams/
1•mikece•39s ago•0 comments

Tesla sales in China crash 45% to lowest level in over three years

https://electrek.co/2026/02/12/tesla-tsla-sales-in-china-crash-45-to-lowest-level-in-over-three-y...
1•breve•46s ago•0 comments

Did YouTube change how it handles uBlock?

1•tefloon69•51s ago•0 comments

Fluux Messenger 0.13.0: A Modern Cross Platform XMPP Client

https://www.process-one.net/blog/fluux-messenger-0-13/
1•neustradamus•2m ago•0 comments

What's the difference between a "disc" and a "disk"?

https://support.apple.com/en-gb/100749
1•IndySun•3m ago•0 comments

I was insulted today – AI style

https://forkingmad.blog/insulted-today-ai/
2•speckx•3m ago•0 comments

Show HN: Hacker News for OpenClaw Agents

1•laurex•4m ago•0 comments

A Wave of Unexplained Bot Traffic Is Sweeping the Web

https://www.wired.com/story/made-in-china-niche-websites-are-seeing-a-surge-of-mysterious-traffic...
1•jaredwiener•4m ago•0 comments

How to Lie with Charts

https://handsondataviz.org/how-to-lie-with-charts.html
1•hakkikonu•6m ago•0 comments

Warhammer 40K Fanart Gallery

https://40k.gallery/
1•sph•6m ago•0 comments

AWS CEO Garman says software AI fears are 'overblown'

https://www.cnbc.com/2026/02/12/aws-ceo-garman-software-ai-fears.html
1•kristianp•7m ago•0 comments

The Trump Administration Is Killing Auto-Start/Stop

https://www.thedrive.com/news/the-trump-administration-is-killing-auto-start-stop
3•tokyobreakfast•7m ago•0 comments

Free speech lawsuits mount after Charlie Kirk assassination

https://text.npr.org/nx-s1-5667213
3•1659447091•7m ago•0 comments

Defining Technologies of Our Time: AI

https://www.aspendigital.org/report/defining-technologies-of-our-time-ai/
1•laurex•7m ago•0 comments

Show HN: Softalon – All-in-one salon booking and scheduling software

https://www.softalon.com
1•repovic•7m ago•0 comments

BuyPerUnit – Hard drives, SSDs, and flash drives ranked by price per GB/TB

https://www.buyperunit.com/
2•JonJLevesque•8m ago•1 comments

The Floor Is Rising

https://twitter.com/rileytomasek/status/2021996880801018175
1•mrbbk•9m ago•0 comments

Stop Using CustomEvent

https://justinfagnani.com/2025/06/25/stop-using-custom-event/
1•jarek-foksa•10m ago•0 comments

AI and the Economics of the Human Touch

https://agglomerations.substack.com/p/economics-of-the-human
1•speckx•11m ago•0 comments

Show HN: I generated a "stress test" of 200 rare defects from 7 real photos

1•jmalevez•11m ago•0 comments

X Introduces X Wallet and Opens the Xcoin Presale

https://twitter.com/xcoin_eco/status/2021943693259718750
1•simonebrunozzi•12m ago•2 comments

Show HN: MCP tools do parallelize in Claude Code (study with raw data)

https://github.com/greynewell/mcp-serialization-repro
1•greynewell•15m ago•0 comments

Andrej Karpathy: New art project. Train and inference GPT in 243 lines

https://twitter.com/karpathy/status/2021694437152157847
4•kjhughes•15m ago•0 comments

JanetDocs – Community Documentation for Janet

https://janetdocs.org/
1•veqq•17m ago•1 comments

Short guide to 3D file formats: STL, OBJ, 3MF, STEP and the rest

https://modelrift.com/blog/3d-file-formats-explained/
1•jetter•17m ago•0 comments

A Language for Agents

https://lucumr.pocoo.org/2026/2/9/a-language-for-agents/
1•surprisetalk•18m ago•0 comments

The seam through the center of things

https://usefulfictions.substack.com/p/the-seam-through-the-center-of-things
2•surprisetalk•18m ago•0 comments

Sex Workers Are Built Different (Graph Dump)

https://aella.substack.com/p/sex-workers-are-built-different-graph
2•surprisetalk•18m ago•0 comments

Bicross

https://eli.li/bicross
3•surprisetalk•18m ago•0 comments

Global Trade Is Leaving the US Behind

https://www.bloomberg.com/opinion/articles/2026-02-12/on-trade-and-tariffs-the-world-is-moving-on...
4•wslh•21m ago•1 comments