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

Comments

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

Age Verification as Mass Surveillance Infrastructure

https://tboteproject.com/surveillancefindings/
1•rurban•1m ago•0 comments

The Number of Law-School Grads Getting Extra Time for the Bar Exam Is Surging

https://www.wsj.com/us-news/education/bar-exam-extra-time-696cfd11
1•cebert•1m ago•0 comments

KDE is bringing back the Oxygen and Air themes, here's what they look like

https://www.neowin.net/news/kde-is-bringing-back-the-oxygen-and-air-themes-heres-what-they-look-l...
1•bundie•3m ago•0 comments

No Human Error (Comic)

https://nullwing.com/comics/13/no-human-error/
1•greyblake•5m ago•1 comments

A single equation for intelligence – from quantum mechanics to AGI in 5 axioms

https://holon.sh/
1•old8man•5m ago•0 comments

Senior engineer best practice for scaling yourself with Claude Code

https://www.reddit.com/r/ClaudeCode/s/ppF2cGWQsi
1•bgnm2000•5m ago•0 comments

DLPack

https://dmlc.github.io/dlpack/latest/
1•tosh•12m ago•0 comments

CS146S: The Modern Software Developer

https://themodernsoftware.dev/
1•pramodbiligiri•15m ago•0 comments

Card Modeling FAQ (2002)

https://www.cardfaq.org/faq/
1•exvi•16m ago•0 comments

Custom Paper Pocket Yachts

https://custompaperpocketyachts.k-j-g.com/
1•exvi•22m ago•0 comments

How to Improve Task Switching Without Dremeling Holes in Your Skull

https://pravles.substack.com/p/writers-block-is-a-process-defect
1•pravles•22m ago•0 comments

Power Tools

https://jorviksoftware.cc/notes/2026/04/06/power-tools
1•jonathan_hollin•23m ago•0 comments

Show HN: Turn photos into Wordle puzzles with AI that runs 100% in your browser

https://momentsgame.com/
1•ud0•24m ago•0 comments

Haunted Paper Toys

http://ravensblight.com/papertoys.html
2•exvi•25m ago•0 comments

The internet blackout in Iran is entering its 38th day

https://mastodon.social/@netblocks/116356615846320587
1•us321•27m ago•0 comments

Hello

https://hacker-news.firebaseio.com/v0/newstories.json?print=pretty
1•madagha•34m ago•1 comments

Show HN: Free AI Business Name Generator with Domain Screening

https://noetron.ai/namegen
1•noetron•37m ago•1 comments

Auto read and summarize bookmarked X posts and Substack newsletters – feedback?

https://readingnotes.ai/producthunt
1•secondmod•44m ago•0 comments

How Paris swapped cars for bikes – and transformed its streets

https://www.theguardian.com/world/2026/apr/05/how-paris-swapped-cars-for-bikes-and-remade-its-str...
3•vrganj•50m ago•0 comments

On the brink of disaster

https://www.taxresearch.org.uk/Blog/2026/04/06/on-the-brink-of-disaster/
2•only_in_america•50m ago•0 comments

Number in man page titles e.g. sleep(3)

https://lalitm.com/til-number-in-man-page-titles-e-g-sleep-3/
5•thunderbong•54m ago•0 comments

Verbatim 140W GAN: One of the first chargers with USB PD 3.2 AVS (SPR) support

https://charge-test.com/verbatim-mini-gan-charger-140w-review-one-of-the-first-chargers-with-full...
2•StainX•55m ago•0 comments

Show HN: I built an Open-source Dropbox/Google Drive BOYB(Bring your own bucket)

https://github.com/zmeyer44/Locker
1•Zm44•56m ago•1 comments

Talk about PPU (Parallel Processing Unit) increasing CPU speeds exponentially

https://www.youtube.com/watch?v=ZiQxxzCHLvo
1•openhw•59m ago•0 comments

Industrial Policy for the Intelligence Age

https://openai.com/index/industrial-policy-for-the-intelligence-age/
1•salkahfi•1h ago•0 comments

Avoid Concatenation in Log Statements

https://blog.bonnieeisenman.com/blog/avoid-concatenation-in-log-statements/
1•luu•1h ago•1 comments

Show HN: Beat Darwin

1•ecosystemj•1h ago•0 comments

Show HN: I built lightweight LLM tracing tool with CLI

https://github.com/SKE-Labs/lightrace
2•skele•1h ago•1 comments

GlueClaw: Use Claude subscription in OpenClaw again

https://github.com/zeulewan/glueclaw
1•zeulewan•1h ago•1 comments

Show HN: Browser-based EXIF remover – no upload, runs offline via WASM

https://picshift.app/metadata-remover/
2•pod4g•1h ago•0 comments