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: LimitPing – Keep Claude Code and Codex rate-limit windows continuous

https://github.com/wavever/CCLimitPing
1•wavever•1m ago•0 comments

What is the value of releasing software that leaves people unemployed?

1•rondaerth92•2m ago•0 comments

netcat

https://en.wikipedia.org/wiki/Netcat
1•tosh•2m ago•0 comments

Cave of Forgotten Dreams

https://charlesleifer.com/blog/cave-of-forgotten-dreams/
1•cleifer•5m ago•0 comments

Generation is cheap, the decisions are the artifact

https://noemica.io/blog/generation-is-cheap
1•SebastianSosa•8m ago•0 comments

The Wearable Showdown: OURA Ring 5 vs. Fitbit Air vs. Whoop MG vs. Apple Watch

https://www.wsj.com/tech/personal-tech/oura-ring-fitbit-air-whoop-apple-sleep-wearables-99783661
1•odig•11m ago•0 comments

Google's Unique Approach to Getting Data Centers Built

https://www.wsj.com/tech/ai/googles-unique-approach-to-getting-data-centers-built-2cfae652
2•odig•11m ago•0 comments

The -Bot after my name is just cool I liked it I'm not a robot

1•muffcruster420•12m ago•1 comments

Taxation with Representation- How Communities/Coops Turn Spending into Ownership

https://cahootzcoops.com/blog/taxation-with-representation-how-communities-and-co-ops-turn-spendi...
2•DeonRob•16m ago•0 comments

The Origin of Lorem Ipsum

https://www.youtube.com/watch?v=kL1PDqzqhM4
1•jofzar•16m ago•1 comments

Anthropic, please ship an official Claude Desktop for Linux

https://github.com/anthropics/claude-code/issues/65697
10•predkambrij•21m ago•3 comments

Show HN: I made a better zsh autosuggestion tool that predicts your next command

https://github.com/Giammarco-Ferranti/deja
3•giammiferr•22m ago•0 comments

Polymarket Annotation Injection

https://sam.elborai.me/articles/polymarket-prompt-injection/
1•dgellow•29m ago•0 comments

Show HN: A virtual thermal printer for testing ESC/POS receipts

https://vprinter.dev
1•seokjume•30m ago•0 comments

Pockets of Humanity

https://herman.bearblog.dev/pockets-of-humanity/
2•Tomte•30m ago•1 comments

Anthropic/OpenAI may be spending more than $1000 for every $100 you pay them

https://ea.rna.nl/2026/06/07/anthropic-openai-may-be-spending-more-than-1000-for-every-100-you-pa...
6•gctwnl•33m ago•2 comments

What It's Like to IPO

https://staysaasy.com/startups/2026/06/04/what-its-like-to-ipo.html
1•wiredone•37m ago•0 comments

ASML invites Elon Musk to internal tech event, prompting employee backlash

https://nltimes.nl/2026/06/07/asml-invites-elon-musk-internal-tech-event-prompting-employee-backlash
3•root-parent•39m ago•0 comments

LLMs are eroding my software engineering career and I don't know what to do

https://human-in-the-loop.bearblog.dev/llms-are-eroding-my-software-engineering-career-and-i-dont...
116•poisonfountain•39m ago•58 comments

AI and the Pitfalls of Innovation

https://paulkrugman.substack.com/p/ai-and-the-pitfalls-of-innovation
2•rbanffy•41m ago•0 comments

Recent LLVM hash table improvements

https://maskray.me/blog/2026-06-07-recent-llvm-hash-table-improvements
2•ingve•46m ago•0 comments

Another Warning about the Steam Controller puck. It WILL start a fire

https://old.reddit.com/r/SteamController/comments/1tz8bgu/this_is_another_warning_about_the_puck_...
2•6581•47m ago•0 comments

TikTok is not addictive, social media giant tells politicians

https://www.irishtimes.com/technology/big-tech/2026/05/07/tiktok-is-not-addictive-social-media-gi...
4•1vuio0pswjnm7•47m ago•0 comments

Realisation of Unfixable

1•iaziz786•48m ago•0 comments

What the wounds are telling us

https://www.europeanpressprize.com/article/what-the-wounds-are-telling-us/
2•amarcheschi•49m ago•0 comments

Ask HN: How are thinking efforts implemented?

3•simianwords•49m ago•0 comments

New York lawmakers pass one-year ban on new data centers

https://www.theverge.com/policy/944041/new-york-data-center-moratorium
2•1vuio0pswjnm7•50m ago•0 comments

Ask HN: What are the best unknown books you have read?

5•chistev•51m ago•1 comments

Misguided Misstatements Continue to Dismantle Biomedical Research in the U.S.

https://diabetesjournals.org/care/article/49/6/901/164764/Misguided-Brushes-of-a-Pen-Continue-to-...
11•JumpCrisscross•54m ago•1 comments

Show HN: Inbox-beam – notifications in your inbox without sending email

https://github.com/toyoshi/inbox-beam
2•toyoshi•54m ago•0 comments