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.

JackDanger/gzippy ·The fastest gzip on any hardware

https://github.com/JackDanger/gzippy
1•pkaeding•48s ago•0 comments

Redesigning the Recurse Center application to inspire curious programmers

https://www.recurse.com/blog/192-redesigning-the-recurse-center-application
1•nicholasjbs•1m ago•0 comments

Which one is more important: more parameters or more computation? (2021)

https://parl.ai/projects/params_vs_compute/
1•jxmorris12•1m ago•0 comments

Claude proxy to record interactions: browse, search sessions, usage, MCP

https://github.com/tillahoffmann/cctape
1•tillahoffmann•2m ago•1 comments

Oral Argument Preview: Chatrie vs. United States

https://www.lawfaremedia.org/article/oral-argument-preview--chatrie-v.-united-states
1•hn_acker•6m ago•0 comments

I built PixelGuard – a privacy tool to blur faces in videos

https://pixelguard.video/
1•mindgeek002•6m ago•2 comments

Why BookScan Is Different from Book Sales (Different from Royalty Statements)

https://countercraft.substack.com/p/why-bookscan-is-different-from-book
1•crescit_eundo•7m ago•1 comments

AI Progress doesn't feel as fast as we're told

https://backnotprop.com/blog/ai-progress-doesnt-feel-as-fast-as-were-told/
1•ramoz•7m ago•0 comments

Is code quality and design systems the new SWE?

https://old.reddit.com/r/cscareerquestions/comments/1sukvlf/is_learning_code_quality_and_design_s...
1•SantiDev•9m ago•1 comments

Tiny 1000bhp 13Kg YASA Motor Cuts 200kg from EVs [video]

https://www.youtube.com/watch?v=B2Hl4c1iZK0
1•Lio•10m ago•1 comments

Tenth Circuit Broadens CFAA 'Loss' Beyond Technological Harm–Moxie vs. Nielsen

https://blog.ericgoldman.org/archives/2026/04/tenth-circuit-broadens-cfaa-loss-beyond-technologic...
1•hn_acker•11m ago•0 comments

Rust-coreutils – Program Security Assesment [pdf]

https://github.com/Zellic/publications/blob/master/uutils%20coreutils%20-%20Zellic%20Audit%20Repo...
1•delamon•11m ago•1 comments

Build Your Own Trust Chain

https://blog.certisfy.com/2026/04/build-your-own-trust-chain.html
1•Edmond•11m ago•0 comments

Google plans to invest up to $40B in Anthropic

https://www.reuters.com/business/google-plans-invest-up-40-billion-anthropic-bloomberg-news-repor...
3•wslh•12m ago•0 comments

The Atlas of AI Interaction Design

https://ai-interaction.com/
1•laurex•12m ago•0 comments

Firebird Web Client – open-source, browser-based IDE for Firebird databases

https://github.com/ZlatanOmerovic/firebird-web-client
1•mariuz•14m ago•0 comments

Age checks could turn internet into an ID checkpoint, complains Proton CEO

https://www.theregister.com/2026/04/23/proton_ceo_age_checks_id_checkpoint/
3•Bender•15m ago•1 comments

Ask HN: Any Niantic engineers or staff here who can help me?

2•jedberg•15m ago•0 comments

Tell HN: Anthropic won't reset usage limits for those who downgraded

1•vintagedave•15m ago•0 comments

Designing a Memory System for LLM-Based Agents

https://zby.github.io/commonplace/notes/designing-agent-memory-systems/
1•thomasweiser•15m ago•0 comments

Weak security means attackers could disable all of a city's public EV chargers

https://www.theregister.com/2026/04/24/rentable_iot_security_flaws/
4•Bender•16m ago•0 comments

Intel Binary Optimization: Worth it for the few?

https://www.lttlabs.com/articles/2026/04/24/intel-binary-optimization-worth-it
3•LabsLucas•16m ago•1 comments

Use of AI in Indian elections (2026)

https://www.channelnewsasia.com/asia/india-state-elections-ai-use-campaigning-6063751
2•debarshri•17m ago•0 comments

Show HN: Rook, a macOS notes app for developers

2•maryamtb•18m ago•0 comments

Plants Can Hear the Sound of Falling Rain

https://nautil.us/plants-can-hear-the-sound-of-falling-rain-1280186
2•Brajeshwar•18m ago•0 comments

As electric aspirations fade, Porsche sells its stake in Bugatti

https://arstechnica.com/cars/2026/04/as-electric-aspirations-fade-porsche-sells-its-stake-in-buga...
2•Bender•18m ago•0 comments

Styxx – text-only drift detector 0.916 AUC beats hidden-state baseline

https://github.com/fathom-lab/styxx
2•fathomlab•19m ago•0 comments

StreamComments lets you read and write comments while watching Netflix

https://chromewebstore.google.com/detail/streamcomments/bjpolkbchhpfmmiljggomjpojhigkebg
2•sandebert•25m ago•0 comments

Machine learning& gut microbiome pathway analysis in Alzheimer's risk prediction

https://alz-journals.onlinelibrary.wiley.com/doi/10.1002/dad2.70340
2•bookofjoe•26m ago•0 comments

SDL Now Supports DOS

https://github.com/libsdl-org/SDL/pull/15377
3•Jayschwa•26m ago•0 comments