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•1y ago

Comments

llm-exe•1y 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•1y 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.

Show HN: Vibeshub – Git for your vibe code transcripts

https://vibeshub.ai/
1•bhavya6187•35s ago•0 comments

Pentagon spars with SpaceX over Starlink price hike during Iran war

https://www.reuters.com/business/aerospace-defense/pentagon-spars-with-spacex-over-starlink-price...
1•tartoran•51s ago•0 comments

GitHub Copilot is experiencing degraded performance

https://www.githubstatus.com/incidents/xflkh26pm7vv
1•Mattwmaster58•1m ago•1 comments

How the West Could Turn a Trickle of Water into an Endless Supply

https://reasonstobecheerful.world/water-recycling-interview/
1•speckx•3m ago•0 comments

Supreme Court sides with Trump fight tied to speech curbs on immigration judges

https://www.reuters.com/world/supreme-court-sides-with-trump-fight-tied-speech-curbs-immigration-...
2•tartoran•3m ago•0 comments

The Theroretical Upper Limits of the Stock Market

https://jackmaguire.org/blog/theoretical-upper-limit-us-stock-market/
1•magicroot75•4m ago•0 comments

Germany news: Childfree adults to pay more for elder care

https://www.dw.com/en/germany-news-childfree-adults-to-pay-more-for-elder-care/live-77292208
3•randycupertino•4m ago•0 comments

Crowbuster – saving young birds from crows

https://github.com/utsengar/crowbuster
1•indus•5m ago•0 comments

Making a 3D terrain look like pixel-art – at every zoom level

https://www.miximum.fr/revivarium/blog/godot-pixel-art-texture/
2•thibaultj•6m ago•0 comments

Pope Leo warns AI should be 'disarmed' in manifesto on potential dangers

https://www.pbs.org/newshour/show/pope-leo-warns-ai-should-be-disarmed-in-manifesto-on-potential-...
1•randycupertino•8m ago•0 comments

The Ballad of TIGIT

https://www.owlposting.com/p/the-ballad-of-tigit
3•crescit_eundo•9m ago•0 comments

Show HN: I Cloned Gmail

https://github.com/hieunc229/mailflare
1•docuru•10m ago•0 comments

Show HN: Private social media feed with posts only from friends

https://picpocket.io
1•amr_shawky•11m ago•0 comments

The Skeleton Library

https://goodinternet.substack.com/p/interpolatable-archives-part-1
1•speckx•11m ago•0 comments

Seven Steps to Heaven: Amorosi on Miles Davis at 100

https://www.jazztimes.com/blog/seven-steps-to-heaven-amorosi-on-miles-davis-at-100/?v=0b3b97fa6688
1•DemiGuru•11m ago•0 comments

Show HN: Mind-expander, a visual workspace for coding with AI agents

https://github.com/mbbill/mind-expander
1•mbbill•12m ago•0 comments

More Whimsical OEIS Sequences

https://www.jeremykun.com/shortform/2026-05-22-1528/
1•surprisetalk•12m ago•0 comments

When Tornado Weather Hits, These Scientists Break Out the Colored Pencils

https://www.nytimes.com/2026/05/18/weather/nws-storm-prediction-center-maps-forecast.html
1•7402•14m ago•0 comments

AI eyes scanning for bugs create a worrisome Linux security trend

https://www.theregister.com/security/2026/05/23/ai-eyes-scanning-for-bugs-create-a-worrisome-linu...
1•CrankyBear•14m ago•0 comments

Crawlgraph – Backlink lookup using Common Crawl ($99 lifetime)

https://crawlgraph.com
1•pucilpet•14m ago•0 comments

Gen Z is falling behind. Dr. Jared Cooney Horvath argues how to help them [video]

https://www.youtube.com/watch?v=_y03mB01beE
1•phoronixrly•15m ago•0 comments

Show HN: Chunk sidecars for validating agent-generated code before pushing to CI

https://circleci.com/blog/chunk-sidecars/
1•olafmol•15m ago•1 comments

Once you hit about a 20-point IQ gap, communication starts to break down

https://twitter.com/i/status/2058730279804748191
1•Michelangelo11•16m ago•0 comments

DirecTV's Secret War on Hackers (2001)

https://hardware.slashdot.org/story/01/01/25/1343218/directvs-secret-war-on-hackers
2•striking•16m ago•0 comments

The mysterious Hy3 LLM is topping OpenRouter Model Rankings by a large margin

https://minimaxir.com/2026/05/openrouter-hy3/
1•minimaxir•18m ago•0 comments

Soon We Can Banish JavaScript to the ShadowRealm

https://css-tricks.com/soon-we-can-finally-banish-javascript-to-the-shadowrealm/
1•mooreds•19m ago•0 comments

CISA orders feds to patch actively exploited Drupal vulnerability

https://www.bleepingcomputer.com/news/security/cisa-orders-feds-to-patch-actively-exploited-drupa...
1•Brajeshwar•19m ago•0 comments

What drawing lines on football pitch taught me about future of human-AI collab

https://singhkays.com/blog/drawing-lines-football-pitch-human-ai/
1•singhkays•20m ago•1 comments

Language Models Need Sleep

https://arxiv.org/abs/2605.26099
2•juxtapose•21m ago•0 comments

Prompt Is Not Runtime

https://lixinge.substack.com/p/prompt-is-not-runtime
2•xgli•21m ago•0 comments