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.

Trump's Takeover of the American Regulatory Machine

https://www.wsj.com/politics/policy/trump-takeover-regulators-130b57a3
1•KnuthIsGod•2m ago•0 comments

Americans Are Leaving the U.S. in Record Numbers

https://www.wsj.com/podcasts/the-journal/americans-are-leaving-the-us-in-record-numbers/f2ae7db5-...
3•KnuthIsGod•2m ago•0 comments

Ask HN: How do people secure their Linux computer?

1•foo12bar•3m ago•0 comments

Community usage metrics and cost analytics for Claude Code subscriptions

https://meter.vsits.co/
1•sea-gold•4m ago•1 comments

Optimized Point Addition Circuits for Elliptic Curve Discrete Logarithms [pdf]

https://arxiv.org/abs/2606.02235
2•aburan28•5m ago•0 comments

Show HN: 3GPP Spec Manager – A GUI app to track and download 3GPP specifications

https://github.com/chsung/3gpp-spec-manager
1•tughvn•10m ago•1 comments

Implicit.js, a way to program 3D models with mathematical functions

https://www.implicit.sh/
1•softservo•11m ago•1 comments

Does Llms.txt Replace Sitemap.xml

https://docsalot.dev/blog/llms-txt-vs-sitemap-xml
1•fazkan•13m ago•0 comments

Platypus – create native Mac applications from command line scripts

https://github.com/sveinbjornt/Platypus
2•gregsadetsky•13m ago•1 comments

Nvidia to spend $150B a year in Taiwan, 'epicentre' of AI revolution

https://www.reuters.com/world/asia-pacific/nvidia-ceo-says-taiwan-is-epicentre-ai-revolution-2026...
1•JumpCrisscross•14m ago•0 comments

C64 OS – Ready for Internet Action – C64 OS steps it up [video]

https://www.youtube.com/watch?v=9TmJMBHrg7A
1•amichail•14m ago•0 comments

The Effort to Build Ukraine's Ground Robot Arsenal

https://www.twz.com/news-features/inside-the-effort-to-build-ukraines-ground-robot-arsenal
1•JumpCrisscross•17m ago•0 comments

Microsoft's Project Solara is an Android OS designed for agents instead of apps

https://arstechnica.com/gadgets/2026/06/microsofts-project-solara-is-an-android-os-designed-for-a...
1•thunderbong•20m ago•0 comments

A whale of a deal: Paramount's takeover of Warner Bros

https://www.reuters.com/graphics/WARNER-BROS-DIS-MA/PARAMOUNT-SKYDAN/byprngedkpe/
3•giuliomagnifico•20m ago•0 comments

Slow Tools

https://www.quarter--mile.com/Slow-Tools
2•ogundipeore•22m ago•0 comments

Global EV Outlook 2026: Growing sales amid an energy crisis [pdf]

https://iea.blob.core.windows.net/assets/3718cf37-fac6-4ee2-aeb0-1546e6222cfc/GlobalEVOutlook2026...
1•toomuchtodo•24m ago•1 comments

Ransomecare.io a tabletop journey where everything sucks

https://ransomecare.io/value
2•splintersio•25m ago•1 comments

Vim Classic debuts with its first release as a Vim fork without AI assistance

https://www.neowin.net/news/vim-classic-debuts-with-its-first-release-as-a-vim-fork-without-ai-as...
4•bundie•31m ago•0 comments

A rift is splitting Africa apart forming Earth's sixth ocean

https://www.thebrighterside.news/post/a-massive-rift-is-splitting-africa-apart-forming-earths-six...
3•sizzle•31m ago•0 comments

How to Just Do a Thing

https://www.raptitude.com/2026/05/how-to-just-do-a-thing/
2•_vaporwave_•37m ago•0 comments

America's Data Center Build-Out Is Falling Way Behind Schedule

https://www.wsj.com/tech/ai/americas-data-center-build-out-is-falling-way-behind-schedule-e408a9a8
11•1vuio0pswjnm7•42m ago•2 comments

C++: Let's get comfortable with concepts

https://platis.solutions/blog/2026/05/02/lets-get-comfortable-with-concepts/
1•HeliumHydride•43m ago•0 comments

Type-Error Ablation and AI Coding Agents

https://arxiv.org/abs/2606.01522
1•matt_d•44m ago•0 comments

Microsoft Scout: Your always-on personal agent

https://www.microsoft.com/en-us/microsoft-365/blog/2026/06/02/introducing-microsoft-scout-your-al...
2•Garbage•44m ago•0 comments

The American civilians that stayed behind in Saigon

https://connla.substack.com/p/whats-another-year
3•jfil•46m ago•0 comments

Wikiracer–an chess.com style Wikipedia racing website with analysis

https://wikiracer.com
2•smolyar•47m ago•0 comments

The Unreasonable Redundancy of Nature's Protein Folds

https://research.ligo.bio/posts/unreasonable-redundancy-of-natural-protein-folds/
7•ray__•48m ago•0 comments

U of T researchers demonstrate AI worm could target any online device

https://www.utoronto.ca/news/u-t-researchers-demonstrate-ai-worm-could-target-any-online-device
2•shscs911•48m ago•0 comments

How Lawsuits Alleging Social Media Harms Threaten Big Tech

https://www.bloomberg.com/news/articles/2026-06-02/how-lawsuits-alleging-social-media-harms-threa...
2•1vuio0pswjnm7•50m ago•0 comments

Pi Dynamic Workflows

https://github.com/Michaelliv/pi-dynamic-workflows
1•fjk•52m ago•0 comments