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

Comments

llm-exe•9mo 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•9mo 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.

Cyber Model Arena

https://www.wiz.io/cyber-model-arena
2•ram_rattle•5m ago•0 comments

Pg_stat_ch: A PostgreSQL extension that exports every metric to ClickHouse

https://clickhouse.com/blog/pg_stat_ch-postgres-extension-stats-to-clickhouse
2•saisrirampur•9m ago•0 comments

Why haven't humans been back to the moon in over 50 years?

https://www.cnn.com/2026/02/13/science/why-humans-have-not-been-back-to-moon
1•ablaba•11m ago•1 comments

Jikipedia, a new AI-powered wiki reporting on key figures in the Epstein scandal

https://twitter.com/jmailarchive/status/2022482688691835121
1•wenjel•14m ago•0 comments

Show HN: Heart Note – a tiny web app to send beautiful one‑off digital letters

https://heartnote.online
2•azabraao•30m ago•0 comments

SnowBall: Iterative Context Processing When It Won't Fit in the LLM Window

https://enji.ai/tech-articles/snowball-iterative-context-processing/
1•puzanov•30m ago•0 comments

How to be a good Asian parent (satire)

https://www.reddit.com/r/AsianParentStories/s/yyMDWcAUdh
1•carabiner•35m ago•1 comments

The Compliance Officer Who Flagged Epstein – and Lost Her Job

https://www.levernews.com/the-compliance-officer-who-flagged-epstein-and-lost-her-job/
1•cwwc•37m ago•0 comments

Convert URLs and Files to Markdown

https://markdown.new
2•salkahfi•37m ago•0 comments

Podcast: Solving Distributed Massage Passing: NATS.io composite learning [video]

https://www.youtube.com/watch?v=5NXvU17a-iU
1•northlondoner•42m ago•2 comments

Lockdown Mode and Elevated Risk Labels in ChatGPT

https://openai.com/index/introducing-lockdown-mode-and-elevated-risk-labels-in-chatgpt/
2•ms7892•42m ago•0 comments

Living in the Petri Dish of the Future

https://om.co/2026/02/12/living-in-the-petri-dish-of-the-future/
1•herbertl•49m ago•0 comments

The feedback you're not giving is the problem you keep having

https://dougrathbone.com/blog/2026/02/14/the-feedback-youre-not-giving-is-the-problem-you-keep-ha...
1•wiredone•51m ago•0 comments

AI Fails at 96% of Jobs (New Study)

https://www.youtube.com/watch?v=z3kaLM8Oj4o
3•deterministic•54m ago•2 comments

LLM APIs is a State Synchronization Problem

https://lucumr.pocoo.org/2025/11/22/llm-apis/
1•goranmoomin•54m ago•0 comments

Show HN: Lucid – Catch hallucinations in AI-generated code before they ship

https://github.com/gtsbahamas/hallucination-reversing-system
3•jordanappsite•59m ago•0 comments

German-language Wikipedia considers comprehensive AI ban

https://www.heise.de/en/news/German-language-Wikipedia-considers-comprehensive-AI-ban-11175670.html
2•layer8•1h ago•0 comments

Evolving Git for the Next Decade

https://lwn.net/SubscriberLink/1057561/bddc1e61152fadf6/
2•dhruv3006•1h ago•0 comments

The Challenger Map

https://challengermap.ca/
1•blululu•1h ago•0 comments

Show HN: Why Playwright-CLI Beats MCP for AI‑Driven Browser Automation

1•tanmay001•1h ago•0 comments

Show HN: ReviewStack – API that aggregates reviews from YouTube and Reddit

https://reviewstack.vercel.app/demo
1•browndev•1h ago•0 comments

Op.gg but for Chess

https://chess-pulse-neon.vercel.app/
1•rayen_gh•1h ago•2 comments

China's adoption of industrial robots has surged over the past decade

https://ourworldindata.org/data-insights/chinas-adoption-of-industrial-robots-has-surged-over-the...
2•kamaraju•1h ago•0 comments

Backblaze Drive Stats for 2025

https://www.backblaze.com/blog/backblaze-drive-stats-for-2025/
15•Brajeshwar•1h ago•2 comments

DC required daycare workers to get degrees. News only talked to those who stayed

https://abio.substack.com/p/dc-required-daycare-workers-to-get
2•NavinF•1h ago•0 comments

Interop 2026

https://webkit.org/blog/17818/announcing-interop-2026/
3•zb3•1h ago•0 comments

Why exercise isn't much help if you are trying to lose weight

https://www.newscientist.com/article/2514600-why-exercise-isnt-much-help-if-you-are-trying-to-los...
5•stevenwoo•1h ago•1 comments

Show HN: SQL-tap – Real-time SQL traffic viewer for PostgreSQL and MySQL

https://github.com/mickamy/sql-tap
16•mickamy•1h ago•2 comments

Terrence Tao: Why I Co-Founded SAIR [video]

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

Terence Tao: Machine Assistance and the Future of Research Mathematics [video]

https://www.youtube.com/watch?v=SuTxpKggY30
2•abetusk•1h ago•1 comments