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.

Ask HN: Can you show me some useful AI-written programs?

2•nananana9•54s ago•0 comments

Air Is Full of DNA

https://www.nature.com/articles/d41586-026-01099-2
3•howrude•3m ago•0 comments

Mapping India's homegrown AI ecosystem – 110 apps, 22 languages, 28 sectors

https://github.com/suyash333/india-ai-ecosystem
1•golearnsap•5m ago•0 comments

I found out the hard way that Linux is not a dad-friendly gaming OS

https://www.pcgamer.com/hardware/i-found-out-the-hard-way-that-linux-is-not-a-dad-friendly-gaming...
3•evo_9•10m ago•1 comments

Israel kills two UNICEF water truck drivers in Gaza

https://www.unicef.org/press-releases/statement-unicef-killing-two-water-truck-drivers-gaza-strip-0
4•lr0•19m ago•0 comments

_Generic Printf() in Standard C23

https://codeberg.org/Flying-Toast/gprintf
1•flying-toast•29m ago•0 comments

Kazakhstan still relies on its ageing industrial giants

https://mondediplo.com/2026/04/14kazakhstan
1•JumpCrisscross•29m ago•0 comments

Show HN: How Are You-elderly fall detection app I built solo with AI in 6 months

2•sminchev•30m ago•0 comments

Show HN: A Roman fable about a PHP suite that exposed 100 tables in 3 days

https://marius-ciclistu.medium.com/list/the-api-grand-prix-486dc1becb36
1•marius-ciclistu•31m ago•0 comments

Mysterious figure has summited Sphere in Las Vegas: It appears it's Alex Honnold

https://www.sfgate.com/travel/article/alex-honnold-sphere-las-vegas-22212813.php
2•bookofjoe•32m ago•1 comments

A Chrome extension that redesigns Hacker News in an editorial style

https://github.com/puppe1990/redesign-hacker-news
1•puppe1990•33m ago•0 comments

A Hidden Language: The Meaning of Semaphore

https://www.offshoresupply.co.uk/blog/a-hidden-language-the-meaning-of-semaphore/
1•Eridanus2•33m ago•0 comments

Observability Stack – AI First?

1•jblake•46m ago•0 comments

Any Color You Like: NIST Scientists Create 'Any Wavelength' Lasers

https://www.nist.gov/news-events/news/2026/04/any-color-you-nist-scientists-create-any-wavelength...
3•rbanffy•47m ago•0 comments

Show HN: Reliably Incorrect – explore LLM reliability with data visualizations

https://adamsohn.com/reliably-incorrect/
2•dataviz1000•47m ago•3 comments

The Destroyed Remnants of a Lost World Are Falling to Earth, Scientists Discover

https://www.404media.co/the-destroyed-remnants-of-a-lost-world-are-falling-to-earth-scientists-di...
3•Brajeshwar•51m ago•0 comments

Vynly an AI-only social feed with provenance checks (beta)

https://vynly.co
1•nftdude2024•52m ago•0 comments

SDF Public Access Unix System

https://sdf.org/?ssh
2•neehao•53m ago•0 comments

Open-source Firecracker microVM orchestrator

https://github.com/sahil-shubham/bhatti
2•davidcollantes•53m ago•0 comments

Tinypki: Easy to use software for local CA/PKI management

https://github.com/icedevml/tinypki
2•msm_•56m ago•0 comments

Eating more fruits and vegetables tied to unexpected lung cancer risk

https://www.sciencedaily.com/releases/2026/04/260417224454.htm
1•amichail•56m ago•0 comments

How (and why) we rewrote our production C++ front end infrastructure in Rust

https://blog.nearlyfreespeech.net/2026/04/17/how-and-why-we-rewrote-our-production-c-frontend-inf...
2•maxloh•58m ago•0 comments

Optimizing Ruby Path Methods

https://byroot.github.io/ruby/performance/2026/04/18/faster-paths.html
6•weaksauce•59m ago•0 comments

Wishes for Ron Conway

https://om.co/2026/04/18/wishes-for-ron-conway/
3•rmason•1h ago•0 comments

Show HN: Coelanox – auditable inference runtime in Rust (BERT runs today)

https://www.coelanox.com/
1•Shark1n4Suit•1h ago•0 comments

Scrolly AI: knows you better than you know yourself

https://zorkman.substack.com/p/scrolly
2•zorkman•1h ago•0 comments

The largest collection of black markers

https://www.prune.dirt.fyi/p/prune-getting-high-on-your-own-supply
2•zeech•1h ago•0 comments

Nuke Engineer Rants

https://nukerants.fi/index.php/cover
3•DamonHD•1h ago•0 comments

PostgreSQL production incident caused by transaction ID wraparound

https://www.sqlservercentral.com/articles/i-too-have-a-production-story-a-downtime-caused-by-post...
7•tcp_handshaker•1h ago•2 comments

Show HN: I built a tool that reads 2000 health studies a day so you dont have to

https://www.polivora.com
1•ledil•1h ago•3 comments