frontpage.
newsnewestaskshowjobs

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•1y ago

Comments

llm-exe•1y 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•1y 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.

Netflix reportedly considering always-on channels and bundles, which is, cable

https://thenextweb.com/news/netflix-always-on-channels-bundles-cable
2•rolph•46s ago•0 comments

Show HN: Lazysusan – run commands on your machines from anywhere with just curl

https://github.com/belugashark/lazysusan
1•ishaanmishra•2m ago•0 comments

Meningococcal B Vaccine to Prevent Neisseria Gonorrhoeae Infection

https://www.nejm.org/doi/full/10.1056/NEJMoa2516739
2•bushwart•4m ago•0 comments

Tiny Emulators

https://floooh.github.io/tiny8bit-preview/index.html
2•naves•5m ago•0 comments

Creator Sues for First Amendment Rights After Being Blocked from JD Vance Event

https://www.aclu.org/press-releases/catsonacouch-instagram-creator-barred-from-jd-vance-event-sue...
1•gnabgib•6m ago•0 comments

Do Models Doubt?

https://www.psychologytoday.com/us/blog/the-digital-self/202607/before-i-think-therefore-i-am
1•0gs•7m ago•1 comments

LinkedIn, a mass grave of ghost jobs, is now becoming a dating app

https://www.sfgate.com/tech/article/linkedin-dating-app-22340622.php
2•backlit4034•7m ago•0 comments

Show HN: Artificiety – Agentic society in a fantasy world

https://artificiety.world
1•Haldt•8m ago•0 comments

No Boss, No Money: The Raw Reality of China's Gen-Z Freelancers [video]

https://www.youtube.com/watch?v=eJZFUEQebbI
1•gala8y•11m ago•0 comments

Irish datacenters now guzzle 23% of the country's electricity

https://www.theregister.com/on-prem/2026/07/11/irish-datacenters-now-guzzle-23-of-the-countrys-el...
6•Bender•12m ago•0 comments

Show HN: I created a platform with a list for promoting your projects

https://listaprojectandpromoteit.digital
1•aanthonymax•13m ago•0 comments

Panel meter calculator with floating point

https://lcamtuf.substack.com/p/panel-meter-calculator-with-floating
1•surprisetalk•13m ago•0 comments

2026 Spiel Des Jahres Winners: JinxO, Rebirth and Mooki Island

https://www.wericmartin.com/jinxo-wins-2026-spiel-des-jahres/
1•Tomte•14m ago•0 comments

Show HN: I created Redis alternative in Go that even runs natively on Windows

https://github.com/Suleman-Elahi/frostdb
1•inmate4587•15m ago•0 comments

Ask HN: Would filesystem bookmarks be useful in your shell workflow?

2•manux81•15m ago•0 comments

Technology is 100% ruining my life [video]

https://www.youtube.com/watch?v=TlUwoxCO07A
1•Bender•15m ago•0 comments

We Can Read Again

https://medium.com/the-prototype/how-we-can-read-again-8bc11e32049
1•herbertl•17m ago•0 comments

The Five Sisters Race is underway

https://www.instagram.com/p/DakypWiEWax/
1•Tomte•17m ago•0 comments

Show HN: How old is someone named Gertrude? SSA data says 80

https://namestrace.com/tools/name-age/
2•willbuilds•17m ago•0 comments

Young women are identifying as less straight; young men, not so much

https://theconversation.com/young-women-are-identifying-as-less-straight-young-men-not-so-much-28...
3•randycupertino•18m ago•0 comments

SpaceX built to separate retail investors from their money

https://seekingalpha.com/news/4613058-spacex-built-to-separate-retail-investors-from-their-money-...
3•nothrowaways•20m ago•1 comments

Braess's paradox: Adding roads to a road network can slow overall traffic flow

https://en.wikipedia.org/wiki/Braess%27s_paradox
3•mhb•20m ago•0 comments

Show HN: Isitsecure – 1-command SAST and DAST and LLM security scanner for web apps

https://github.com/jaurakunal/isitsecure
1•kunaljaura•20m ago•0 comments

The Biggest Conspiracy of All

1•b112•23m ago•1 comments

Let's talk about: LinkedIn ghost jobs

3•xvxvx•24m ago•0 comments

Narrating your blog with Kokoro, a local and open source text-to-speech model

https://bart.degoe.de/narrating-your-blog-with-kokoro-a-local-opensource-model/
2•bartdegoede•24m ago•0 comments

6× faster binary search: from compiled code to mechanical sympathy

https://pythonspeed.com/articles/branchless-binary-search/
2•lumpa•28m ago•0 comments

Show HN: Mosey Parker – find a ride in bikeshare systems worldwide (iOS)

https://moseyparker.com
1•mjmsmith•29m ago•1 comments

CPU vs. FPGA data flow differences explained in a short animation [video]

https://www.youtube.com/watch?v=BML1YHZpx2o
1•binyu•29m ago•0 comments

Defining new Jax types with hijax

https://docs.jax.dev/en/latest/hijax_types.html
1•fhchl•34m ago•0 comments