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•10mo ago

Comments

llm-exe•10mo 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•10mo 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.

Show HN: Run Claude Code in a Local Sandbox

https://github.com/instavm/coderunner
1•mkagenius•44s ago•0 comments

Meta and Google trial: are infinite scroll and autoplay creating addicts?

https://www.theguardian.com/technology/2026/mar/14/meta-and-google-trial-are-infinite-scroll-and-...
1•Brajeshwar•4m ago•0 comments

StatGPT: The Dangers of Asking AI about Statistics

https://conversableeconomist.com/2026/03/13/statgpt-the-dangers-of-asking-ai-about-statistics/
1•gotmedium•5m ago•0 comments

Show HN: SysUpdate – Universal Linux package manager updater

https://github.com/RossContino1/SysUpdate
1•RossC17331•6m ago•0 comments

Branch Prediction

https://danluu.com/branch-prediction/
1•birdculture•6m ago•0 comments

A Month with OpenAI's Codex

https://www.highcaffeinecontent.com/blog/20260301-A-Month-With-OpenAIs-Codex
1•wallflower•9m ago•0 comments

Standing Rock, Local News Is Teetering

https://www.cjr.org/analysis/standing-rock-local-news-teetering-teton-lakota-times-sioux-native-i...
1•Tomte•10m ago•0 comments

The Official DR DOS Website

https://www.dr-dos.com/
1•Tomte•11m ago•1 comments

Show HN: Astrocartography AI – an interactive astrocartography map generator

1•iamouyang•14m ago•0 comments

How Napoleon Became Short

https://worldhistory.substack.com/p/how-napoleon-became-short
1•crescit_eundo•16m ago•0 comments

The U.S. Mint dropped the olive branch from the dime

https://fortune.com/2026/03/12/us-mint-drops-olive-branch-dime-peace-war/
2•janandonly•16m ago•0 comments

Flipping Bits in Memory Without Accessing Them (2014) [pdf]

https://users.ece.cmu.edu/~yoonguk/papers/kim-isca14.pdf
1•jruohonen•17m ago•0 comments

OpenClaw Skills

https://github.com/VoltAgent/awesome-openclaw-skills
1•theorchid•17m ago•0 comments

AI Hallucinations: How They Reshape the Way We Think

https://chungmoo.substack.com/p/ai-hallucinations-how-they-reshape
1•chungmoo•18m ago•0 comments

RAM-only privacy architecture and why humans fail before the tech does

2•Shefoz•20m ago•0 comments

Made a R coding tool that feels like cheating

https://rchat.dev/
1•ilukaspesek•20m ago•0 comments

The world needs a server reboot, XP reset, and for PunkBuster to be re-enabled

2•conorcleary•22m ago•0 comments

The Webpage Has Instructions. The Agent Has Your Credentials

https://openguard.sh/blog/prompt-injections/
1•everlier•24m ago•0 comments

Apple's Liquid Glass UI Isn't Going Anywhere; Siri Home Hub, Foldable iPhone

https://www.bloomberg.com/news/newsletters/2026-03-15/apple-s-liquid-glass-ui-isn-t-going-anywher...
1•tambourine_man•24m ago•0 comments

Nathan Fillion Says 'Firefly' Animated Series in Development

https://deadline.com/2026/03/nathan-fillion-firefly-animated-series-development-1236754122/
3•Rant423•25m ago•0 comments

Ask HN: Did you ever have a supernatural experience?

3•general_reveal•26m ago•1 comments

BYD shifts to local parts in Brazil factory in bid for market leadership

https://www.reuters.com/sustainability/sustainable-finance-reporting/byd-shifts-local-parts-brazi...
2•kaycebasques•29m ago•0 comments

Thorny issue plaguing lithium-ion batteries laid bare in new study

https://phys.org/news/2026-03-thorny-issue-plaguing-lithium-ion.html
1•Brajeshwar•29m ago•0 comments

Mikk – your AI wrote the code but doesn't know what breaks

1•Ansh_Dhanani•30m ago•0 comments

We do not have a democracy

https://joelx.com/we-do-not-have-a-democracy/
1•silexia•30m ago•1 comments

Show HN: Experiments Mapping the "Primitive Layer" in Language Models

https://github.com/dchisholm125/graph-oriented-generation
1•dchisholm125•31m ago•0 comments

Inverses

https://code.jsoftware.com/wiki/Vocabulary/Inverses
1•tosh•31m ago•0 comments

BYD's Brazil plant secures 100k vehicle orders from Argentina and Mexico

https://carnewschina.com/2026/03/15/byds-brazil-plant-secures-100000-vehicle-orders-from-argentin...
1•kaycebasques•31m ago•0 comments

Show HN: Notebooklm-SDK – Unofficial Node.js/Bun Client for NotebookLM

https://github.com/agmmnn/notebooklm-sdk
1•agmmnn•32m ago•0 comments

Linux 7.0 Lands Improvements to Deal with Rust Changes, Build Reproducibility

https://www.phoronix.com/news/Linux-7.0-rc4-More-Rust
2•Bender•32m ago•0 comments