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.

Is the job market bad or just different?

1•sovenyr•50s ago•0 comments

Gibraltar dumping all of its raw sewage into Mediterranean

https://www.theguardian.com/world/2026/may/06/uk-territory-gibraltar-dumps-raw-sewage-mediterranean
1•akyuu•1m ago•0 comments

Show HN: Is he OK? Senior safety monitoring app

https://howareu.app/
1•sminchev•1m ago•0 comments

The first lie about entrepreneurship

1•danish00111•4m ago•0 comments

InMusic will acquire Native Instruments, as NI joins brands from Akai to Moog

https://cdm.link/inmusic-will-acquire-native-instruments/
1•mrzool•4m ago•0 comments

In coal country, black lung surges as federal protections stall

https://e360.yale.edu/features/black-lung-pennsylvania
1•speckx•5m ago•0 comments

"ClaudeBleed" allows any Chrome extension to control Anthropic's AI assistant

https://cyberinsider.com/claudebleed-allows-any-chrome-extension-to-control-anthropics-ai-assistant/
1•flyaway123•7m ago•0 comments

Write programs you can still hack when you feel dumb

https://www.draketo.de/software/programs-you-can-still-hack-when-dumb.html
1•xhevahir•10m ago•0 comments

Open Source AI App Store Screenshot Designer

https://ai-app-store-screenshots.vercel.app/
1•jonnyjackson26•11m ago•0 comments

Gemma Chat: Offline Vibe Coding on Apple Silicon

https://github.com/ammaarreshi/gemma-chat
1•steveharing1•12m ago•0 comments

New Orleans needs to prepare to relocate residents

https://www.npr.org/2026/05/06/nx-s1-5810941/new-orleans-ocean-study
1•measurablefunc•14m ago•0 comments

Movies Are Too Long

https://www.slowboring.com/p/why-movies-are-getting-longer
2•paulpauper•23m ago•0 comments

Smoking, chromosomal aberrations, and cancer incidence in healthy subjects

https://www.sciencedirect.com/science/article/pii/S1383571821000644
1•paulpauper•23m ago•0 comments

Show HN: ChonkLM – Tiny language models running offline in the browser

https://chonklm.com
3•bilalba•23m ago•0 comments

Two kinds of work, and where AI belongs

https://twitter.com/talhof8/status/2051337721151455509
1•talhof8•23m ago•0 comments

Three Model Organisms for Taste

https://www.astralcodexten.com/p/three-model-organisms-for-taste
1•paulpauper•24m ago•0 comments

Off-Grid Boat Communications with Meshtastic

https://blog.noforeignland.com/off-grid-boat-communications-with-meshtastic/
1•tmalsburg2•24m ago•0 comments

I've Banned Query Strings

https://chrismorgan.info/no-query-strings
2•Brajeshwar•25m ago•0 comments

The XM30 program: The Army's Bradley replacement

https://taskandpurpose.com/tech-tactics/army-xm30-bradley-replacement/
1•lorenzohess•27m ago•0 comments

APRS Messaging 36 Miles with Two HTs

https://midnightcheese.com/2026/05/aprs-message-36-miles-two-ht-radios/
1•thcipriani•29m ago•0 comments

Simpson Chalkboard Generator: A Tool for Creating Bart Chalkboard Stills

https://enufstyle.com/generators/bart/
3•stefankuehnel•38m ago•0 comments

Extraterrestrial intelligent beings do not exist

https://articles.adsabs.harvard.edu/pdf/1980QJRAS..21..267T
2•Topfi•38m ago•1 comments

Show HN: Mlx-code – I built a "backyard shed" AI coding agent for Mac

https://github.com/JosefAlbers/mlx-code
1•JosefAlbers•38m ago•0 comments

Claude Code Sandboxing

https://code.claude.com/docs/en/sandboxing
3•Destiner•39m ago•0 comments

Merle Tuve and the development of the proximity fuze

https://www.youtube.com/watch?v=yjQtzk_4czg
1•bane•39m ago•1 comments

Drivers of success – the gap between actual drivers and what we read about

https://alearningaday.blog/2018/12/26/drivers-of-success-the-gap-between-actual-drivers-and-what-...
2•Olshansky•41m ago•0 comments

New financed PostmarketOS project: q6voice(d)

https://postmarketos.org/blog/2026/05/08/q6voice-project/
1•wicket•44m ago•0 comments

Musk, Altman Management Styles Under Fire at OpenAI Trial

https://www.bloomberg.com/news/articles/2026-05-08/musk-altman-management-styles-come-under-fire-...
1•1vuio0pswjnm7•46m ago•1 comments

Musk has never built a wafer fab, but he wants to burn $119B on one anyway

https://www.theregister.com/systems/2026/05/06/spacex-plots-119b-wafer-fab-to-make-elons-orbital-...
4•Bender•48m ago•1 comments

NYC Mesh

https://en.wikipedia.org/wiki/NYC_Mesh
2•thunderbong•48m ago•0 comments