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•1y ago

Comments

llm-exe•1y 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•1y 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.

Bit Rot Doesn't Always Increase Entropy

https://bughunters.google.com/blog/bit-rot-doesnt-always-increase-entropy
1•ddos•2m ago•0 comments

Robert Crumb: from American counterculture to the French countryside

https://www.artbasel.com/news/robert-crumb-cartoonist-provence
1•Michelangelo11•3m ago•0 comments

Samsung to Refund 20% of All Purchases in South Korea in Onuri Gift Certificates

https://en.sedaily.com/finance/2026/06/05/samsung-to-refund-20-percent-of-purchases-in-onnuri-gift
1•Markoff•6m ago•1 comments

We Shipped a Feature in 2 Days That Was Scoped for a Week (Week 4 Friday Rou

https://theaileverageweekly.com/posts/how-we-shipped-a-feature-in-2-days-that-was-scoped-for-a-we...
1•talvardi7•7m ago•0 comments

Supply chain attack alert: .github/setup.js

1•antihero•8m ago•0 comments

A faster bump allocator for rust

https://owen.cafe/posts/stumpalo/
2•414owen•12m ago•0 comments

Show HN: Concord – Discord in Terminal

https://github.com/chojs23/concord
2•n3ozz•12m ago•0 comments

Pulling a New Proof from Knuth's Fixed-Point Printer

https://research.swtch.com/fp-knuth
1•KnuthIsGod•12m ago•0 comments

TSMC working hard to meet chip demand, would 'like' to hike prices

https://www.reuters.com/world/china/tsmc-boss-upbeat-outlook-ai-boom-shows-no-sign-easing-2026-06...
1•giuliomagnifico•13m ago•0 comments

Memory Still Matters in the Age of ChatGPT

https://www.dcaulfield.com/memorisation-chatgpt
1•cauliflower99•16m ago•0 comments

Japan proposes rebuilding ageing nuclear plants to meet power demand

https://www.reuters.com/business/energy/japan-plans-rebuild-ageing-nuclear-plants-boost-power-sup...
1•leonidasrup•19m ago•0 comments

Nikon D3200 IR Conversion

https://mitxela.com/projects/d3200_ir_conversion
1•Lunar5227•20m ago•0 comments

Chat is infinite scroll for work

https://www.dtlarson.com/thousand-prompts
2•derek-larson•20m ago•0 comments

Trump directs hundreds of millions of dollars to support coal

https://www.reuters.com/legal/litigation/trump-unveil-700-million-coal-support-plan-using-emergen...
4•leonidasrup•24m ago•1 comments

Show HN: Run Llama.cpp In-Process from Java with Project Panama FFM

https://deemwar-products.github.io/mochallama/
3•deemwar•26m ago•0 comments

Debris with telemetry: cybersecurity and Kessler syndrome

https://www.thespacereview.com/article/5234/1
1•fanf2•26m ago•0 comments

Anthropic Urges Global Pause in AI Development, Flags 'Self-Improvement' Risk

https://www.wsj.com/tech/ai/anthropic-urges-global-pause-in-ai-development-flags-self-improvement...
5•andsoitis•27m ago•3 comments

Show HN: CLI for scoring OpenAPI for LLM legibility

https://github.com/jentic/jentic-api-scorecard
3•seanblanchfield•32m ago•0 comments

Clodo (Not Claudo)

https://en.wikipedia.org/wiki/CLODO
1•largolagrande•33m ago•1 comments

XML and JSON in 2026

https://www.tbray.org/ongoing/When/202x/2026/06/01/XML-and-JSON-in-2026
1•protomolecool•33m ago•0 comments

Show HN: LLM memory without context bleed; 100% precision vs. <10% vector search

https://tenureai.dev/
2•decorner•34m ago•1 comments

Entanglement Builds Space-Time. Now "Magic" Gives It Gravity

https://www.quantamagazine.org/entanglement-builds-space-time-now-magic-gives-it-gravity-20260603/
4•rbanffy•34m ago•0 comments

Magnetometers Power GPS-Free Indoor Positioning

https://spectrum.ieee.org/magnetometers-hidonix-astranav-gps-alternative
1•rbanffy•35m ago•0 comments

Tracing a powerful GNSS interference source over Europe

https://arxiv.org/abs/2606.03673
2•mimorigasaka•36m ago•0 comments

Chip Capacity Constraints Put a Governor on AI Spending Growth

https://www.nextplatform.com/ai/2026/06/05/chip-capacity-constraints-put-a-governor-on-ai-spendin...
1•rbanffy•38m ago•0 comments

ChatBrief – A Chrome extension that summarises selected text locally

https://chromewebstore.google.com/detail/chatbrief/jogecipooebeilnfjknpcggojlcfpmig
1•banke1•38m ago•0 comments

Fastest known spinning star at 24% of c: PSR J1748−2446ad

https://en.wikipedia.org/wiki/PSR_J1748%E2%88%922446ad
1•basilikum•38m ago•0 comments

Built a desktop scraping tool that generates Playwright code for you-free beta

https://www.orchestra-automation.com/
1•oceandoughnut•42m ago•0 comments

Just Flip the Flag Broh

https://just-flip-the-flag-broh.tiiny.site
2•throwaway324041•43m ago•1 comments

ExamClock – Real-time synced exam timers for school exam halls

https://examclock.com
1•renatello•43m ago•1 comments