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.

Services Masquarading as Software 30x30

https://www.silverbackcto.com/
1•dudemanAtl•2m ago•0 comments

Show HN: NostalgiApp – A LaunchBox-style game launcher for macOS

3•jupe69•4m ago•0 comments

The Return of the Unix Workstation (Now with AI)

https://jasoneckert.github.io/myblog/return-of-the-unix-workstation/
1•ingve•5m ago•0 comments

The Return to Analog

https://www.rickmanelius.com/p/the-return-to-analog
1•mooreds•5m ago•0 comments

AAuth Protocol Explorer

https://explorer.aauth.dev/
1•mooreds•6m ago•0 comments

Prefer Terraform Module Composition over Inheritance (2025)

https://newsletter.masterpoint.io/p/prefer-module-composition-over-inheritance
1•mooreds•7m ago•0 comments

Embrace, Extend, Extinguish?

http://eee.fyi/
2•pie_flavor•10m ago•0 comments

Entity Component Systems FAQ

https://github.com/SanderMertens/ecs-faq
2•tosh•12m ago•0 comments

Ask HN: What sci fi books are you reading now?

2•pianetanaif•13m ago•2 comments

Microsoft Lead: "AI Will Never Replace Coders, Here's Why" [video]

https://www.youtube.com/watch?v=CPrePbvbbic
4•tosh•19m ago•0 comments

We accidentally recreated old Facebook

https://amrshawky.com/posts/we-accidentally-recreated-fb/
1•amr_shawky•21m ago•0 comments

Detecting PostgreSQL optimization issues with deterministic analysis

https://beh74.github.io/pgassistant-blog/post/global_advisor/
1•bertrandhartwig•21m ago•0 comments

Scientists warn Atlantic current at risk of shutting down

https://e360.yale.edu/features/amoc-climate-change
35•ambigious7777•23m ago•5 comments

Visualizing LLM embeddings on a sphere

https://github.com/dbyter/sphere-embed
1•ahmedhawas123•24m ago•1 comments

Boilerplate to create a 1990s Geocities-style website

https://sugardaddyapp.github.io/geocities-boilerplate/
1•whatsupdog•25m ago•1 comments

Hacking Police Robot Dogs [video]

https://www.youtube.com/watch?v=lA8WuXDXfcI
1•Jn2G3Np8•26m ago•0 comments

Russia Restricting Access to GitHub

https://twitter.com/polidemitolog/status/2053493261633720827
6•miohtama•29m ago•0 comments

Show HN: We built a tool to dub any video in the original voice in 30 languages

1•ABSALOMMAXY•32m ago•1 comments

AI Learns to Play Pokémon Go on AI Sandboxes

https://zozo123.github.io/pokeloop/
1•zozo123-IB•34m ago•0 comments

Map of every park in Salt Lake City

https://saltlake.citycast.fm/parks
1•bencornia•35m ago•0 comments

The Fall of the Theorem Economy

https://davidbessis.substack.com/p/the-fall-of-the-theorem-economy
3•magoghm•35m ago•0 comments

Do City Delivery Drones Make Sense? No One Knows, but They're Flying over NYC

https://www.wired.com/story/do-city-delivery-drones-make-sense-no-one-knows-but-theyre-flying-ove...
1•Brajeshwar•39m ago•0 comments

B-tree based collection types for Go

https://github.com/tidwall/btype
4•eatonphil•39m ago•0 comments

Chrome's AI features may be hogging 4GB of your computer storage

https://www.theverge.com/tech/924933/google-chrome-4gb-gemini-nano-ai-features
12•birdculture•40m ago•4 comments

Its the Age of Electricity and America Isn't Ready

https://www.nytimes.com/interactive/2026/04/27/opinion/electricity-power-grid-infrastructure.html
3•anjel•41m ago•1 comments

TikZlings – A collection of cute little animals and similar creatures

https://ctan.org/pkg/tikzlings?lang=en
1•Tomte•45m ago•0 comments

Why payment escrow for AI agents needed a different design

https://streetai.org/blog/escrow-for-ai-agents.html
2•degutemesgen•46m ago•0 comments

A super simple tool tells you who called the function and who implemented it

https://github.com/meloalright/who-ast
3•meloyc•47m ago•0 comments

Proposed Amendment to the Telephone Consumer Protection Act of 1991

https://www.karlbunch.com/random/website-protection-act/
2•kator•48m ago•1 comments

OSS Review Toolkit

http://oss-review-toolkit.org/ort/
2•Tomte•53m ago•0 comments