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

Comments

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

Super Zsnes: GPU Powered SNES Emulation

https://www.youtube.com/watch?v=r5twUkvYFpA
1•kjeetgill•7s ago•0 comments

Show HN: I built another to do list. But it does a lot

https://apps.apple.com/us/app/rotation-list-shared-to-do/id6758746324
1•toddh•51s ago•0 comments

Which (tech) companies have the best work life balance?

1•philmcp•1m ago•0 comments

Show HN: InterviewDen – Free voice AI mock interviews for SWE, IB, quant, more

https://theinterviewden.com/
1•psonthalia•1m ago•0 comments

I just added every Pulsing Aura card to the PTCGP database I maintain

https://pocketcards.net/database
1•bat0x01•1m ago•0 comments

Which (tech) companies have the best work life balance?

https://4dayweek.io
1•philmcp•2m ago•1 comments

How to Do OAuth with OpenAI

https://developer.puter.com/tutorials/openai-oauth/
1•ent101•2m ago•0 comments

(Almost) A Eulogy for Voyager

https://nautil.us/almost-a-eulogy-for-voyager-1280164
1•Bender•4m ago•0 comments

London to Calcutta by Bus

https://www.amusingplanet.com/2022/08/london-to-calcutta-by-bus.html
1•CGMthrowaway•6m ago•0 comments

The Open Social Web Needs Section 230 to Survive

https://www.eff.org/deeplinks/2026/04/open-social-web-needs-section-230-survive
2•hn_acker•7m ago•0 comments

Tech Lobbyists Hard at Work Undermining Proposed Alaska 'Right to Repair' Law

https://www.techdirt.com/2026/04/28/tech-lobbyists-hard-at-work-undermining-proposed-alaska-right...
2•hn_acker•9m ago•0 comments

Untyped, on Purpose

https://intertwingly.net/blog/2026/04/28/Untyped-on-Purpose.html
1•ingve•10m ago•0 comments

Mill Valley compound for sale. The price? Your Anthropic shares

https://sfstandard.com/2026/04/26/mill-valley-compound-sale-price-your-anthropic-shares/
4•cdrnsf•18m ago•0 comments

Canada becomes the first G7 country to approve a generic version of semaglutide

https://www.canada.ca/en/health-canada/news/2026/04/canada-becomes-the-first-g7-country-to-approv...
2•smitop•18m ago•0 comments

Show HN: Cordon – Security gateway for MCP tool calls with HITL approvals

https://github.com/marras0914/cordon
1•babas03•19m ago•0 comments

Logseq is splitting into two versions

https://logseq.io/page/b2ad9ce1-9cb7-4436-8083-54cb4516d324/df4dc09d-0a12-4c87-904e-22a9bf4c350a
1•microflash•20m ago•0 comments

Blaster Beam (Musical Instrument)

https://en.wikipedia.org/wiki/Blaster_beam
1•hyperific•21m ago•0 comments

Ukraine says it shot down 33,000 Russian drones in March, a monthly record

https://apnews.com/article/russia-ukraine-war-drone-attacks-oil-06edbc9666fe0681fa0930affc475e9b
3•MilnerRoute•21m ago•0 comments

Stride and prejudice: How a 32-bit overflow corrupted a CUDA kernel

https://www.ai21.com/blog/vllm-cuda-integer-overflow/
1•kjeetgill•30m ago•0 comments

Show HN: ClusterdOS – Kubernetes without the platform team

https://gitlab.com/aranya-tech/public/clusterdos
2•druid•31m ago•0 comments

Oracle, BorderPlex, Bloom Energy to Power Data Centers with Clean Fuel Cell Tech

https://www.oracle.com/news/announcement/oracle-borderplex-and-bloom-energy-to-power-project-jupi...
1•plun9•35m ago•0 comments

British station doesn't get updated train information, but pub does

https://www.trains.com/pro/passenger/british-station-doesnt-get-updated-train-information-but-pub...
6•reaperducer•36m ago•1 comments

Hacktron Review – code reviewer that acts like a security engineer

https://www.hacktron.ai/blog/introducing-hacktron-review
1•zeyu1337•37m ago•0 comments

Lawyers for Sam Altman's sister quit representing her in lawsuit vs. OpenAI CEO

https://nypost.com/2026/04/27/business/sam-altmans-sister-loses-lawyers-in-her-sex-abuse-lawsuit-...
5•1vuio0pswjnm7•38m ago•0 comments

Namecheap vs. Porkbun vs. Dynadot: .io domain pricing compared (2026)

https://nametracker.fyi/blog/namecheap-vs-porkbun-vs-dynadot-io-pricing
1•mithuns911•39m ago•1 comments

LightInk – ESP32, solar-powered E-ink smartwatch with 10 months battery life

https://www.cnx-software.com/2026/04/26/lightink-an-esp32-based-solar-powered-e-ink-smartwatch-wi...
2•felixr•42m ago•0 comments

Nvidia executive says AI is more expensive than paying human workers

https://fortune.com/2026/04/28/nvidia-executive-cost-of-ai-is-greater-than-cost-of-employees/
7•cdrnsf•43m ago•4 comments

Tucows

https://en.wikipedia.org/wiki/Tucows
3•derwiki•44m ago•0 comments

Carrot Disclosure: Forgejo

https://dustri.org/b/carrot-disclosure-forgejo.html
2•bo0tzz•44m ago•0 comments

From Psychologist to Developer to Founder

1•Tiredbuthopeful•51m ago•0 comments