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.

Where Are the Customers' Bots?

https://www.thedrawingboard.net/where-are-the-customers-bots/
1•mooreds•44s ago•0 comments

Another Demo from Boston Dynamics

https://spectrum.ieee.org/boston-dynamics-spot-google-deepmind
1•marc__1•1m ago•0 comments

Germany's Black Forest faces a future of transformation

https://longreads.com/2026/03/12/into-the-darkness/
1•mooreds•1m ago•0 comments

Donut Lab's battery claims reportedly subject of whistleblower complaint

https://www.engadget.com/transportation/donut-labs-battery-claims-reportedly-subject-of-whistlebl...
1•WarmWash•1m ago•0 comments

Lil: A Scripting Language

https://beyondloom.com/decker/lil.html
1•tosh•2m ago•0 comments

Running Qwen 3.6 35B-A3B-4B on MacBook Pro M5 64GB with tools

https://www.youtube.com/watch?v=gJlVjR3G25c
1•elvean•3m ago•0 comments

A New Verdict Rewrites the Rules of Corporate Morality

https://www.nytimes.com/2026/04/17/opinion/lafarge-corporate-terrorism-syria-france.html
1•shrubby•4m ago•0 comments

Notes from the SF Peptide Scene

https://12gramsofcarbon.com/p/notes-from-the-sf-peptide-scene
1•theahura•6m ago•0 comments

Best: "Show HN: Synod–Python tool to use generic BLE wearables as PC macro decks

https://github.com/Abrish-Yir/synod
1•vexki•7m ago•1 comments

The neuroscience of visualization: why it works (but not how you think)

https://twitter.com/jaynitx/status/2045486658938888598
1•gmays•7m ago•0 comments

Generating random numbers using C++ standard library: the problems

https://codingnest.com/generating-random-numbers-using-c-standard-library-the-problems/
1•fanf2•7m ago•0 comments

Who will be the senior engineers of 2035?

https://theengineeringmanager.substack.com/p/who-will-be-the-senior-engineers
1•baranul•9m ago•0 comments

Is BQN Mathematics?

https://mlochbaum.github.io/BQN/commentary/math.html
2•tosh•9m ago•1 comments

Runners vs. robots at China half marathon

https://www.bbc.co.uk/news/videos/cz0e54yrppno
1•mmarian•12m ago•0 comments

Ask HN: How do you share so manny Photos after Trip?

1•gray_wolf_99•12m ago•0 comments

When the cost of verification exceeds the cost of trust

https://twitter.com/shanaka86/status/2045872866944848108
1•toss1•12m ago•0 comments

When moving fast, talking is the first thing to break

https://daverupert.com/2026/04/more-talk-less-grok/
2•Brajeshwar•15m ago•0 comments

Five-year review of BQN design

https://mlochbaum.github.io/BQN/commentary/fiveyears.html
1•tosh•17m ago•0 comments

You Can't Game Your Way to a Real Education

https://www.nytimes.com/2026/04/19/opinion/schools-edtech-laptops-games-learning.html
1•7402•18m ago•0 comments

Hyrum's Law: The hunt for a faster syscall trap (2004)

https://devblogs.microsoft.com/oldnewthing/20041215-00/?p=37003
1•signa11•19m ago•0 comments

Clearwing: Produce similar results as Anthropic Glasswing (Mythos)

https://github.com/Lazarus-AI/clearwing
1•ninjagoo•19m ago•1 comments

Knime will undergo enshittification in 2026

https://forum.knime.com/t/batch-execution-no-longer-supported/91773?page=3
1•nijuashi•21m ago•2 comments

In Telluride, regulations designed to help renters drive many out of town

https://coloradosun.com/2026/04/19/telluride-rent-regulations-renters-affordability-shandoka-sunn...
1•mooreds•23m ago•0 comments

How to Make a Lichtenberg Machine from Your Microwave: A Step-by-Step Guide

https://kitchenpearls.com/how-to-make-a-lichtenberg-machine-from-microwave/
1•thunderbong•23m ago•0 comments

Passkeys, Explained for a Developer

https://gist.github.com/david-crespo/0a4e5fcf8cd95d02e2673bcfff25cae4
2•mooreds•24m ago•1 comments

The Future of Petrochemicals Towards a more sustainable chemical industry (2018)

https://www.iea.org/reports/the-future-of-petrochemicals
1•wallflower•24m ago•1 comments

Matt Mullenweg Overrules Core Committers; Puts Akismet on WP 7's Connector List

https://www.therepository.email/matt-mullenweg-overrules-core-committers-to-put-akismet-on-wordpr...
2•mooreds•25m ago•0 comments

Why AI Needs a Sense of Smell

https://www.noemamag.com/why-ai-needs-a-sense-of-smell/
2•andrewl•27m ago•0 comments

Hello old new "Projects" directory

https://blog.tenstral.net/2026/04/hello-projects-directory.html
1•birdculture•28m ago•0 comments

Contracted ARR Considered Harmful

https://arnon.dk/contracted-arr-considered-harmful/
2•arnon•29m ago•0 comments