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.

More Stupid Medium Stats Tricks

https://medium.com/luminasticity/more-stupid-medium-stats-tricks-41150cbbc6e0
1•bryanrasmussen•3m ago•0 comments

Your Slop, My Sludge

https://justingarrison.com/blog/2026-05-19-your-slop-my-sludge/
1•wapasta•5m ago•0 comments

Fast Factorial Algorithms

http://www.luschny.de/math/factorial/FastFactorialFunctions.htm
2•nill0•8m ago•0 comments

OpenAI commits S$300M to grow Singapore's AI capabilities

https://www.channelnewsasia.com/singapore/openai-singapore-300-million-ai-6128036
2•doppp•10m ago•0 comments

List of Consumer Reporting Companies [pdf]

https://files.consumerfinance.gov/f/documents/cfpb_consumer-reporting-companies_list_2025.pdf
1•m3047•10m ago•1 comments

Alternatives for the EDIT tool of LLM agents

https://antirez.com/news/166
1•calvinfo•15m ago•0 comments

Google to release first smart glasses since Google Glass flop

https://www.bbc.com/news/articles/cvgz1ynq1nqo
1•1659447091•16m ago•0 comments

Positive Alignment: Artificial Intelligence for Human Flourishing

https://arxiv.org/abs/2605.10310
1•lexandstuff•27m ago•0 comments

I Asked ChatGPT to Manage a Stock Portfolio

https://www.wsj.com/finance/investing/i-asked-chatgpt-to-manage-a-stock-portfolio-heres-how-it-di...
2•lxm•28m ago•1 comments

Slap Links – A Chrome extension inspired by SlapMac

https://slaplinks.app/
2•_matiassalles99•29m ago•1 comments

I'm Watching a Humanoid Robot Sort Packages

https://jpain.io/im-watching-a-humanoid-robot-sort-packages/
2•Eighth•31m ago•0 comments

LLM detector with science behind it

https://huggingface.co/spaces/akolpakov/SatorArepo
1•bold_iggl•35m ago•0 comments

Ask HN: What are Stainless users doing now that Anthropic has killed it?

4•ubutler•35m ago•0 comments

The Incompatibilities Between Generative AI and Art: Q&A with Ted Chiang

https://cdh.princeton.edu/blog/ted-chiang/
3•georgecmu•39m ago•2 comments

Show HN: Javalamp – A glowing terminal screensaver that keeps your Mac awake

https://github.com/breschio/javalamp
2•tbreschi•39m ago•0 comments

Everlane Represented a Millennial Ideal. Is It Dead?

https://www.nytimes.com/2026/05/19/style/the-fashions-shein-everlane-gucci-times-square.html
1•lxm•44m ago•0 comments

Tasks.org on Desktop

https://tasks.org/blog/desktop-app/
2•Quizzical4230•44m ago•0 comments

Canine Anatomy

https://veteriankey.com/canine-anatomy/
2•num42•45m ago•0 comments

S. 'Soma' Somasegar, 1966-2026: Microsoft and Madrona leader has passed away

https://www.geekwire.com/2026/s-soma-somasegar-1966-2026-microsoft-and-madrona-leader-was-a-champ...
2•SilverElfin•45m ago•1 comments

Supranim – Just a Bloody Web Framework Written in Nim

https://github.com/supranim/supranim
2•TheWiggles•46m ago•0 comments

The Wireworld Computer(1987)

https://www.quinapalus.com/wi-index.html
1•o4c•53m ago•0 comments

Evals Will Break and You Won't See It Coming

https://wanglun1996.github.io/blog/your-evals-will-break.html
2•rajveerb•53m ago•1 comments

Training within 10 hours of bedtime measurably hurts recovery

https://tryterra.co/research/best-time-to-workout-for-sleep
3•kyriakosel•59m ago•0 comments

Company Was an American Success Story. Until MAHA Influencers Sank It

https://www.thefp.com/p/this-company-was-an-american-success-until-maha-sank-it
1•rmason•59m ago•1 comments

Trump Order Would Push Banks to Check Clients' Citizenship Status

https://www.wsj.com/finance/regulation/trump-order-would-push-banks-to-check-clients-citizenship-...
3•petethomas•1h ago•0 comments

You Can't Park at 0.1c

https://samirvarma.substack.com/p/you-cant-quietly-park-at-01c
2•qsi•1h ago•0 comments

What are account recovery options with FusionAuth?

https://fusionauth.io/community/forum/topic/3133/what-are-account-recovery-options-with-fusionauth
1•mooreds•1h ago•0 comments

Why "Fast AI" and "Safe AI" Were Never in Conflict

https://www.enkryptai.com/blog/why-fast-ai-and-safe-ai-were-never-actually-in-conflict
2•mooreds•1h ago•0 comments

Etymonline: An Online Etymology Dictionary

https://www.etymonline.com
2•airstrike•1h ago•0 comments

Debunking the job-hopping myth: A Data-Driven Look at Tenure and Turnover [pdf]

https://www.nirsonline.org/wp-content/uploads/2025/09/25-Debunking-Job-Hopping-Myth_FINAL.pdf
2•gmays•1h ago•0 comments