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.

More App Store Ad Spots

https://mjtsai.com/blog/2025/12/24/more-app-store-ad-spots/
1•ksec•31s ago•0 comments

Yarbo's Pop-Up Signals the Future of Smart Snow Tech

1•darius88•4m ago•0 comments

Mercury – Multimodal Drone

https://mercuriustech.com/mercury/
1•thunderbong•8m ago•0 comments

Show HN: Rhettilator – An exact-fraction calculator in base 360

https://the-rhettilator-9352543e.base44.app/
1•AllSeenEye•11m ago•1 comments

WhatIFF?, a modern Amiga Guide magazine for creative Amiga users

https://www.whatiff.info/
1•nickt•13m ago•0 comments

Command Line Interface Guidelines

https://clig.dev/
1•vinhnx•14m ago•1 comments

Show HN: Got tired of searching for AI news daily so I built my own AI news page

https://dreyx.com/
1•lilsquid•15m ago•0 comments

Creating General User Models from Computer Use

https://arxiv.org/abs/2505.10831
1•handfuloflight•15m ago•0 comments

Show HN: Web playground for Qwen-Image-Edit-2511

https://z-image.app/ja/models/qwen-image-edit-2511
1•yeekal•16m ago•0 comments

The Frontend Auth Middleware: Cross-Origin Iframes Without Third-Party Cookies

https://seg6.space/posts/the-frontend-auth-middleware/
1•seg6•17m ago•0 comments

Why I'm Treating Health as Infrastructure

https://healthasinfrastructure.substack.com/p/why-im-treating-health-as-infrastructure
1•zekrom•18m ago•0 comments

Show HN: Claude Code in Cursor

https://github.com/mergd/ccproxy
1•wyxuan•28m ago•0 comments

Is the Dictionary Done For?

https://www.newyorker.com/magazine/2025/12/29/unabridged-the-thrill-of-and-threat-to-the-modern-d...
2•mitchbob•34m ago•1 comments

Tinyfront

http://tinyfront.mooo.com/
1•pabs3•38m ago•0 comments

Show HN: Secret MCP: Let AI write your .env files without seeing your secrets

https://github.com/AKarenin/Secret-mcp
2•akarenin•44m ago•0 comments

Husqvarna 350 iB Leaf Blower Running VESC with 2070 Wh Battery [video]

https://www.youtube.com/watch?v=Q8c5QOmafpw
1•ProllyInfamous•48m ago•2 comments

Words Matter: Alternatives for Charged Terminology in the Computing Profession

https://www.acm.org/diversity-inclusion/words-matter
1•linguae•49m ago•4 comments

What's New in Ruby 4.0

https://nithinbekal.com/posts/ruby-4-0/
2•nithinbekal•50m ago•0 comments

Python-Tiny-HTTP-Server

https://github.com/johann-petrak/python-tiny-http-server
1•kamaraju•52m ago•0 comments

Show HN: Open-source"BeMyEyes"alternative(Java/Go/Python)built as a learning pjt

https://github.com/XXieYiqiang/SoakUpTheSun
1•1103938364•1h ago•0 comments

Four bright spots in climate news in 2025

https://www.technologyreview.com/2025/12/24/1130191/good-climate-news-2025/
1•gnabgib•1h ago•0 comments

Free Software Foundation receives historic private donations

https://www.fsf.org/news/free-software-foundation-receives-historic-private-donations
6•pentagrama•1h ago•0 comments

Show HN: Markdown Editor that you can plug as middleware

https://github.com/cookiengineer/golocron
1•cookiengineer•1h ago•0 comments

The Positive Climate News You May Have Missed This Year

https://www.bloomberg.com/opinion/articles/2025-12-23/the-positive-climate-news-you-may-have-miss...
1•toomuchtodo•1h ago•0 comments

Bitcoin Miners Thrive Off a New Side Hustle: Retooling Their Data Centers for AI

https://www.wsj.com/tech/ai/bitcoin-miners-thrive-off-a-new-side-hustle-retooling-their-data-cent...
2•mudil•1h ago•0 comments

What Is ChatGPT Doing?

https://www.vibediary.dev/essays/chatGPT
1•stopachka•1h ago•0 comments

Microarchitecture: What Happens Beneath [video]

https://www.youtube.com/watch?v=BVVNtG5dgks
1•subset•1h ago•0 comments

How North Korea Hid an IT Workforce Inside US Companies [video]

https://www.youtube.com/watch?v=-gjnrMg9iSo
3•stevenjgarner•1h ago•0 comments

AI Withholds Life-or-Death Information Unless You Know the Magic Words

https://substack.com/home/post/p-182524207
10•llamataboot•1h ago•1 comments

Ask HN: At 34, can I aspire to being more than a JavaScript widget engineer?

4•yesitcan•1h ago•2 comments