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•8mo ago

Comments

llm-exe•8mo 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•8mo 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.

Tailscale and BlueBubbles makes an iMessage on Windows and Android less complex

https://tailscale.com/blog/bluebubbles-tailscale-imessage-android-pc-no-port-forwarding
1•ryanhn•30s ago•0 comments

TikTok closes deal with White House to split US app from global business

https://www.bbc.com/news/live/cp374n3ggngt
1•1659447091•9m ago•0 comments

Walmart Commerce SDK for Unity video games

https://xcancel.com/unitygames/status/2014005383837126901
1•qingcharles•15m ago•0 comments

Schools, airports, high-rise towers: architects urged to get 'bamboo-ready'

https://www.theguardian.com/environment/2026/jan/22/bamboo-architecture-construction-engineering-...
2•pseudolus•15m ago•0 comments

Show HN: CleanAF – One-click Desktop cleaner for Windows

https://github.com/TheZemmouri/CleanAF
2•Zemmouri•20m ago•0 comments

What a Standoff with a Black Bear Taught Me about Life in Northern Alberta

https://thewalrus.ca/what-a-standoff-with-a-black-bear-taught-me/
1•pseudolus•21m ago•0 comments

Doomsday-Prepping for Trump's Third Term

https://www.theatlantic.com/politics/2026/01/dmitri-mehlhorn-trump-third-term/685693/
4•petethomas•22m ago•0 comments

Cockpit Automation – Advantages and Safety Challenges

https://skybrary.aero/articles/cockpit-automation-advantages-and-safety-challenges
1•ceroxylon•24m ago•1 comments

Code: Testing acceleration-domain normalization on SPARC galaxy data

https://github.com/JasonResearch/Brown-J-Invariant
1•JasonResearch•24m ago•1 comments

Ask HN: Does DDG no longer honor "site:" prefix?

6•everybodyknows•33m ago•0 comments

Show HN: An agent sandboxing quickstart based on Claude Code

https://github.com/lebovic/agent-quickstart
1•lebovic•33m ago•0 comments

How Claude Code Compaction Works

https://decodeclaude.com/claude-code-compaction/
1•moona3k•36m ago•0 comments

ELT and MCP: exposing warehouse data to LLMs without shipping the data

https://thenewstack.io/how-precog-adds-business-context-to-make-enterprise-data-ai-ready/
1•jfinegold•40m ago•1 comments

Tell HN: We have not yet discovered the rules of vibe coding

1•0xbadcafebee•42m ago•0 comments

Tesla patents 'clever math trick' for HW3, but nothing points to promised FSD

https://electrek.co/2026/01/21/tesla-patents-clever-math-trick-hw3-nothing-delivering-promised-se...
2•breve•42m ago•0 comments

China's oldest carmaker begins testing solid-state EV batteries in vehicles

https://electrek.co/2026/01/22/chinas-oldest-carmaker-begins-testing-solid-state-ev-batteries/
2•breve•47m ago•0 comments

Ask HN: Please wish me luck for my exam

3•Imustaskforhelp•47m ago•1 comments

Jake the Lawyer Explains ICE and Illegal Immigration [video]

https://www.youtube.com/watch?v=NosECXHMGFU
1•zahlman•49m ago•0 comments

Estonia Wikipedia being replaced by pro Kremlin narrative by editors

https://twitter.com/ellatravelslove/status/2014280386201727259
3•nailer•59m ago•3 comments

Vimeo starts layoffs after acquisition by Bending Spoons

https://techcrunch.com/2026/01/22/vimeo-starts-layoffs-after-acquisition-by-bending-spoons/
3•absqueued•1h ago•3 comments

The Tighter Weave: On Editing and Not Editing

https://hedgehogreview.com/issues/place-and-revolution/articles/the-tighter-weave
1•herbertl•1h ago•0 comments

The Work Behind the Writing: On Writers and Their Day Jobs

https://lithub.com/the-work-behind-the-writing-on-writers-and-their-day-jobs/
1•herbertl•1h ago•0 comments

AWS in 2026: The Year of Proving They Still Know How to Operate

https://www.lastweekinaws.com/blog/aws-in-2026-the-year-of-proving-they-still-know-how-to-operate/
3•mooreds•1h ago•0 comments

A Controversial Video-Game Designer Returns with a New Game and More Controversy

https://www.bloomberg.com/news/newsletters/2026-01-22/jonathan-blow-a-controversial-video-game-de...
2•DustinEchoes•1h ago•1 comments

Cost-Effectiveness of Language Models for Time Series Anomaly Detection

https://www.mdpi.com/2078-2489/17/1/72
2•PaulHoule•1h ago•1 comments

Why leaders often disappoint us

https://ariadne.space/2026/01/22/why-leaders-often-disappoint-us.html
3•milkglass•1h ago•0 comments

Computer vision papers reimplemented with minimal PyTorch code

https://github.com/MaximeVandegar/Papers-in-100-Lines-of-Code
2•maxvdg•1h ago•1 comments

Stochastic Mirrors rather than Stochastic Parrots?

1•EdNutting•1h ago•0 comments

I was detained at Davos for my hardware prototype; Swiss police audited the Rust

https://www.semafor.com/article/01/22/2026/an-entrepreneurs-13-hours-in-davos-jail-the-food-was-p...
3•reutinger•1h ago•1 comments

ICE detains five-year-old Minnesota boy arriving home, say school officials

https://www.theguardian.com/us-news/2026/jan/21/ice-arrests-five-year-old-boy-minnesota
38•0x54MUR41•1h ago•12 comments