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

Comments

llm-exe•8mo 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•8mo 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: I built A GUI for managing waypoints in large-scale robot navigation

https://github.com/Yutarop/waypoints_editor
1•ponta17•46s ago•0 comments

Monster High Characters

https://monster-high-characters.com
1•jokera•2m ago•0 comments

Why Read Novels?

https://dynomight.net/novels/
1•dynm•12m ago•0 comments

Forgotten Polygons: Multimodal Large Language Models Are Shape-Blind

https://arxiv.org/abs/2502.15969
1•chbint•14m ago•0 comments

Built a library of LLM prompts for RAG

https://agentset.ai/rag-prompts
1•midamurat•15m ago•0 comments

Terence Tao: A collection of optimization problems in mathematics

https://github.com/teorth/optimizationproblems
1•zaikunzhang•15m ago•0 comments

ResourceAI: Privacy First

1•Fenix46•18m ago•0 comments

Errata for the Linux Programming Interface

https://www.man7.org/tlpi/errata/index.html
1•pgalkin•19m ago•1 comments

Leaving Twitter with Shamir's Secret Sharing Scheme

https://blog.divyendusingh.com/p/leaving-twitter-with-shamirs-secret
1•divyenduz•24m ago•0 comments

Tell HN: AI is all about the tools (for now)

1•keepamovin•25m ago•0 comments

Epstein Stalker

https://chromewebstore.google.com/detail/epstein-stalker-dataset-w/imdhklfboelonbegpgkfmgcibackgdde
2•xecaz•25m ago•0 comments

Why I Fail a Lot

https://thinkering.blog/why-i-fail-a-lot/
1•nasrovsky•27m ago•0 comments

Many Small Queries Are Efficient in SQLite

https://www.sqlite.org/np1queryprob.html
2•tosh•32m ago•0 comments

Objective-S

https://objective.st/
1•tosh•35m ago•0 comments

Unrequited Passion

https://cinemasojourns.com/2026/01/23/unrequited-passion/
1•jjgreen•36m ago•0 comments

The Economics of Abundant Intelligence

https://tuananh.net/2026/01/23/the-post-agentic-world-the-economics-of-abundant-intelligence/
1•tuananh•41m ago•0 comments

Agent Skills Support in Mastra

https://github.com/mastra-ai/mastra/pull/12252
1•alaeddine-13•50m ago•0 comments

Malicious PyPI Packages Spellcheckpy and Spellcheckerpy Deliver Python Rat

https://www.aikido.dev/blog/malicious-pypi-packages-spellcheckpy-and-spellcheckerpy-deliver-pytho...
1•birdculture•51m ago•0 comments

Are Titan's Lakes Teeming with Primitive Cells? [video]

https://www.youtube.com/watch?v=vSILdQ6kt3Y
1•joebig•55m ago•0 comments

Claude in Excel

https://claude.com/claude-in-excel
1•mpweiher•55m ago•0 comments

Apple accuses Europe of 'delay tactics' following alternative app store collapse

https://www.engadget.com/big-tech/apple-accuses-europe-of-delay-tactics-following-alternative-app...
2•01-_-•1h ago•0 comments

How AI is changing strategy in 2026

https://kitful.ai/login
1•eashish93•1h ago•0 comments

Isolating Claude Code

https://yieldcode.blog/post/isolating-claude-code/
2•skwee357•1h ago•3 comments

The FBI claims that illegal Chinese airbags have killed many Americans

https://www.autoblog.com/news/fbi-nhtsa-investigating-deadly-illegal-chinese-airbags
1•01-_-•1h ago•0 comments

Content strategy might be the problem: 37.8x gap (with data)

https://webmatrices.com/post/content-strategy-might-be-the-problem-80-of-our-traffic-came-from-ig...
1•bishwasbh•1h ago•1 comments

What Vale Taught Me About Linear Types, Borrowing, and Memory Safety (2023)

https://verdagon.dev/blog/linear-types-borrowing
1•kunley•1h ago•0 comments

The least information you need

https://www.pimcoder.com/
1•josefplatil•1h ago•0 comments

Apple Cash is making instant transfers more expensive soon

https://9to5mac.com/2026/01/23/apple-cash-is-making-instant-transfers-more-expensive-soon/
1•thunderbong•1h ago•0 comments

I Declare the Term Cuntwaffle

http://fuck.off/cunt/fuck/you
1•cap11235•1h ago•1 comments

I Like GitLab

https://www.whileforloop.com/en/blog/2026/01/21/i-like-gitlab/
2•lukas346•1h ago•0 comments