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.

Title: Show HN: myVanilla.js – In-memory JIT compiler, 100k reactive nodes in 4s

https://github.com/Enocwtc/Enocwtc.github.io
1•Enocwtc•12s ago•0 comments

Creating another MCP server, but this one is for research

https://jspann.me/blog/posts/research_mcp/
1•jspann•3m ago•0 comments

The Federal Data Field Guide

https://www.federaldatafieldguide.us/
1•sebg•5m ago•0 comments

Matterhorn pandas

https://mz.prose.sh/matterhorn-pandas
1•manuelz•6m ago•0 comments

Magic the Gathering format: Fun 40

https://fabiensanglard.net/mtg/fun//index.html
1•ibobev•8m ago•0 comments

Second Quantisation – A Quantisation Too Far

https://www.forwardscattering.org/page/Second%20Quantisation
1•ibobev•8m ago•0 comments

Ma Configuration SSH · Accueil

https://rodolphe.breard.tf/article/ma-config-ssh/
1•rodrigo975•8m ago•0 comments

My 1993 Atari Mega STE Retro Battlestation

https://www.goto10retro.com/p/my-1993-mega-ste-retro-battlestation
1•ibobev•9m ago•0 comments

Anthropic to open Milan office, expanding push into Europe

https://finance.yahoo.com/sectors/technology/articles/anthropic-open-milan-office-expanding-09502...
1•napolux•9m ago•0 comments

AVX-512 Optimization for FFmpeg Shows Wild Improvement on AMD Ryzen (2025)

https://www.phoronix.com/news/FFmpeg-AVX-512-uyvytoyuv422
1•tosh•9m ago•0 comments

Nvidia says it has 'largely conceded' China's AI chip market to Huawei

https://www.cnbc.com/2026/05/21/nvidia-jensen-huang-china-ai-chip-market-huawei.html
1•Markoff•10m ago•0 comments

Yet another " fastest hashing algorithm"

https://github.com/rrrlasse/intrinhash
1•rlasse•11m ago•1 comments

European Salary Calculator – net pay after tax for PT/ES/UK/DE/NL (2026)

https://www.eunetsalarycalculator.com/
1•coubes•15m ago•0 comments

QuestDB 9.4.0

https://questdb.com/blog/questdb-9-4-0-release/
1•tosh•15m ago•0 comments

Toxiflow – an execution layer that measures fill toxicity

https://github.com/SO2304/toxiflow
1•so2304•15m ago•0 comments

Show HN: Aisbf, a self-hostable OpenAI-compatible AI proxy/router

https://aisbf.cloud/
1•nextime•16m ago•0 comments

The third wave of American philanthropy

https://nanransohoff.substack.com/p/the-third-wave-of-american-philanthropy
1•gmays•16m ago•0 comments

LLM-mock – Record real LLM API responses once, replay them in tests forever

https://pypi.org/project/llm-mock/
1•roman_t•16m ago•0 comments

Playwright CI: What Senior Engineers Do Differently

https://bdr-methodology.dev/blog/what_senior_engineers_do_differently_pro/
1•dmitryaqa•17m ago•0 comments

Gemini randomly dumped its system prompt

https://gist.github.com/mkaramuk/44a44d83178e632ec0dd1f02186d822c
22•mkaramuk•17m ago•2 comments

How These Doctors Keep Brains Going After Death

https://www.youtube.com/watch?v=IzUuvlCjHC4
1•_tk_•20m ago•0 comments

The Effects of School Phone Bans: National Evidence from Lockable Pouches

https://siepr.stanford.edu/publications/working-paper/effects-school-phone-bans-national-evidence...
2•mooreds•21m ago•0 comments

Anthropic's New Consulting Venture Makes Its First Acquisition

https://www.bloomberg.com/news/articles/2026-05-21/anthropic-s-new-consulting-venture-makes-its-f...
7•atomon•21m ago•0 comments

A text adventure game about the joys of submitting updates to the App Store

https://approval.quest/
1•zgoldie•23m ago•0 comments

A Bipartisan Amendment Would End Police License Plate Tracking Nationwide

https://www.wired.com/story/a-bipartisan-amendment-would-end-police-license-plate-tracking-nation...
1•cdrnsf•23m ago•0 comments

AISA

https://aisa.to
2•Ozanagdeviren•23m ago•0 comments

Show HN: I Dedicated 4 Years to Mastering Offline Password Cracking

1•bojta-lepenye•25m ago•0 comments

Air France and Airbus guilty of corporate manslaughter for 2009 plane crash

https://www.theguardian.com/world/2026/may/21/air-france-airbus-guilty-corporate-manslaughter-200...
1•victortalkstech•25m ago•0 comments

Who Wins and Who Loses in Prediction Markets? Evidence from Polymarket

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6443103
2•vcf•26m ago•1 comments

The Rise of Build-to-Rent Housing

https://www.construction-physics.com/p/the-rise-of-build-to-rent-housing
1•crescit_eundo•26m ago•0 comments