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.

Why these playgrounds disappeared [video]

https://www.youtube.com/watch?v=tgZxRMUpoPE
1•Cider9986•1m ago•0 comments

Vercel April 2026 security incident

https://vercel.com/kb/bulletin/vercel-april-2026-security-incident
1•choult•3m ago•0 comments

Picture of the Year 2025

https://commons.wikimedia.org/wiki/Commons:Picture_of_the_Year/2025/Gallery/Finalists
1•altilunium•4m ago•0 comments

I turned EU Cyber laws (AI Act, NIS2, GDPR) into a simple checklist

https://cyberchecklist.app/en/rules-finder
1•johnde•5m ago•0 comments

Show HN: Virtual Frame – Microfront end projection for the web

https://virtual-frame.level0x40.com/
1•lazarv1982•5m ago•0 comments

Anthropic and Amazon expand collaboration for up to 5 gigawatts of new compute

https://www.anthropic.com/news/anthropic-amazon-compute
1•pboulos•5m ago•0 comments

Amazon to invest up to another $25B in Anthropic

https://www.cnbc.com/2026/04/20/amazon-invest-up-to-25-billion-in-anthropic-part-of-ai-infrastruc...
1•tcp_handshaker•5m ago•0 comments

Stable End-to-End Joint-Embedding Predictive Architecture from Pixels

https://arxiv.org/abs/2603.19312
3•wslh•12m ago•0 comments

Generator Posts That Sound Like You (2026)

https://elevenwritt.com/blog/ai-linkedin-post-generators-sound-like-you
1•piusk•12m ago•0 comments

Everyone should have the opportunity to build their own house

https://reveriesofahuman.com/everyone-should-have-the-opportunity-to-build-their-own-house/
3•freediver•14m ago•1 comments

Lean Squad: Exploring Automated Software Verification W Near-Zero Human Labour

https://dsyme.net/2026/04/20/lean-squad-automated-software-verification-with-near-zero-human-labour/
1•spooneybarger•14m ago•0 comments

John Ternus, 51-yr-old former swimming champ who succeeds Tim Cook as Apple CEO

https://fortune.com/article/who-is-john-ternus-new-apple-ceo-tim-cook-retirement/
1•cybermango•17m ago•1 comments

The Great Software Quality Collapse (2025)

https://techtrenches.dev/p/the-great-software-quality-collapse
1•ebcode•19m ago•0 comments

AI Algorithm Enables Biological Imaging Breakthroughs

https://www.caltech.edu/about/news/ai-algorithm-enables-biological-imaging-breakthroughs
3•geox•22m ago•0 comments

Tesla settles wrongful death lawsuit over crash that killed Florida teenager

https://www.reuters.com/legal/litigation/tesla-settles-wrongful-death-lawsuit-over-crash-that-kil...
4•1vuio0pswjnm7•24m ago•0 comments

DJI's latest power station is proof that good things come in mini packages

https://www.theverge.com/reviews/913706/dji-mini-power-station-review-comparison
2•rossant•25m ago•1 comments

Running live debates where claims get fact-checked every ~60s

https://x.com/ClaimCrush
1•claimcrush•26m ago•1 comments

The Thrill of Picture Books That Let Kids in on the Joke

https://www.newyorker.com/books/page-turner/the-thrill-of-picture-books-that-let-kids-in-on-the-joke
1•petethomas•26m ago•0 comments

HTML5 audio couppler loop – see the "impossible"

https://rogmash.neocities.org/audiomapping
1•rogmash•27m ago•0 comments

An efficient TPC-C benchmark for PostgreSQL based on C++ coroutines

https://github.com/ydb-platform/tpcc-postgres-cpp
1•eivanov89•28m ago•1 comments

Chrome extension which helps to learn language while binge watching

https://chromewebstore.google.com/detail/screenshot-translator/odbeafjpjnkmogdkkibehnpdcddpekod
2•Beretta299•29m ago•1 comments

Apple releases iOS 18.7.7 to patch DarkSword for iOS 26 compatible devices

https://support.apple.com/en-us/126793
1•seam_carver•29m ago•1 comments

From Data Unicorns to Data Giraffes

https://spacedata.substack.com/p/from-data-unicorns-to-data-giraffes
1•Lyngbakr•29m ago•0 comments

Anandamide's Effects on the Brain Exploring the 'Bliss Molecule'(2024)

https://neurolaunch.com/what-does-anandamide-do-to-the-brain/
1•rolph•29m ago•0 comments

Odin's Fiasco with Wikipedia

https://www.gingerbill.org/article/2026/04/20/odin-wikipedia-fiasco/
6•MaximilianEmel•30m ago•1 comments

Claude Desktop changes access settings for browsers you haven't installed yet

https://www.theregister.com/2026/04/20/anthropic_claude_desktop_spyware_allegation/
1•rswerve•31m ago•1 comments

DevArch 2.0

https://devarch.ai
2•ChicagoDave•32m ago•2 comments

Benchmarking open-weight models for security research

https://dualuse.dev/posts/benchmarking-open-models-for-security-research
1•lebovic•38m ago•1 comments

Show HN: MCPfinder – An MCP server that finds and installs other MCP servers

https://mcpfinder.dev/
1•coderai•38m ago•0 comments

Monero Community Crowdfunding System

https://ccs.getmonero.org/ideas/
1•OsrsNeedsf2P•43m ago•0 comments