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

Comments

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

LUKSbox: Encrypted vaults that survive the next decade

https://github.com/PentHertz/LUKSbox
1•fratellobigio•1m ago•0 comments

Show HN: I made an IPv6 proxy for GitHub

https://githubv6.com/
1•immibis2•5m ago•0 comments

Cherry Kearton – groundbreaking 19th-century nature photographer

https://www.bbc.com/future/article/20260507-cherry-kearton-the-eccentric-influence-on-a-young-sir...
1•jeffwass•8m ago•1 comments

I Will Never Use AI to Code

https://antman-does-software.com/i-will-never-use-ai-to-code-or-write
2•ishanz•10m ago•0 comments

Poka-Yoke

https://en.wikipedia.org/wiki/Poka-yoke
2•the-mitr•10m ago•0 comments

Anthropic weighs fundraising for near $1T valuation, FT reports

https://www.reuters.com/technology/anthropic-weighs-fundraising-near-1-trillion-valuation-ft-repo...
1•giuliomagnifico•12m ago•0 comments

Young people explicitly banned from openSUSE – urgent call for reversal

https://lists.opensuse.org/archives/list/project@lists.opensuse.org/message/6PU6JU2IGKDANYNN3KIXD...
3•robin_reala•14m ago•0 comments

The Birthplace of AI

https://www.cantorsparadise.com/the-birthplace-of-ai-9ab7d4e5fb00
1•tzury•17m ago•0 comments

Show HN: Know Any Good Jokes?

https://6jokes.com
1•dobodob•22m ago•0 comments

Stable Release of OpenClaw

https://agentwatch.aicompass.dev
1•davideuler•23m ago•1 comments

Code with Claude 2026 – San Francisco (playlist) [video]

https://www.youtube.com/watch?v=GMIWm5y90xA&list=PLmWCw1CzcFim2obQ-w3ohbULOfwp5lApR
1•pramodbiligiri•30m ago•0 comments

EU calls VPNs "a loophole that needs closing" in age verification push

https://cyberinsider.com/eu-calls-vpns-a-loophole-that-needs-closing-in-age-verification-push/
12•muse900•32m ago•1 comments

Building an AI-Powered IDE Companion App

https://mesmacosta.medium.com/google-cloud/from-idea-to-execution-building-an-ai-powered-ide-comp...
1•graup•32m ago•2 comments

How empty are the depths of space?

https://bigthink.com/starts-with-a-bang/how-empty-depths-space/
1•Kaibeezy•33m ago•0 comments

Color space conversion that transforms RGB/RYB colors in code/learn mode

https://rybitten.space/
1•jamiecurle•39m ago•0 comments

Perplexity Drops the Academic Integrity Mask

https://www.plagiarismtoday.com/2025/10/27/perplexity-drops-the-academic-integrity-mask/
2•jruohonen•41m ago•0 comments

Show HN: Hacker News Dark Mode Bookmarklet

https://github.com/gorgonian/hn-dark-bookmarklet
1•gorgonian•43m ago•0 comments

What Beijing learned about the U.S. from the Iran war

https://www.politico.com/news/2026/05/08/china-lessons-iran-trump-xi-00912539
2•KnuthIsGod•48m ago•0 comments

Data Visualisation Guide

https://data.europa.eu/apps/data-visualisation-guide/graphic-design-introduction
2•tosh•50m ago•0 comments

How Timeplus AgentGuard dectect realtime threats from Agent

https://timeplus-io.github.io/Presentation---AgentGuard-Introduction/
1•gangtao•52m ago•0 comments

How Axavive Supports Better Wellness Naturally?

1•JackSage•58m ago•0 comments

Whistling-only WhatsApp groups are taking off in Brazil

https://www.theguardian.com/world/2026/may/05/brazil-craze-whistling-only-whatsapp-groups
2•sahar_builds•1h ago•0 comments

Porting Starlark to Pure Python with Claude Code

https://dbohdan.com/starlark-python
1•networked•1h ago•0 comments

[Odds of hitting] a home run off the top of the foul pole

https://www.nytimes.com/athletic/7261633/2026/05/08/oneil-cruz-home-run-foul-pole-pirates/
1•Kaibeezy•1h ago•1 comments

A Technical Dive into Formalization of Chess Tactics

https://lichess.org/@/heroku/blog/gofchess--a-technical-dive-into-formalization-of-chess-tactics/...
2•heroku•1h ago•0 comments

Show HN: My New Projects Website

https://apps.weichart.de
1•surrTurr•1h ago•0 comments

The Making of Steven Spielberg's Jurassic Park (2012)

https://www.blu-ray.com/news/?id=8186
2•susam•1h ago•0 comments

Deepsec: The security harness for finding vulnerabilities

https://vercel.com/blog/introducing-deepsec-find-and-fix-vulnerabilities-in-your-code-base
1•gmays•1h ago•0 comments

Watts Wasting Texas Water [pdf]

https://www.sierraclub.org/sites/default/files/2026-05/texaswaterreport_final.pdf
2•littlexsparkee•1h ago•0 comments

Aurora: A Leverage-Aware Optimizer for Rectangular Matrices

https://blog.tilderesearch.com/blog/aurora
1•sanxiyn•1h ago•0 comments