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

Comments

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

Sweden Wants to Strap Tracking Devices on Children as Young as 13

https://reclaimthenet.org/sweden-child-surveillance-bracelets
1•Zusor•28s ago•0 comments

Show HN: MementoVault – Self-hosted AI context manager served via MCP

https://mementovault.meltinbitfarm.cloud
1•Meltinbit•2m ago•0 comments

Show HN: Aion a Rust Database

https://github.com/ayoubnabil/aiondb
2•K9987plus•2m ago•0 comments

Show HN: U Wot M8 – get no-jargon landing pages

https://uwotm8.wtf/
1•ritzaco•3m ago•0 comments

Show HN: Get dopamine from real action instead of doomscrolling

https://quest.visionary-path.com/
1•DaryaHr•5m ago•0 comments

A hidden ClickHouse bottleneck slowed Cloudflare billing pipeline

https://blog.cloudflare.com/clickhouse-query-plan-contention/
1•heldrida•9m ago•0 comments

How to Kill: A 6-Part Guide for Urban Assassins 1973-1984

https://flashbak.com/how-to-kill-without-joy-1973-1984-483193/
1•dxs•10m ago•0 comments

CodingBooth – Containerized dev environments declared in the repository

https://codingbooth.io/
1•NawaMan•10m ago•0 comments

Figure 03 robot work shift livestream [video]

https://www.youtube.com/watch?v=luU57hMhkak
2•nico•11m ago•0 comments

North Korean hackers siphon $12M+ from crypto users in sprawling campaign

https://therecord.media/north-korean-hackers-siphon-12-million-from-crypto-users
1•PaulHoule•12m ago•0 comments

Quaise Energy's deep drilling for unlimited geothermal power

https://newatlas.com/energy/quaise-newberry-volcano-marble-falls-hq-tour/
1•breve•13m ago•0 comments

Show HN: Sanjaya – Extract structured datasets from academic journals

https://sanjaya-8ng27s9p4-oug-ts-projects.vercel.app/
1•oug-t•17m ago•0 comments

Attested State Infrastructure-Cheaper building makes shared infra more valuable

https://myceliasignal.com/thesis/
1•JBulkeley•17m ago•0 comments

Man Impulsively Buys 55 Gallons of Potatoes on Facebook

https://www.today.com/food/man-buys-55-gallons-potatoes-facebook-marketplace-rcna342966
1•austinallegro•18m ago•0 comments

Kubernetes Networking Clicked When I Stopped Starting with Kubernetes

https://shadialtarsha.com/software/2026-05-13-i-think-kubernetes-networking-finally-clicked-for-me/
1•platzhirsch•19m ago•0 comments

Why they stopped building wooden stupas: on survivorship bias in history

https://resobscura.substack.com/p/survivorship-bias-in-history
1•benbreen•19m ago•0 comments

Nvidia CEO Compares Aging GPUs to Fine Wine

https://www.guru3d.com/story/nvidia-ceo-now-compares-aging-gpus-to-fine-wine/
1•akyuu•20m ago•0 comments

NASA pushes next-gen Mars helicopter rotors through the sound barrier

https://newatlas.com/space-systems/nasa-jpl-mars-helicopter-rotor-mach-1/
1•breve•21m ago•0 comments

Show HN: PandoCast: open-source Pandora player to solve an annoyance I had

https://github.com/lennyxc/PandoCast
1•lxchase•21m ago•0 comments

The Quiet Erasure of the Human Monopoly: Why Mo Gawdat's Predictions Are

https://beeble.com/en/blog/the-quiet-erasure-of-the-human-monopoly-why-mo-gawdat-s-predictions-ar...
1•odysseyk•23m ago•0 comments

A LaTeX Book Giveaway

https://tex.meta.stackexchange.com/questions/10304/another-latex-book-giveaway
1•idle•24m ago•0 comments

Math Jokes in Alice in Wonderland

https://storica.club/blog/alice-is-math-jokes/
1•yekbun123•31m ago•0 comments

Life, Death and Rebirth in the Land of the Buddha

https://www.nytimes.com/2026/05/14/t-magazine/nepal-buddha-kathmandu-buddhism.html
1•jackallis•32m ago•0 comments

CodeWright

https://en.wikipedia.org/wiki/CodeWright
1•BruceEel•36m ago•0 comments

Rising Seas Could Encircle New Orleans by the End of This Century

https://e360.yale.edu/digest/new-orleans-sea-level-rise
1•speckx•38m ago•0 comments

Will Wildfires Spell This the End of the Campfire in Canada?

https://explore-mag.com/is-this-the-end-of-the-campfire-in-canada/
2•kspacewalk2•39m ago•0 comments

Show HN: Symphony: Integrate OpenCode with Linear and get your own dev team

https://github.com/skorokithakis/symphony
1•stavros•40m ago•0 comments

USDA Projects Smallest US Wheat Harvest Since 1972 Due to Plains Drought

https://www.agweb.com/news/usda-projects-smallest-us-wheat-harvest-1972-due-plains-drought
58•littlexsparkee•41m ago•28 comments

The Ackman Act

https://docs.google.com/document/d/1EDezDWvB4wsgfhldNc23dNnSc0cZZfK9GZabjVvkyhg/edit?usp=sharing
1•throwawa1•43m ago•0 comments

Ask HN: How do you defend against supply chain attacks today?

4•elric•43m ago•3 comments