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.

Cache Hierarchy Matters for Pragmatism

https://www.khola.blog/p/the-pragmatic-programmer-after-the
1•bcapchickadee•24s ago•0 comments

Wix laying off about 20% of its workforce. CEO cites AI, exchange rates

https://www.cnbc.com/2026/05/28/wix-layoffs-ai-exchange-rates.html
1•tcp_handshaker•51s ago•0 comments

Anonymous plaintiffs have asked a NYC court to declare them owners of 3.8M BTC

https://www.galaxy.com/insights/research/satoshi-bitcoin-salomon-brothers-patoshi-abandoned-prope...
1•int32_64•1m ago•0 comments

Valve hikes Steam Deck prices by more than 40%, blaming rising costs

https://www.bbc.com/news/articles/cz725d5d1x7o
1•-1•1m ago•0 comments

Lichen as the common ancestor of all life on Earth

https://eukaryotewritesblog.com/2026/04/02/big-lichen/
1•surprisetalk•1m ago•0 comments

U.S. and Iran reach deal but need Trump's final approval, officials say

https://www.axios.com/2026/05/28/iran-peace-deal-trump-approval
1•r721•2m ago•0 comments

A new tool to fight hallucinations in preprints

https://paperpile.com/blog/citation-checker-hallucinations/
1•bcjordan•3m ago•0 comments

Sponsored Is the New Organic: Implications of Sponsored Results in Amazon (2024)

https://arxiv.org/abs/2407.19099
1•wslh•4m ago•0 comments

Oura Ring 5 is here

https://ouraring.com/store/rings/oura-ring-5
2•boogdan•5m ago•0 comments

Lithium recovery set to grow 50x as Europe maps 'urban mine' for raw materials

1•Vaslo•7m ago•0 comments

Tuning in FM Radio on a 3D Printer Heatbed

https://www.jeffgeerling.com/blog/2026/tuning-in-fm-radio-on-a-3d-printer-heatbed/
1•speckx•7m ago•0 comments

Kinetik – Hear the Bitcoin Market

https://kinetik.coexinbrand.com/
1•iroshank•7m ago•1 comments

Ipv6catnow.org – Ipv6actnow.org

https://ipv6catnow.org/
1•minusf•8m ago•0 comments

Garnix, the Nix CI, is shutting down

1•cinericius•8m ago•1 comments

Non-responsive is non-responsive

https://trevorklee.substack.com/p/non-responsive-is-non-responsive
1•klevertree1•8m ago•0 comments

Illegal Prime

https://en.wikipedia.org/wiki/Illegal_number
1•SweetSoftPillow•9m ago•0 comments

AGI timelines shift with whichever lab is dominant

https://futuresearch.ai/blog/agi-timeline-tracker/
8•mckennameyer•10m ago•0 comments

The Pooma Framework (1998)

https://watermark02.silverchair.com/453_1_online.pdf?token=AQECAHi208BE49Ooan9kkhW_Ercy7Dm3ZL_9Cf...
1•tosh•11m ago•0 comments

Should capitalism be deemed psychopathic and criminalised? (2025)

https://www.sciencedirect.com/org/science/article/pii/S1934883525000199
2•wslh•11m ago•0 comments

AWS publishes its new random graph network topology

https://www.wired.com/story/amazon-thinks-the-future-of-data-centers-depends-on-a-technical-probl...
1•lilydelaserre•13m ago•0 comments

Palmer Luckey on Threats, Autonomy, and the Future American Power [video][44m]

https://www.youtube.com/watch?v=k2THslsOYzY
1•Bender•13m ago•1 comments

Ozempic may be reshaping the brain, scientists say

https://www.washingtonpost.com/health/2026/05/28/ozempic-may-be-reshaping-brain-scientists-say/
1•gammadist•13m ago•1 comments

EU fines Temu €200M for allowing sale of illegal products

https://www.bbc.co.uk/news/articles/c1k2ydn1rz8o
6•jjp•13m ago•1 comments

It Will Never Be the Year of the Linux Desktop

https://unix.foo/posts/it-will-never-be-the-year-of-the-linux-desktop/
2•cylo•14m ago•0 comments

You can just say it

https://noperator.dev/posts/you-can-just-say-it/
1•noperator•14m ago•0 comments

Show HN: Tunnel.to – dead simple localhost reverse tunnels

https://tunnel.to
2•StuntPope•14m ago•0 comments

What It Takes to Get a Job at Anthropic

https://www.bloomberg.com/news/features/2026-05-28/anthropic-job-recruiting-brings-in-diverse-car...
1•scripper1•15m ago•2 comments

Show HN: FramePin – show clients your work without a call

https://framepin.com/
1•ipselon•15m ago•1 comments

Oura Ring 5: The Smallest Smart Ring

https://ouraring.com/blog/introducing-oura-ring-5/
1•datan•15m ago•0 comments

1959 Antarctic Treaty System

https://en.wikipedia.org/wiki/Antarctic_Treaty_System
1•simonebrunozzi•15m ago•0 comments