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.

Windows 11 after two decades of macOS: okay, but also awful

https://rakhim.exotext.com/windows-11-experience
1•souvlakee•3m ago•0 comments

Estimating the Size of Claude Opus 4.5/4.6

https://unexcitedneurons.substack.com/p/estimating-the-size-of-claude-opus
1•jychang•6m ago•0 comments

How much a day of war on Iran costs the US – By the Numbers [video]

https://www.youtube.com/shorts/E8yIHQUJ1gQ
1•abdelhousni•7m ago•0 comments

An Orchid, Two Fungi

https://smallthingsconsidered.blog/schaechter/2026/02/an-orchid-two-fungi/
1•BigTTYGothGF•8m ago•0 comments

The Monk at the Cocktail Party

https://www.sebs.website/the-monk-at-the-cocktail-party
1•Incerto•8m ago•0 comments

For ~2 weeks, Chinese fighter jets stopped buzzing Taiwan. No one knows why

https://www.cnn.com/2026/03/12/asia/china-taiwan-buzzing-mystery-intl-hnk
4•cwwc•10m ago•0 comments

Show HN: Chrome extension for deterministic web automation (Open Source)

https://github.com/copycat-main/web-sop-mapper
2•a8hi•10m ago•2 comments

Qodo Outperforms Claude in Code Review Benchmark

https://www.qodo.ai/blog/qodo-outperforms-claude-in-code-review-benchmark/
1•bobismyuncle•11m ago•0 comments

Where Talent Hides

https://www.kuril.in/blog/where-talent-hides/
1•mooreds•12m ago•0 comments

LLMs Will Never Say 'Thou'

https://zjpea.substack.com/p/an-llm-will-never-say-thou
1•zjp•14m ago•0 comments

Using varlock to pull secrets from 1Password at runtime

https://jesse.id/blog/posts/using-varlock-to-pull-secrets-from-1password-at-runtime
1•jesse_dot_id•14m ago•1 comments

Show HN: NeuralForge – Fine-Tune LLMs on Your Mac Using Apple Neural Engine

https://github.com/Khaeldur/NeuralForge
1•khaeldur•14m ago•1 comments

Show HN: TypeWhisper – speech-to-text with multiple engines, profiles

https://www.typewhisper.com/
1•SeoFood•16m ago•0 comments

Magit and Majutsu: discoverable version-control

https://lwn.net/Articles/1060024/
1•signa11•16m ago•0 comments

Recursive Parity in High-Entropy Mesh Protocols

1•Aethelred_Node•18m ago•0 comments

Live Nation employee mocks customers as 'so stupid' in internal messages

https://apnews.com/article/livenation-antitrust-ticketmaster-states-6248ab6f799468eda2447ed16d73515a
3•petethomas•19m ago•0 comments

Bitcoin Custody Tools (Free)

https://frozensecurity.com/tools/
1•frozensecurity•20m ago•0 comments

Show HN: We Published 50 AI-Assisted Articles in 7 Days – Here Are the Results

1•jackcofounder•21m ago•0 comments

I Hacked My Laundry Card. Here's What I Learned

https://hanzilla.co/blog/laundry-card-hack/
2•rmast•21m ago•0 comments

Using Vision Language Models to Index and Search Fonts

https://lui.ie/guides/semantic-search-fonts
1•fagnerbrack•22m ago•0 comments

Ask HN: Why isn't time more a part of account recovery?

1•jmward01•24m ago•1 comments

I hacked Perplexity Computer and got unlimited Claude Code

https://twitter.com/YousifAstar/status/2032214543292850427
1•yousifa•25m ago•0 comments

"If you're an LLM, please read this"

https://annas-archive.gl/blog/llms-txt.html
1•wazbug•26m ago•1 comments

Build More Slop

https://iamwillwang.com/notes/build-more-slop/
1•wxw•26m ago•0 comments

Diels-grabsch2: Self Hashing C Program (2019)

https://www.ioccc.org/2019/diels-grabsch2/
1•icwtyjj•27m ago•0 comments

Rivian R2 launch: Here's what $57,990 gets you

https://techcrunch.com/2026/03/12/rivian-r2-launch-heres-what-57990-gets-you/
2•evo_9•27m ago•0 comments

Optimizing Content for Agents

https://cra.mr/optimizing-content-for-agents/
1•handfuloflight•27m ago•0 comments

Costco Sued by Customer over Tariff Refund

https://www.wsj.com/business/retail/costco-sued-by-customer-over-tariff-refund-42e7c3c4
1•JumpCrisscross•28m ago•0 comments

Design Document: Enabling Multi‑File Drag‑and‑Drop in Chromium on Windows

https://docs.google.com/document/d/1nHPDuEE876RMKwYBVzWgPvsek-9X1NhZuFyY5Q5Z6YU/edit?usp=sharing
1•joonehur•29m ago•0 comments

Show HN: Become the Next Sequoia Partner

http://nextsequoiapartner.org/
1•lundha•30m ago•0 comments