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.

Rust-Coreutils Security Audit Report by Zellic [pdf]

https://github.com/Zellic/publications/blob/master/uutils%20coreutils%20-%20Zellic%20Audit%20Repo...
1•csmantle•2m ago•0 comments

OTRv4 Post-quantum IRC that runs on a phone over I2P/Tor/TLS

https://github.com/muc111/OTRv4Plus
1•muc111•2m ago•0 comments

Wiki Builder: Skill to Build LLM Knowledge Bases

https://academy.dair.ai/blog/wiki-builder-claude-code-plugin
1•omarsar•3m ago•0 comments

Xero.DataComparer – High-performance generic list comparator for .NET

https://github.com/ybouha/Xero.DataComparer
1•ybouha•3m ago•0 comments

Research suggests that dinosaurs may have influenced how human beings age

https://phys.org/news/2023-11-longevity-bottleneck-hypothesis-dinosaurs-human.html
1•amichail•4m ago•0 comments

Stock Indexes Are Contorting Themselves to Include SpaceX and OpenAI

https://www.wsj.com/finance/stocks/stock-indexes-are-contorting-themselves-to-include-spacex-and-...
1•dbalatero•6m ago•0 comments

Testssl.sh: checks a server's service on any port for the support of TLS ciphers

https://github.com/testssl/testssl.sh
1•Bender•9m ago•0 comments

5 years of freelancing: same work, better pay, and a ceiling

https://dylancastillo.co/posts/5-years-freelancing-in-europe.html
3•dcastm•12m ago•0 comments

A handy bash function to convert a video to a GIF

https://gist.github.com/Olshansk/8046a7bfff7c82aca67d961d4d3d1d1a
1•Bender•14m ago•0 comments

Yann LeCun's Billion Dollar Bet [video]

https://www.youtube.com/watch?v=kYkIdXwW2AE
1•rohitpaulk•14m ago•0 comments

Foxconn launches second-generation satellites via SpaceX Falcon 9

https://www.reuters.com/science/foxconn-launches-second-generation-satellites-via-spacex-falcon-9...
1•saikatsg•14m ago•0 comments

Anika Wells rewrote social media ban days before lodging legal defence

https://www.afr.com/companies/media-and-marketing/anika-wells-rewrote-social-media-ban-days-befor...
1•01-_-•15m ago•0 comments

Why PayPal Only Does the Last Mile-We Built the Card Reader, We Forgot the Store

https://normalphd.substack.com/p/why-paypal-only-does-the-last-mile
1•dooku0721•17m ago•0 comments

AI deleted my most tests, and said "All Tests Pass"

https://typia.io/blog/ai-deleted-my-tests-and-said-all-tests-pass/
2•autobe•17m ago•1 comments

Scientists Develop Bioengineered Chewing Gum That Could Help Fight Oral Cancer

https://scitechdaily.com/scientists-develop-bioengineered-chewing-gum-that-could-help-fight-oral-...
1•01-_-•18m ago•0 comments

Measure Solar Radiation&Heat Flux Without Expensive Hardware, Using Soft-Sensing

https://ieeexplore.ieee.org/document/11476295
1•iopoer•21m ago•0 comments

The AI Revolution Hollywood Feared Is Happening – In India

https://www.hollywoodreporter.com/business/digital/india-ai-filmmaking-1236548136/
2•thunderbong•23m ago•1 comments

Business Owners Are Worst Clients

https://zencapital.substack.com/p/business-owners-are-worst-clients
11•zenincognito•25m ago•4 comments

US Power Investment Is at Record Highs, Driven by a Solar and Battery Boom

https://www.apricitas.io/p/americas-electricity-gap
1•m-hodges•26m ago•0 comments

How to Run Any LLM in Claude Cowork and Claude Code

https://www.productcompass.pm/p/cowork-on-3p-any-llm
3•Anon84•26m ago•0 comments

Boolean logic operators are not intuitive. Let's do better

https://charon.konekopi.com/posts/boolean_logic_naming/
1•Charon77•26m ago•0 comments

Pgxbackup: Continuity Support for PgBackRest

https://thebuild.com/blog/2026/05/01/pgxbackup-continuity-support-for-pgbackrest/
2•EvanAnderson•27m ago•0 comments

VulkanForge – 14 MB Vulkan LLM engine that runs native FP8 models on AMD (Rust)

https://github.com/maeddesg/vulkanforge
1•maeddesg•28m ago•0 comments

Show HN: Semble – Code search for agents that uses 98% fewer tokens than grep

https://github.com/MinishLab/semble
3•stephantul•30m ago•0 comments

Why Andy Serkis Turned 'Animal Farm' into a Family Film–and What It Teaches Kids

https://www.parents.com/animal-farm-movie-for-kids-11961291
2•rawgabbit•32m ago•0 comments

Show HN: Subscribe to RSS Feeds on Kindle

https://www.rsstokindle.com/
1•nartam11•32m ago•0 comments

An HIV/AIDS tragedy spurred human evolution

https://www.science.org/content/article/how-hiv-aids-tragedy-spurred-human-evolution
3•gmays•35m ago•0 comments

Securing an OData Service Using Attribute-Based Access Control

https://www.bytefish.de/blog/aspnetcore_odata_abac_claims.html
1•bytefish•38m ago•0 comments

Show HN: Deckades – Was Star Wars released before or after the first Email?

https://deckades.app/daily
2•lschneider•40m ago•1 comments

Security Through Obscurity Is Not Bad

https://mobeigi.com/blog/security/security-through-obscurity-is-not-bad/
3•mobeigi•42m ago•1 comments