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.

Flipbook – one-click file sharing for visual media scrubbing

https://browser-session-it94u.pages.dev/
1•keepamovin•56s ago•0 comments

Using a Bitcoin Microstructure Model to Predict Epileptic Seizures

https://zenodo.org/records/19669062
1•juhopaajanen•2m ago•0 comments

The Vercel Breach Needed Malware. The Next One Needs a Bad Readme

https://grith.ai/blog/next-vercel-breach-ai-coding-agent
1•edf13•6m ago•1 comments

Claude Cowork now has Live Artifacts

https://support.claude.com/en/articles/9487310-what-are-artifacts-and-how-do-i-use-them
1•manishfp•8m ago•1 comments

Following America's Artemis-2 Moon Mission Through China

https://www.china-in-space.com/p/following-americas-artemis-2-moon
1•JPLeRouzic•8m ago•0 comments

GitHub Copilot Pro+ not allowing Claude Opus 4.6

https://github.com/microsoft/vscode/issues/311590
2•vikrantrathore•10m ago•1 comments

The Toaster Project(2011) [pdf]

https://www.thomasthwaites.com/folio5/wp-content/uploads/2019/07/Toaster_Project-Thomas_Thwaites-...
1•o4c•10m ago•0 comments

Amazon to invest up to $25B in Anthropic as part of $100B cloud deal

https://www.reuters.com/technology/anthropic-spend-over-100-billion-amazons-cloud-technology-2026...
1•teleforce•11m ago•0 comments

Cocaine pollution gives salmon wanderlust

https://www.science.org/content/article/cocaine-pollution-gives-salmon-wanderlust
1•1659447091•11m ago•0 comments

Most "launch platforms" are built backwards (and it hurts solo founders)

https://buildfeed.co
1•moodiverse•12m ago•1 comments

Show HN: PrivacyScrubber - Local PII redactor for AI (works in Airplane Mode)

https://www.privacyscrubber.com/
1•privacyscrubber•14m ago•0 comments

Lipovive Helps Boost Metabolism and Burn Fat

https://www.morningstar.com/news/accesswire/1138075msn/lipovive-reviews-shocking-2026-report-what...
1•FinnMarden•14m ago•0 comments

Tim Cook Steps Down as CEO of Apple Inc

https://www.apple.com/community-letter-from-tim/
3•Koshima•16m ago•0 comments

Show HN: AI agents deploy apps autonomously (no accounts, no API keys)

https://nodeops.network/createos/docs/MPP/Overview
1•alex_creates•17m ago•0 comments

I analysed 17 years of fast food and coffee spending using OpenAI Codex

https://chrisflemming.com/blog/20260421-fast-food-coffee-spending-codex/
1•cpf_au•17m ago•0 comments

Trump signs order to accelerate access to psychedelic drug treatments

https://www.reuters.com/world/trump-announces-reforms-accelerate-access-psychedelic-drug-treatmen...
1•XzetaU8•21m ago•0 comments

Mason – A multi agent system in a container using Claude Code

https://github.com/Mason-Teams/mason-teams
1•dpark2026•22m ago•1 comments

Israeli soldiers using sexual assault to force Palestinians out of West Bank

https://www.theguardian.com/world/2026/apr/21/israeli-soldiers-using-sexual-assault-to-force-pale...
13•hebelehubele•23m ago•0 comments

TS Eliot's 20th-century nightmare

https://observer.co.uk/culture/books/article/ts-eliots-20th-century-nightmare
1•bryanrasmussen•30m ago•0 comments

18 Years Later, IPv6 Reaches Majority

https://pulse.internetsociety.org/en/blog/2026/04/18-years-later-ipv6-reaches-majority/
2•jruohonen•37m ago•1 comments

AI job scams are booming – and I was fooled by one. Here is how to avoid them

https://www.theguardian.com/money/2026/apr/21/how-to-avoid-ai-online-job-recruitment-scams
1•sorokod•37m ago•0 comments

Simple ways to make meetings work better for employees on the autism spectrum

https://apnews.com/article/autism-awareness-work-neurodivergent-meetings-89dfea1bd912184ab0628377...
1•petethomas•41m ago•0 comments

Good-egg – Trust scoring for GitHub PR authors based on contribution history

https://github.com/2ndSetAI/good-egg
1•zdw•42m ago•0 comments

I made a rap album about SRE/DevOps incidents and outages and it slaps

https://poddaddy5x9.vercel.app/
1•logicminds•43m ago•1 comments

Subtyping, Subclassing, and Trouble with OOP

https://okmij.org/ftp/Computation/Subtyping/
1•signa11•48m ago•0 comments

Malicious Packages Don't Fit the Vulnerability Intelligence Model

https://www.first.org/blog/20260420-Malicious-Packages-Dont-Fit
1•jruohonen•48m ago•0 comments

An information operating system powered by local files

https://galaxybrain.com
1•marcinignac•49m ago•1 comments

Foundations of Computer Science: C edition (1994) [pdf]

https://blough.ece.gatech.edu/3020/focs.pdf
1•nill0•50m ago•0 comments

Social media content creator boost

https://www.qten.ai/
1•bandishankar•50m ago•1 comments

Aiguard-scan – Find secrets and vulnerabilities in AI-generated code

https://github.com/Hephaestus-byte/agent-guard
2•Hephaestus-byte•55m ago•0 comments