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.

Fees for seas: a history of taxing waterways

https://www.ft.com/content/9a5294cf-0b64-4201-b88c-12ba586bb4fd
1•uijl•3m ago•1 comments

ChatGPT praises mood and 'bedroom/DIY texture' of fart sounds

https://www.pcgamer.com/software/ai/chatgpt-will-praise-the-mood-and-bedroom-diy-texture-of-fart-...
1•wesfenlon•5m ago•0 comments

The coordination tax: six years watching a one-day feature take four months

https://www.indiehackers.com/post/the-coordination-tax-six-years-watching-a-one-day-feature-take-...
1•max_flowly_run•6m ago•0 comments

Is AI Really gonna take our jobs?

1•PotatoAditya•7m ago•0 comments

Security Best Practices for Speedify Self-Hosted Servers

https://support.speedify.com/article/1070-security-best-practices-for-speedify-self-hosted-servers
1•goodburb•7m ago•0 comments

Show HN: sqlc-gen-sqlx, a sqlc plugin for generating sqlx Rust code

https://github.com/mathematic-inc/sqlc-gen-sqlx
1•jrandolf•12m ago•1 comments

What is gravity? – A 7-minute read

https://corpusk.info/what-is-gravity.html
1•nik_slusarenko•17m ago•0 comments

AI Changed What We Build. Then It Changed Who We Hire

https://www.hauser.io/ai-changed-what-we-build-then-it-changed-who-we-hire/
1•bkfh•18m ago•0 comments

Show HN: Xlg – Jq for APIs

1•alykirk•19m ago•1 comments

Programming Used to Be Free

https://purplesyringa.moe/blog/programming-used-to-be-free/
1•yeputons•21m ago•0 comments

The P Source: How humanities scholars changed modern spycraft (2020)

https://paw.princeton.edu/article/p-source
2•walterbell•22m ago•0 comments

Record oil production in West Texas helps stabilize U.S. supply amid Iran war

https://www.texastribune.org/2026/04/09/west-texas-oil-production-iran/
1•1659447091•24m ago•0 comments

CC v2.1.100 inflates cache_creation by ~20K tokens vs. v2.1.98

https://github.com/anthropics/claude-code/issues/46917
1•tamnd•25m ago•0 comments

Caught Off Guard Again:How Democrats Keep Misjudging the Information Battlefield

https://weaponizedspaces.substack.com/p/caught-off-guard-again-how-democrats
1•rbanffy•27m ago•0 comments

We change when others are watching

https://nesslabs.com/audience-effect
1•theorchid•27m ago•0 comments

Object Oriented Programming (OOP) in R Explained

https://r-statistics.co/OOP-in-R.html
1•selva86•29m ago•0 comments

Mano-P – On-device GUI agent, #1 on OSWorld, runs on M4 Mac

https://github.com/Mininglamp-AI/Mano-P
2•mininglamp•33m ago•0 comments

Meta builds AI version of Mark Zuckerberg to interact with staff

https://www.ft.com/content/02107c23-6c7a-4c19-b8e2-b45f4bb9ce5f
2•jmsflknr•34m ago•0 comments

The AI Layoff Trap

https://arxiv.org/abs/2603.20617
31•armcat•49m ago•21 comments

Horizontal Infrastructure for Building Computer Vision Applications

1•AdamEyes•49m ago•0 comments

Fly Drones from the Browser

https://fpvsim.com/sim
2•mosfets•52m ago•1 comments

Claude Code plugin with a built-in fact-check compiler

https://grainulator.app/
3•woptober•53m ago•0 comments

Battery Intelligence SDK for IoT (NRF52840, STM32, ESP32-C3)

https://github.com/aliaksandr-liapin/ibattery-sdk
1•iBattery•54m ago•0 comments

The Economics of Software Teams: Why Most Engineering Orgs Are Flying Blind

https://www.viktorcessan.com/the-economics-of-software-teams/
12•kiyanwang•1h ago•0 comments

Relocating Rigor

https://aicoding.leaflet.pub/3mbrvhyye4k2e
2•kiyanwang•1h ago•0 comments

Trovare – I built a search aggregator with 39 adapters across 11 platforms

https://trovare.ro/
1•mariusmitrofan•1h ago•0 comments

X Randomly Banning Users for "Inauthentic Behavior"

https://old.reddit.com/r/LinusTechTips/comments/1rsdk7i/anybody_here_talking_about_the_massive/
13•crmrc114•1h ago•6 comments

How to Share Terraform State (Tutorial)

https://spacelift.io/blog/how-to-share-terraform-state
2•kat-w•1h ago•0 comments

Gall's Law – Laws of Software

https://www.laws-of-software.com/laws/gall/
2•fagnerbrack•1h ago•0 comments

Why successful people often have bad opinions online

https://greyenlightenment.com/2026/04/02/why-successful-people-often-have-bad-opinions-online/
2•paulpauper•1h ago•1 comments