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.

Effects of Stablecoin Yield Prohibition on Bank Lending

https://www.whitehouse.gov/research/2026/04/effects-of-stablecoin-yield-prohibition-on-bank-lending/
1•salkahfi•59s ago•0 comments

The Signature Method in Machine Learning (an interactive reading note)

https://ngrislain.github.io/blog/2026-4-6-reading-note-the-signature-method-in-machine-learning/
1•ngrislain•4m ago•0 comments

The Martians

https://en.wikipedia.org/wiki/The_Martians_(scientists)
1•tosh•6m ago•0 comments

We Got the Lithium-ion Battery (2024)

https://www.construction-physics.com/p/how-we-got-the-lithium-ion-battery
1•doener•6m ago•0 comments

Completely Private AI

https://molebieai.com/
1•Jimmy6929•8m ago•0 comments

FormTo – Open-source, self-hosted form back end

https://github.com/lumizone/formto
1•luka5184•9m ago•0 comments

Show HN: I built a Zoom alternative with 1 command

https://sfu.mirotalk.com
1•mp85•10m ago•1 comments

Starving Genies

https://tidyfirst.substack.com/p/starving-genies
1•danebalia•13m ago•0 comments

Roc

https://www.roc-lang.org/
1•tosh•14m ago•0 comments

Struggle Against the Gods

https://firstthings.com/struggle-against-the-gods/
2•marcofloriano•16m ago•0 comments

Google adopts new stance on device fingerprinting (2025)

https://www.lewissilkin.com/insights/2025/01/16/google-adopts-new-stance-on-device-fingerprinting...
1•bellwhistle•16m ago•0 comments

All of the String Types

https://lambdalemon.gay/posts/string-types
1•g0xA52A2A•18m ago•0 comments

Škoda DuoBell – The Bike Bell Designed to Penetrate Noise-Cancelling Headphones [video]

https://www.youtube.com/watch?v=zDaVPfpQvPI
1•SockThief•18m ago•1 comments

Russia Hacked Routers to Steal Microsoft Office Tokens

https://krebsonsecurity.com/2026/04/russia-hacked-routers-to-steal-microsoft-office-tokens/
2•KnuthIsGod•19m ago•0 comments

The Building Block Economy

https://twitter.com/mitchellh/status/2041566958681014418
1•doppp•22m ago•0 comments

HappyHorse 1.0 – Turn Any Idea into AI Videos Instantly

https://happyhorse.video
1•sarkory•22m ago•0 comments

C's Biggest Mistake

https://digitalmars.com/articles/C-biggest-mistake.html
2•mhh__•25m ago•1 comments

What "Open" Means: Abliterating Gemma 4 in 24 Minutes

https://thenewguard.ai/features/abliterating-gemma-4/
1•mattezell•28m ago•0 comments

VR Undermines the Laws of the Internet

https://yadin.com/notes/vr-amends/
1•dryadin•31m ago•0 comments

The World Needs More Software Engineers

https://www.oreilly.com/radar/the-world-needs-more-software-engineers/
2•BerislavLopac•31m ago•0 comments

ELI: Programming with Arrays [pdf]

https://apl-germany.de/wp-content/uploads/2020/11/Cheng20201124EliProject.pdf
1•tosh•31m ago•0 comments

Fairwords NPM packages compromised by credential worm stealing tokens and

https://safedep.io/malicious-fairwords-npm-credential-worm/
1•birdculture•36m ago•0 comments

I've Sold Out

https://mariozechner.at/posts/2026-04-08-ive-sold-out/
8•doppp•36m ago•0 comments

Your data stack is about to get a lot more contributors

https://getcassis.com/blog/your-data-stack-is-about-to-get-a-lot-more-contributors
2•matthieu_bl•37m ago•1 comments

Lunar Gateway or Moon Direct? (2019)

https://spacenews.com/op-ed-lunar-gateway-or-moon-direct/
1•JumpCrisscross•39m ago•0 comments

Show HN: The 323, a 32-bit computer in Conway's Game of Life

https://256-32.com/computers/323
1•256_•41m ago•0 comments

Make Every Click Count with Real-Time Personalization

https://www.beaconmatch.com
1•Notorious_DAO•44m ago•0 comments

Mario and Earendil

https://lucumr.pocoo.org/2026/4/8/mario-and-earendil/
6•doppp•44m ago•0 comments

Volunteers turn a fan's recordings of 10K concerts into an online treasure trove

https://apnews.com/article/aadam-jacobs-collection-concerts-internet-archive-chicago-b1c9c4466a2d...
2•geox•47m ago•0 comments

Grokking the MariaDB test runner (MTR)

https://optimizedbyotto.com/post/grokking-mariadb-test-run-mtr/
1•mariuz•47m ago•0 comments