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•7mo ago

Comments

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

Country makes call to cancel all visas for Americans

https://www.thestreet.com/travel/country-makes-call-to-cancel-all-visas-for-americans
1•sipofwater•45s ago•0 comments

Show HN: Mdfocus – A distraction free Markdown reader for your localhost

https://github.com/tzador/mdfocus
1•timz•52s ago•0 comments

Show HN: Self-growing neural networks via a custom Rust-to-LLVM compiler

https://github.com/pierridotite/NOMA
1•pierridotite•1m ago•0 comments

GA4 Has Become More Complex – and That's Changing Analytics in the EU

1•CheckAnalytic•2m ago•0 comments

Ancient Greek Geometry

https://sciencevsmagic.net/geo/
1•birdculture•4m ago•0 comments

Show HN: Control Your Telegram with AI

https://medium.com/dev-genius/control-your-telegram-with-ai-complete-setup-guide-for-2025-15e95bd...
1•orrbenyamini•4m ago•0 comments

Nex – The simplest way to build Htmx apps in Elixir

https://github.com/gofenix/nex
2•gofenix•5m ago•1 comments

ExpressVPN phasing out support for routers other than Aircove

https://www.expressvpn.com/vpn-download/vpn-router
1•2dvisio•8m ago•0 comments

Meteorite crater hosts methane-making microbes–a clue to life on Mars?

https://phys.org/news/2025-11-meteorite-crater-hosts-methane-microbes.html
1•PaulHoule•8m ago•0 comments

On LLMs in Programming

https://blog.danieljanus.pl/2025/12/27/llms/
1•azhenley•9m ago•0 comments

Ask HN: Anti-AI Open Source License?

8•W-Stool•9m ago•1 comments

How to Tame a River

https://worldhistory.substack.com/p/how-to-tame-a-river
1•crescit_eundo•11m ago•0 comments

Sergey Brin thought he had his Steve Jobs moment with failed Google Glass

https://appleinsider.com/articles/25/12/26/sergey-brin-thought-he-had-his-steve-jobs-moment-with-...
2•bookofjoe•11m ago•0 comments

Show HN: Future Hacker News

https://future-hacker-news.succinct.link
1•johnhenry•13m ago•0 comments

Decimal Time

https://en.wikipedia.org/wiki/Decimal_time
1•bill38•16m ago•0 comments

As A.I. Companies Borrow Billions, Debt Investors Grow Wary

https://www.nytimes.com/2025/12/26/business/ai-debt-investors.html
2•zerosizedweasle•19m ago•1 comments

The production bug that made me care about undefined behavior

https://gaultier.github.io/blog/the_production_bug_that_made_me_care_about_undefined_behavior.html
1•thunderbong•24m ago•0 comments

Show HN: IdeaWell – business ideas inspired by Hacker News discussions

https://ideawell.fly.dev/
2•Igor_Wiwi•24m ago•0 comments

Show HN: Talkyard, open-source forum software. StackOverflow Reddit Slack hybrid

https://www.talkyard.io/
1•KajMagnus•26m ago•0 comments

Show HN: Batch convert HEIC, WebP, and PNG in the browser

https://www.ezfilechanger.com
1•waqaar-ansari•27m ago•0 comments

I was wrong about TypeScript part 1

https://chefama.blog/blog/posts/i-was-wrong-about-typescript-1
2•todsacerdoti•27m ago•0 comments

I was wrong about TypeScript part 2

https://chefama.blog/blog/posts/i-was-wrong-about-typescript-2
2•todsacerdoti•28m ago•0 comments

Hypothesis Testing with E-Values

https://arxiv.org/abs/2410.23614
1•weiliddat•28m ago•0 comments

Show HN: LinkPersona – Free LinkedIn audit tool that runs 100% in the browser

https://pixelm.xyz/
1•Pixel-M•28m ago•0 comments

$400k worth of lobster stolen en route to Costco wholesale stores in US

https://news.sky.com/story/400-000-worth-of-lobster-stolen-en-route-to-costco-wholesale-stores-in...
1•austinallegro•30m ago•0 comments

Titan's strong tidal dissipation precludes a subsurface ocean

https://www.nature.com/articles/s41586-025-09818-x
1•belter•30m ago•0 comments

The Masculine Mystique: Sex and monstrosity at the movies

https://thepointmag.com/criticism/the-masculine-mystique/
1•jger15•39m ago•0 comments

Show HN: I built an open-source wallpaper gallery for GitHub repos

https://walle.theblank.club/
2•nyxuis•45m ago•2 comments

I built a FULLY private AI to keep your data from big tech.

https://chatpdf-server-shtq.onrender.com/
1•jimmyjonny•45m ago•1 comments

Leaked documents show Instagram's plan to win back teens

https://www.washingtonpost.com/technology/2025/12/26/meta-instagram-teen-strategy/
2•thm•45m ago•0 comments