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.

China's Road from Revolution to Reform

https://branko2f7.substack.com/p/there-is-a-great-disorder-under-the
1•rmdmphilosopher•13s ago•0 comments

Show HN: Stuffer, browser based QR/NFC inventory management with peer.js sync

https://github.com/EternityForest/Stuffer
1•eternityforest•41s ago•0 comments

Tuish – TUI toolkit in pure portable shell script (bash/zsh/busybox/ksh/mksh)

https://github.com/alganet/tuish
1•gaigalas•1m ago•0 comments

Ironies of Automation

https://en.wikipedia.org/wiki/Ironies_of_Automation
1•py4•3m ago•0 comments

MCPs, CLIs, and skills: when to use what?

https://jngiam.bearblog.dev/mcps-clis-and-skills-when-to-use-what/
1•ankit84•3m ago•0 comments

Ukraine's $1k interceptor drones The Pentagon wants to buy

https://www.militarytimes.com/news/pentagon-congress/2026/03/11/these-are-ukraines-1000-intercept...
1•mizzao•9m ago•0 comments

Global Maritime Chokepoints

https://ryanshook.org/chokepoints/
1•RyanShook•12m ago•0 comments

VeryAI raises $10M to build palm-scan identity system on Solana

https://cointelegraph.com/news/polychain-backs-veryai-s-10m-raise-to-build-palm-scan-identity-sys...
1•adrianwaj•15m ago•0 comments

Vite 8.0 Is Out

https://vite.dev/blog/announcing-vite8
5•kothariji•18m ago•0 comments

Some Simple Economics of AGI

https://arxiv.org/abs/2602.20946
1•aray07•21m ago•0 comments

ScraperNode – Scraping API for LinkedIn, Instagram, TikTok, and More

https://scrapernode.com
1•emery_p•21m ago•0 comments

Hugging Face Storage Buckets Storage Bucket

https://huggingface.co/storage
1•tamnd•21m ago•0 comments

2011-2026 time lapse: rebuilding after Tōhoku earthquake and tsunami [video]

https://www.youtube.com/watch?v=ZE-JgL_UUkI
1•kazinator•23m ago•1 comments

Ask HN: Does anyone here use Discord as their work chat tool?

2•Poomba•30m ago•3 comments

AI-generated passwords aren't random, it just looks that way

https://www.theregister.com/2026/02/18/generating_passwords_with_llms/
1•pabs3•31m ago•1 comments

Show HN: ClawRemove – Inspect and clean AI agent environments

https://github.com/tianrking/ClawRemove
1•tianrking•31m ago•1 comments

A Multilingual, IRGC-affiliated Influence Operation on X, Instagram, and Bluesky

https://open.clemson.edu/cgi/viewcontent.cgi?article=1009&context=mfh_reports
1•longislandguido•32m ago•0 comments

Who Will Remember Us When the Servers Go Dark?

https://newdesigncongress.org/en/pub/who-will-remember-us-when-the-servers-go-dark/
2•pabs3•36m ago•0 comments

Native CLI scaffolds consistently outper-form OpenCode when using the same model

https://arxiv.org/abs/2603.08640
1•xdotli•37m ago•1 comments

Show HN: Droeftoeter, a Terminal Coding Toy

https://github.com/whtspc/droeftoeter
1•whtspc64•38m ago•0 comments

Show HN: Freelancer Profitability Calculator

https://soloboss.app/freelancer-profitability-calculator
1•SoloBossFounder•40m ago•0 comments

Faulty urine tests may have inflated alcohol levels in California criminal cases

https://www.sfchronicle.com/bayarea/article/urine-tests-alcohol-level-faulty-california-22073795.php
3•littlexsparkee•44m ago•0 comments

Important Updates to GitHub Copilot for Students

https://github.com/orgs/community/discussions/189268
1•angst•45m ago•1 comments

From Optician to $62k MRR in 3 Months: AI Code Editors Reshaping SaaS

2•jackcofounder•50m ago•0 comments

CLI-Anything

https://github.com/HKUDS/CLI-Anything
4•tardismechanic•54m ago•0 comments

We compare model quality in Cursor

https://cursor.com/blog/cursorbench
2•xdotli•57m ago•0 comments

An Overview of the Amoeba Distributed Operating System – Tanenbaum

https://dl.acm.org/doi/pdf/10.1145/1041500.1041502
1•ivanbelenky•58m ago•0 comments

T4a – Terminals for Agents

https://github.com/denoland/t4a
1•garrettjoecox•1h ago•0 comments

Fast non-Chromium browser for AI agents: LightPanda

https://lightpanda.io
1•daniel_iversen•1h ago•0 comments

Kobalt Tools

https://kbalt.com/
2•Throwthrowbob•1h ago•1 comments