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.

A Home Made PBX

https://wandel.ca/homepage/pbx.html
1•rickcarlino•47s ago•0 comments

Real-time speech-to-speech translation

https://research.google/blog/real-time-speech-to-speech-translation/
1•theorchid•3m ago•0 comments

How much for a fake authorship? Ad database reveals secrets of scientific fraud

https://www.nature.com/articles/d41586-026-01340-y
1•WaitWaitWha•4m ago•0 comments

Spanish archaeologists discover trove of ancient shipwrecks in Bay of Gibraltar

https://www.theguardian.com/science/2026/apr/15/hidden-treasures-spanish-archaeologists-discover-...
1•1659447091•6m ago•0 comments

OpenAI CEO apologizes to Tumbler Ridge community

https://techcrunch.com/2026/04/25/openai-ceo-apologizes-to-tumbler-ridge-community/
1•pseudolus•11m ago•0 comments

A breakthrough in C/C++ dependency management

https://lcamtuf.substack.com/p/a-breakthrough-in-cc-dependency-management
3•nippoo•13m ago•0 comments

EU Age Control: The trojan horse for digital IDs

https://juraj.bednar.io/en/blog-en/2026/04/17/eu-age-control-the-trojan-horse-for-digital-ids/
2•gasull•14m ago•0 comments

How many biological substrates of life?

1•energyscholar•15m ago•1 comments

Dataland, the first museum of AI arts, sets opening date and first exhibition

https://www.latimes.com/entertainment-arts/story/2026-04-23/refik-anadol-ai-art-museum-dataland-o...
1•1659447091•15m ago•0 comments

Etymology of "Foo"

https://www.ietf.org/rfc/rfc3092.txt
1•shawnzam•21m ago•0 comments

Show HN: Peeroxide – Full wire-compatible Rust implementation of Hyperswarm

https://github.com/Rightbracket/peeroxide
1•eshork•21m ago•0 comments

Is the world ready for a car without a rear window?

https://www.msn.com/en-us/autos/enthusiasts/is-the-world-ready-for-a-car-without-a-rear-window/ar...
1•pseudolus•23m ago•0 comments

Law School Applicants Continues to Skyrocket Driving Admission Rates to New Lows

https://www.law.com/2026/04/24/law-school-applicants-continued-to-skyrocket-in-2025-driving-admis...
1•1vuio0pswjnm7•23m ago•0 comments

Chernobyl at 40: Secret Stasi files reveal extent of Soviet misinformation

https://theconversation.com/chernobyl-at-40-secret-stasi-files-reveal-extent-of-soviet-misinforma...
1•1659447091•25m ago•0 comments

New Type of Neuroplasticity Rewires the Brain After a Single Experience

https://www.quantamagazine.org/a-new-type-of-neuroplasticity-rewires-the-brain-after-a-single-exp...
1•pseudolus•26m ago•0 comments

Start Blogging (Even If Nobody Will Read It)

https://nikola-breznjak.com/blog/devthink/why-you-should-start-blogging-even-if-nobody-will-read-it/
1•eigenBasis•30m ago•0 comments

Brazil Passes Landmark Law to Protect Children Online

https://www.hrw.org/news/2025/09/17/brazil-passes-landmark-law-to-protect-children-online
1•mooreds•32m ago•0 comments

GnuPG – post-quantum crypto landing in mainline

https://lists.gnupg.org/pipermail/gnupg-announce/2026q2/000504.html
2•zdkaster•34m ago•1 comments

Wedges and Control Points in Product Strategy

https://edwardhsu.substack.com/p/wedges-control-points-and-the-missing
1•rahimnathwani•41m ago•0 comments

Meetings Are Forcing Functions

https://www.mooreds.com/wordpress/archives/3734
2•zdw•47m ago•0 comments

The death of the American Dream is now official

https://thehill.com/opinion/finance/5846892-american-dream-debt-crisis/
8•Teever•47m ago•4 comments

Tell HN: Medvi (telehealth) hardcodes 999 patient emails in public JavaScript

2•g48ywsJk6w48•50m ago•0 comments

OWASP Top, Vibe Coding, and What Developers Miss with Tanya Janca [video]

https://www.youtube.com/watch?v=LSYkD-MKdmk
1•mooreds•52m ago•0 comments

How Meta used AI to map tribal knowledge in large-scale data pipelines

https://engineering.fb.com/2026/04/06/developer-tools/how-meta-used-ai-to-map-tribal-knowledge-in...
1•theorchid•52m ago•0 comments

Fruit Box

https://en.gamesaien.com/game/fruit_box/
2•downboots•55m ago•0 comments

Reviving Koken

https://www.bradleyboy.com/writings/reviving-koken/
1•bradleyboy•55m ago•0 comments

Discord Sleuths Gained Unauthorized Access to Anthropic's Mythos

https://www.wired.com/story/security-news-this-week-discord-sleuths-gained-unauthorized-access-to...
2•wyldfire•56m ago•0 comments

Starting with "Yes"

https://www.darthealth.com/blog/starting-with-yes
1•mooreds•56m ago•0 comments

The AI Compute Crunch Is Here (and It's Affecting the Economy)

https://www.404media.co/the-ai-compute-crunch-is-here-and-its-affecting-the-entire-economy/
2•gasull•1h ago•0 comments

Ukraine marks 40th anniversary of Chornobyl disaster under cloud of war

https://www.reuters.com/world/europe/ukraine-marks-40th-anniversary-chornobyl-disaster-under-clou...
4•onemoresoop•1h ago•0 comments