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.

Estonia's police send black Christmas cards to over 800 dangerous drivers

https://news.err.ee/1609889512/estonia-s-police-send-black-christmas-cards-to-over-800-dangerous-...
1•atlasunshrugged•1m ago•0 comments

Mitchell Hashimoto on Feature Design [video]

https://twitter.com/mitchellh/status/2001810354096214059
1•GabrielBianconi•1m ago•0 comments

Mozilla can't stop making Firefox worse [video]

https://www.youtube.com/watch?v=0kCn2f6ngAs
1•da02•1m ago•0 comments

Police ID suspect in Brown University shooting, probe link with MIT killing

https://www.reuters.com/world/us/police-probe-links-between-brown-university-shooting-killing-mit...
1•DustinEchoes•2m ago•0 comments

Lakera's Gandalf

https://gandalf.lakera.ai/baseline
1•sundarurfriend•3m ago•0 comments

Humans are now the minority online

https://www.euractiv.com/opinion/humans-are-now-the-minority-online/
1•thunderbong•5m ago•0 comments

Show HN: Postman-style TUI for API testing built with Rust and ratatui

https://github.com/pranav-cs-1/nexus
1•PranavVyas•5m ago•0 comments

Diary: Val McDermid, Deep Winter

https://books.substack.com/p/diary-val-mcdermid-deep-winter
1•Vigier•9m ago•0 comments

Show HN: I create a link shortening platform

https://www.link6ync.app/
1•Omakidx•9m ago•0 comments

Show HN: LongCat Video Avatar – Audio-Driven AI Avatars for Long-Form Video

https://www.longcatavatar.com/?i=d1d5k
1•lu794377•11m ago•0 comments

TikTok U.S. Deal: Oracle and Silver Lake Confirmed Among Buyers

https://www.hollywoodreporter.com/business/digital/tiktok-sale-done-oracle-silver-lake-buyers-123...
2•jaredwiener•12m ago•0 comments

Open-sourcing the most comprehensive language selector components

https://casholab.com/blog/building-comprehensive-language-selector
1•carsoon•12m ago•0 comments

Making a game on a custom bytecode VM in 7 days and 3kB

https://laurentlb.itch.io/shmup8/devlog/1149299/making-a-game-on-a-custom-bytecode-vm-in-7-days-a...
1•azhenley•13m ago•0 comments

Swift: Nonexhaustive Enums

https://github.com/swiftlang/swift-evolution/blob/main/proposals/0487-extensible-enums.md
1•tambourine_man•13m ago•0 comments

Quartify: Convert R scripts into Quarto Markdown documents

https://github.com/ddotta/quartify
1•the-mitr•14m ago•0 comments

Bazzite: A Gem for Linux Gamers

https://lwn.net/Articles/1046228/
2•signa11•15m ago•0 comments

Eventual Rust in CPython

https://lwn.net/Articles/1046933/
1•signa11•15m ago•0 comments

Hyperlinks Should Have Context

https://btxx.org/posts/hyperlinks/
1•bradley_taunt•21m ago•0 comments

TikTok signs deal to sell US unit to American investor-led venture

https://www.reuters.com/business/american-investor-consortium-acquire-tiktok-us-entity-axios-repo...
2•pseudolus•22m ago•0 comments

Trump commits to Moon landing by 2028, followed by a lunar outpost 2 years later

https://arstechnica.com/space/2025/12/trump-commits-to-moon-landing-by-2028-followed-by-a-lunar-o...
2•jnord•24m ago•0 comments

Too Many Thoughts About Wake Up Dead Man

https://reactormag.com/entirely-too-many-thoughts-about-wake-up-dead-man/
1•xngbuilds•27m ago•0 comments

ByteDance signs deal to sell majority of TikTok US

https://www.bbc.co.uk/news/articles/cgexp1q8wn1o
1•testfrequency•27m ago•0 comments

Memcachier: Several Clusters Down

https://status.memcachier.com/
1•pardner•28m ago•1 comments

Which extended attributes does macOS Tahoe preserve?

https://eclecticlight.co/2025/12/17/which-extended-attributes-does-macos-tahoe-preserve/
1•xngbuilds•29m ago•0 comments

Gmail Email Sent

https://chromewebstore.google.com/
1•gaws•30m ago•0 comments

How to Batch Delete Data in SwiftData

https://fatbobman.com/en/snippet/how-to-batch-delete-data-in-swiftdata/
1•xngbuilds•30m ago•0 comments

Commodore 64 Ultimate Review

https://www.ign.com/articles/commodore-64-ultimate-review
1•AlexeyBrin•32m ago•0 comments

Show HN: LLM-as-a-Form

https://github.com/claudeomusic/llm-as-a-form
2•claudeomusic•33m ago•0 comments

Check out the Flock public portal for Albany, Oregon

https://hh-today.com/check-out-the-flock-public-portal-for-albany/
1•toomuchtodo•36m ago•1 comments

The Power Play Behind Hyperion, Meta's Big Data Center Being Built in Louisiana

https://sherwood.news/tech/hyperion/
2•gaws•39m ago•0 comments