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.

Literary AI Scandal Changes Everything

https://www.theatlantic.com/books/2026/05/granta-ai-fiction-book-scandal-changes-everything/687243/
1•JumpCrisscross•1m ago•0 comments

The State of CSS Centering in 2026

https://css-tricks.com/the-state-of-css-centering-in-2026/
1•soheilpro•3m ago•0 comments

Anthropic Code with Claude showed off coding's future–whether you like it or not

https://www.technologyreview.com/2026/05/21/1137735/anthropics-code-with-claude-showed-off-coding...
1•bookofjoe•3m ago•0 comments

Turkey court removes leader of opposition as Erdoğan tightens grip

https://www.ft.com/content/c1dce05a-c5f1-4b59-96f5-d9585ab64e91
1•JumpCrisscross•3m ago•0 comments

Ask HN: Who wants to hop in this 850 line chat room?

1•smalltorch•4m ago•1 comments

Ask HN: What is the least sycophantic frontier LLM?

1•Michelangelo11•4m ago•0 comments

Computational Complexity in Electronic Structure(2012)

https://arxiv.org/abs/1208.3334
1•o4c•5m ago•0 comments

Building Context-Aware Search in Python with LLM Embeddings and Metadata

https://machinelearningmastery.com/building-context-aware-search-in-python-with-llm-embeddings-me...
1•eigenBasis•7m ago•0 comments

Waymo's autonomous taxis remain drawn to floodwater

https://boingboing.net/2026/05/21/waymos-autonomous-taxis-remain-strangely-drawn-to-floodwater.html
1•DropDead•7m ago•0 comments

Software research must become more reusable

https://www.fightforthehuman.com/software-research-must-become-more-reusable/
1•mooreds•8m ago•0 comments

Microsoft is letting Office users remove an annoying Copilot button

https://www.theverge.com/news/935967/microsoft-copilot-floating-button-office-excel-apps-removal
1•newer_vienna•8m ago•0 comments

Ask HN: We need a standard way to say how much AI was used in a PR

1•heeton•9m ago•1 comments

Anthropic, Microsoft in talks about Maia AI chip deal

https://www.cnbc.com/2026/05/21/anthropic-microsoft-maia-200-ai-chip.html
1•gmays•10m ago•0 comments

The Life of a Bolt(2016) [video]

https://www.youtube.com/watch?v=iptAkpqjtMQ
1•num42•10m ago•0 comments

Ex-Samsung: memory crisis could be over thanks to a 'surge' in Chinese capacity

https://www.pcgamer.com/hardware/memory/former-samsung-boss-predicts-the-memory-crisis-could-be-o...
2•rjzzleep•12m ago•0 comments

Chunkah: OCI building tool for content-based layers

https://github.com/coreos/chunkah
1•jpitz•12m ago•0 comments

Phantasy Star IV – 1993 Developer Interviews

https://shmuplations.com/phantasystariv/
1•speckx•13m ago•0 comments

Show HN: Videowright – we made our launch video with Claude Code (open source)

https://github.com/scosman/videowright
1•scosman•13m ago•0 comments

Corsair DDR5 memory with 6000 MT/s with Chinese modules

https://videocardz.com/newz/corsair-vengeance-ddr5-module-spotted-with-chinese-cxmt-memory
3•rjzzleep•14m ago•0 comments

The Prompt Changed. No One Noticed. Everything Got Worse

https://www.promptvc.io/blog/introducing-promptvc
1•justicea83•15m ago•0 comments

Uto – Execute cross-venue crypto strategies from one prompt

https://auto.fun/
1•borkodotfun•15m ago•0 comments

Playing with my daughter and ended up with an idea

https://storypals.fun
1•hernol•15m ago•0 comments

Ebola outbreak spirals out of control: how might it have started?

https://www.nature.com/articles/d41586-026-01645-y
1•bookofjoe•15m ago•1 comments

Idea: Subreddits as curator blogs for the AI era

https://old.reddit.com/r/ideas/comments/1tkie1c/idea_subreddits_as_curator_blogs_for_the_ai_era/
1•amichail•16m ago•0 comments

Riot's Vanguard update reportedly disables DMA cheat hardware via IOMMU

https://videocardz.com/newz/riot-games-on-valorant-dma-cheat-firmware-block-congrats-to-the-owner...
1•encrux•16m ago•0 comments

The Spread of Christianity Animated

https://www.openculture.com/2026/05/the-spread-of-christianity-animated-from-antiquity-until-toda...
3•leopoldj•19m ago•0 comments

We hardened zizmor's GitHub Actions static analyzer

https://blog.trailofbits.com/2026/05/22/we-hardened-zizmors-github-actions-static-analyzer/
3•woodruffw•19m ago•0 comments

A hacker group is poisoning open source code at an unprecedented scale

https://www.wired.com/story/teampcp-software-supply-chain-attack-spree-github/
3•sbulaev•22m ago•0 comments

Nvidia Vera Rubin Bill of Materials and the Investment Opportunities

https://leoinai.substack.com/p/nvidia-vera-rubin-bill-of-materials-morgan-stanley
1•lboquillon•23m ago•0 comments

Second tranch of UFO files declassified

https://www.war.gov/News/Releases/Release/Article/4499305/department-of-war-publishes-second-rele...
1•pandoro•24m ago•1 comments