frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

LLM functions in TypeScript: a composable pattern for prompt/LLM/parse/execute

https://medium.com/llm-exe
4•llm-exe•2h ago

Comments

llm-exe•2h 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•2h 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.

Florida Just Banned Fluoride from Public Water

https://www.nytimes.com/2025/05/15/us/politics/florida-fluoride-water-ban.html
1•ripe•3m ago•1 comments

Show HN: I built a configurable full-stack starter kit generator

https://www.stackhouse.sh/
2•ifeanyi_sa•9m ago•0 comments

Ask HN: Why not have people vote on one question for an AI to answer each day?

2•amichail•10m ago•0 comments

Why Do People Tell Sad Stories in YouTube Comments?

https://www.cantgetmuchhigher.com/p/why-do-people-tell-sad-stories-in
1•jnord•11m ago•0 comments

Launching Supamill [video]

https://www.youtube.com/watch?v=YqD-v70pkO4
1•Spencertate4•14m ago•0 comments

Grafana Assistant, a context-aware LLM agent built into Grafana Cloud

https://grafana.com/blog/2025/05/07/llm-grafana-assistant/
2•vidamon•14m ago•0 comments

Overwork and changes in brain structure: a pilot study

https://oem.bmj.com/content/early/2025/05/08/oemed-2025-110057
1•gnabgib•14m ago•0 comments

Nightlights – Visualizing Change Using NASA's Nighttime Satellite Data

https://jeronimoluza.github.io/posts/applications-of-nasas-black-marble-nighttime-lights-product-suite/
1•jeronimoluza•21m ago•0 comments

Initialization in C++ is bonkers (2017)

https://blog.tartanllama.xyz/initialization-is-bonkers/
2•todsacerdoti•25m ago•0 comments

New computers don't speed up old code [video]

https://www.youtube.com/watch?v=m7PVZixO35c
1•sim04ful•28m ago•0 comments

Ask HN: Solo developer building a product? Show us your work and get feedback

2•mgl•29m ago•4 comments

Dolphin whistle decoders win $100k interspecies communication prize

https://www.theguardian.com/world/2025/may/15/us-scientists-who-deciphered-dolphin-whistles-win-prize-for-animal-communication
12•c420•30m ago•0 comments

Show HN: Convert JSON Schema to SQL DDL

https://github.com/VasilVelikov00/json-schema-to-sql
2•vjv•32m ago•0 comments

US officials targeted in voice deepfake attacks

https://www.bleepingcomputer.com/news/security/fbi-us-officials-targeted-in-voice-deepfake-attacks-since-april/
1•Elliott-Diy•33m ago•0 comments

Power Houses: Inside the living rooms of notable New Yorkers

https://www.newyorker.com/magazine/2025/05/12/power-houses
1•archagon•35m ago•1 comments

Path Tracing Optimizations in Indiana Jones

https://developer.nvidia.com/blog/path-tracing-optimizations-in-indiana-jones-opacity-micromaps-and-compaction-of-dynamic-blass/
1•ibobev•36m ago•0 comments

CBP Seizes Shipment of T-Shirts Featuring Swarm of Bees Attacking a Cop

https://www.404media.co/cbp-seizes-shipment-of-t-shirts-featuring-swarm-of-bees-attacking-cops/
6•mdhb•39m ago•1 comments

Taurine Deficiency as a Driver of Aging

https://www.science.org/doi/10.1126/science.abn9257
4•paulpauper•42m ago•0 comments

Researchers find connection between PFAS exposure and overweight

https://www.sdu.dk/en/nyheder/forskere-finder-direkte-sammenhaeng-mellem-pfas-og-overvaegt
1•paulpauper•42m ago•0 comments

Improving Hugging Face Model Access for Kaggle Users

https://huggingface.co/blog/kaggle-integration
1•kalendos•44m ago•0 comments

Uncle Sam claims H-1B fraud crackdown is working as registrations drop 25%

https://www.theregister.com/2025/05/15/h1b_applications_droped/
4•rntn•45m ago•0 comments

The Side Project Prophecy (2022)

https://brianlovin.com/writing/side-project-prophecy
1•tosh•46m ago•0 comments

What programming languages make variables update when a dependent value changes?

https://langdev.stackexchange.com/questions/4386/
4•opendamp•48m ago•2 comments

wget to Wipeout: Malicious Go Modules Fetch Destructive Payload

https://socket.dev/blog/wget-to-wipeout-malicious-go-modules-fetch-destructive-payload
1•pjmlp•50m ago•0 comments

10 Japanese Concepts That Will Change How You See the World

https://www.kanjimaster.ai/blog/kanji-and-culture-10-japanese-concepts
2•adilmoujahid•54m ago•0 comments

The Potent Powder and 'Narco-Subs' Driving Cocaine's Global Surge

https://www.wsj.com/world/americas/cocaine-colombia-industry-production-7f10201b
2•gmays•59m ago•1 comments

Ask HN: How would you fund a tech cooperative owned by workers and users?

3•prrada•1h ago•2 comments

Microsoft lays off faster CPython team

https://www.linkedin.com/posts/mdboom_its-been-a-tough-couple-of-days-microsofts-activity-7328583333536268289-p4Lp
1•scheme271•1h ago•0 comments

Wooden toy castle set build [video]

https://www.youtube.com/watch?v=8kwCHrqtchI
1•pavel_lishin•1h ago•0 comments

Why is hospital parking so expensive? Two economics researchers explain

https://medicalxpress.com/news/2025-05-hospital-expensive-economics.html
2•PaulHoule•1h ago•2 comments