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.

Major investor 'shocked and sad' that the games industry is 'demonizing' gen AI

https://www.pcgamer.com/software/ai/major-investor-is-shocked-and-sad-that-the-games-industry-is-...
1•stalfosknight•33s ago•0 comments

Quantum Teleportation Breakthrough Brings the Quantum Internet Closer

https://scitechdaily.com/quantum-teleportation-breakthrough-brings-the-quantum-internet-closer/
1•HardwareLust•3m ago•0 comments

Show HN: NumenText, a non-modal editing terminal IDE with LSP/DAP

https://github.com/numentech-co/numentext
1•rlogman•5m ago•0 comments

Airbus is preparing two uncrewed combat aircraft

https://www.airbus.com/en/newsroom/press-releases/2026-03-airbus-is-preparing-two-uncrewed-combat...
2•phasnox•5m ago•0 comments

RFC 4180 – CSV (2005)

https://www.rfc-editor.org/rfc/rfc4180
1•basilikum•11m ago•0 comments

Laws of Nature and Chances: What Breathes Fire into the Equations

https://ndpr.nd.edu/reviews/laws-of-nature-and-chances-what-breathes-fire-into-the-equations/
1•hhs•12m ago•0 comments

The slow death of the English boarding school

https://www.ft.com/content/cc7eb665-b689-4e2f-9e35-c6ab5dbf3980
1•bookofjoe•12m ago•1 comments

Show HN: I let the internet control my iPad with AI

https://play.thomaskidane.com/
1•meneliksecond•13m ago•1 comments

The Sound of Contamination: Headphones Contain Ing Hormone-Disrupting Chemicals

https://arnika.org/en/news/the-sound-of-contamination-all-analysed-headphones-on-the-central-euro...
2•microflash•15m ago•1 comments

'In Search of Now’ review: Blurring forever and a day

https://www.wsj.com/arts-culture/books/in-search-of-now-review-time-out-of-mind-2e33a184
1•hhs•18m ago•0 comments

Tokenizing Arithmetic Expressions

https://xnacly.me/posts/2023/calculator-lexer/
1•ibobev•18m ago•0 comments

Show HN: Nia CLI, an OSS CLI for agents to index, search, and research anything

https://github.com/nozomio-labs/nia-cli
1•jellyotsiro•18m ago•0 comments

Mojo's Not (Yet) Python

https://theconsensus.dev/p/2026/03/12/mojos-not-yet-python.html
1•ibobev•19m ago•0 comments

Introduction to SQLAlchemy 2 in Practice

https://blog.miguelgrinberg.com/post/introduction-to-sqlalchemy-2-in-practice
2•ibobev•20m ago•0 comments

What can change the nature of an AI?

https://onatm.dev/2026/03/14/what-can-change-the-nature-of-an-ai/
1•onatm•22m ago•0 comments

Siepr Economic Summit 2026 – California Wealth Tax [video]

https://www.youtube.com/watch?v=H54P6j7ER28
1•skmurphy•23m ago•1 comments

Does anyone else struggle to search inside large YouTube playlists?

https://chromewebstore.google.com/detail/todij-playlist-manager/fboiimochokolojefdohahhiapkkpccg
1•seyfigo•26m ago•1 comments

Plan 9's Acme: The Un-Terminal and Text-Based GUIs

https://www.danielmoch.com/posts/2025/01/acme/
2•birdculture•28m ago•1 comments

Tools Collection

https://theultimatewebtools.com/
1•Plaz•29m ago•0 comments

Verge Electric TS Pro Is a Revolutionary Motorcycle

https://www.autoweek.com/news/a60944655/verge-electric-ts-pro-motorcycle-review/
1•thunderbong•31m ago•0 comments

The datacenter where the day starts with topping up cerebrospinal fluid

https://www.theregister.com/2026/03/14/cortical_labs_biological_cloud/
2•spzb•31m ago•0 comments

GrobPaint: Somewhere Between MS Paint and Paint.net. Multiplatform by Default

https://github.com/groverburger/grobpaint
2•__grob•34m ago•0 comments

Show HN: GLinksWWW – A browser for power users tired of repetitive copy-pasting

https://github.com/rio719/gLinksWWW-browser
2•glinkswww•38m ago•1 comments

Show HN: A 2D football SIM focused on real-time coaching

https://www.touchlineshouting.com
1•pipnonsense•39m ago•0 comments

Off-Grid Electricity and Hot Water from Scrap Wood

https://hackaday.com/2026/03/14/off-grid-electricity-and-hot-water-from-scrap-wood/
4•toomuchtodo•42m ago•1 comments

Detexify

https://detexify.kirelabs.org/classify.html
1•jruohonen•43m ago•0 comments

Show HN: The best way to manage your skills – Better-Skills

3•trapani•45m ago•2 comments

Dependency cooldowns would be a good idea for Go

https://utcc.utoronto.ca/~cks/space/blog/programming/GoDependencyCooldownsGood
2•ingve•45m ago•1 comments

Trump Adviser Warns of Possible Israel Nuclear Escalation in Iran Conflict

https://www.newsweek.com/david-sacks-trump-administration-israel-nuclear-escalation-iran-war-1167...
4•jacquesm•46m ago•0 comments

Invariant Risk Minimization (2020)

https://arxiv.org/abs/1907.02893
1•gone35•47m ago•0 comments