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.

Israel says it has struck Iran after taking missile fire

https://apnews.com/article/iran-us-ceasefire-hezbollah-israel-c16dc4917512f7436a3921a4b044b98b
1•JumpCrisscross•1m ago•0 comments

Sunset of the Consumer Version of Gemini Code Assist on GitHub

https://developers.google.com/gemini-code-assist/docs/deprecations/consumer-code-review
1•tvvocold•8m ago•0 comments

The coming rise of anti-AI populism

https://www.ft.com/content/b4429ea0-4a0a-4a28-96f5-debf4f3eb339
1•1vuio0pswjnm7•8m ago•0 comments

A New Ad Campaign Tries to Make A.I. A Little Less Scary

https://www.nytimes.com/2026/06/04/style/chatgpt-advertising-campaign-artificial-intelligence.html
1•1vuio0pswjnm7•11m ago•1 comments

Painting the Internet: A Different Kind of Warhol Worm [pdf]

https://cspages.ucalgary.ca/~aycock/papers/artworm.pdf
1•jruohonen•16m ago•0 comments

Texas grid flags risks as data centers, crypto sites fail voltage tests

https://www.reuters.com/business/energy/texas-grid-flags-risks-data-centers-crypto-sites-fail-vol...
5•1vuio0pswjnm7•16m ago•0 comments

April in Servo: new Android UI, focus, forms, security fixes, and more

https://servo.org/blog/2026/05/31/april-in-servo/
1•maxloh•16m ago•0 comments

The source of economic shocks matters for their political outcomes

https://journals.sagepub.com/doi/10.1177/20531680251379914
3•PaulHoule•19m ago•0 comments

Tech sell-off widens as South Korea index plunges

https://www.ft.com/content/2f0f727b-5315-445c-b8f1-6aa65bd7474c
2•JumpCrisscross•20m ago•0 comments

Yoti denies reporting GrapheneOS user, says screenshots may be fake

https://discuss.grapheneos.org/d/36134-grapheneos-user-reported-to-authorities-for-using-graphene...
2•Cider9986•20m ago•1 comments

Earthquake of magnitude 7.8 strikes off southern Philippines

https://www.reuters.com/business/environment/earthquake-magnitude-73-strikes-mindanao-philippines...
1•JumpCrisscross•22m ago•1 comments

Algorithmic Monocultures in Hiring

https://algorithmichiring.github.io/
3•drchiu•26m ago•0 comments

NPM-Scan: Detecting Six Major NPM Supply Chain Campaigns (June 2026)

https://www.npmjs.com/package/@lateos/npm-scan
2•lateos-ai•29m ago•0 comments

Show HN: ARouter – drop-in OpenAI/Anthropic proxy that cuts cost and fails over

https://github.com/sricola/arouter
1•sricola•32m ago•1 comments

What it costs to run a one-Rails-app SaaS per month

https://www.railsreviews.com/articles/what-it-costs-to-run-a-rails-saas
2•doppp•37m ago•0 comments

President says Netanyahu will have 'no choice' but to accept a deal with Iran

https://www.ft.com/content/a0ce59f9-fbde-49e8-9158-fba3d4079859
2•Jimmc414•39m ago•1 comments

Force-sensing mobile microrobotic grippers for gentle and precise bioassembly

https://pubs.aip.org/aip/apb/article/10/2/026103/3388070/Force-sensing-mobile-microrobotic-grippe...
2•PaulHoule•39m ago•0 comments

New drug 'functionally cures' many hepatitis B virus infections

https://www.science.org/content/article/new-drug-functionally-cures-many-hepatitis-b-virus-infect...
2•gmays•40m ago•0 comments

Show HN: Preseason.ai – Open-source benchmark of devtool choices, ranked by LLM

https://www.preseason.ai
2•widenrun•41m ago•0 comments

DeepSeek V4 Pro beats GPT-5.5 Pro on precision

https://runtimewire.com/article/deepseek-v4-pro-beats-gpt-5-5-pro-on-precision
24•yogthos•42m ago•0 comments

Phonestheme

https://en.wikipedia.org/wiki/Phonestheme
2•davidbarker•43m ago•0 comments

Newborns' cry melody is shaped by their native language

https://pubmed.ncbi.nlm.nih.gov/19896378/
1•davidbarker•43m ago•0 comments

Dev log:Made an app blocker unlocks by verifying real App HealthKit data

https://disciplinelock.com/
1•zichengwang•43m ago•0 comments

1worldflag: A blue dot on a transparent background

https://1worldflag.com/
2•davidbarker•43m ago•0 comments

Attitudes toward same-sex marriage and transgender issues are shifting

https://apnews.com/article/gallup-poll-same-sex-marriage-morality-e12acb151446ac1b7970c0825bf1d072
2•petethomas•47m ago•1 comments

Shopify Theme Detector,What Shopify Theme Is This?

https://storetrace.link/tools/theme-detector
1•bitvvip•50m ago•0 comments

Lawsuit Seeks to Stop the UFC Fight on the White House South Lawn

https://apnews.com/article/white-house-ufc-fight-lawsuit-trump-birthday-da95554d7137ca297dd47951a...
8•petethomas•52m ago•0 comments

Teenage Engineering: Introducing APC-2

https://teenage.engineering/products/apc-2
68•vthommeret•54m ago•27 comments

Ask HN: What are the best examples of good technical writing you know of?

4•CSMastermind•54m ago•4 comments

Making Software – Image Compression

https://www.makingsoftware.com/chapters/image-compression
3•Brajeshwar•57m ago•0 comments