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.

Honest-tests – detect fake tests and prove them with mutation testing

https://github.com/mintwork/honest-tests
1•mintworks•1m ago•0 comments

L3Harris Statement on the Nov. 13 Ground Stop

https://www.l3harris.com/newsroom/press-release/2026/11/l3harris-statement-nov-13-ground-stop
1•taspeotis•2m ago•0 comments

The Healthcare System. Or whatever you call it

https://davebarry.substack.com/p/the-healthcare-system
1•ZeroCool2u•3m ago•0 comments

Duality of Quadrilaterals via Quaternions [pdf]

https://scholarworks.uni.edu/cgi/viewcontent.cgi?article=1193&context=surp
1•teleforce•4m ago•0 comments

Brave removes tracking metadata from Instagram and Facebook photos

https://brave.com/privacy-updates/40-remove-tracking-metadata/
3•skaul•7m ago•0 comments

Critical infrastructure cyber protection is 'priority work'–but takes a year

https://www.rnz.co.nz/news/politics/2605865/cyber-protection-of-critical-infrastructure-is-priori...
4•billybuckwheat•7m ago•0 comments

The Nord Stream Prosecution: Immunity, Military Objectives, and Superior Orders

https://www.justsecurity.org/163881/germany-ukraine-nord-stream-prosecution/
1•everybodyknows•8m ago•0 comments

A look inside OpenAI's recent Proof of Yang-Mills Existence [video]

https://www.youtube.com/watch?v=s_9sCVqKQjY
1•HotHotLava•16m ago•1 comments

US Land Value Tax Progress in just 2 years

https://substack.com/@reedschwartz/note/c-383850504
1•JimmyBuckets•16m ago•0 comments

AI Quest – Interactive sandboxes for agentic web apps

https://ai-quest.dev/
1•quentinmerle•19m ago•0 comments

The Chinese spy allegation that toppled Nvidia's CEO is starting to look shaky

https://www.businessinsider.com/intelligence-jensen-huang-downfall-shaky-nvidia-china-spy-gpus-20...
4•cpncrunch•19m ago•0 comments

Jensen Huang Resigns After Having Another Affair in Addition to the Chinese Spy

https://thezvi.substack.com/p/jensen-huang-resigns-after-having
1•paulpauper•23m ago•0 comments

Stephen Kovacevich, a Pianist of Quiet Intensity, Has Died

https://www.nytimes.com/2026/11/13/arts/music/stephen-kovacevich-dead.html
2•paulpauper•24m ago•0 comments

Privatize Air Traffic Control, Redux

https://marginalrevolution.com/marginalrevolution/2026/11/privatize-air-traffic-control-redux.html
1•paulpauper•25m ago•0 comments

Nvidia deliberately kept GPU prices high through circular financing deals

https://www.techspot.com/news/114558-nvidia-deliberately-kept-gpu-prices-high-through-circular.html
3•madihaa•27m ago•1 comments

Mainline Linux and blob-free userspace for the Yi 2K Pro WiFi camera

https://github.com/k0tletki/y623-mainline
1•mrrpmepmew•27m ago•0 comments

Are we building multi-agent systems without a proper trust layer?

https://www.sinapsdata.com.br/en
3•sadrk•30m ago•0 comments

How did Woz write the Apple 1 BASIC before building the computer?

https://retrocomputing.stackexchange.com/questions/17957
2•Skyfall106•31m ago•0 comments

Uber's Labor Crash

https://pluralistic.net/2026/11/12/starvation-wages/
3•hn_acker•33m ago•0 comments

Music by Kevin MacLeod

https://incompetech.com/music/royalty-free/music.html
3•sonicrocketman•34m ago•0 comments

Dedicated Nvidia GPU, on Your Mac

https://gpushed.dev/
1•mehfuzh•35m ago•2 comments

Everything is a plugin (to the model context)

https://github.com/deepseek-ai/deepseek-harness
2•emrah•35m ago•0 comments

Mullvad VPN – Privacy is for the people

https://mullvad.net/en
18•doener•40m ago•2 comments

Show HN: Infinite Shaders

https://shaderfrog.com/infinite
1•andrewray•42m ago•0 comments

Show HN: Omnistew - 3D multiplayer RTS inspired by Risk, playable in a browser

https://omnistew.io/
1•omnistew•43m ago•0 comments

US floated idea of Ukraine swapping land for NATO membership, Zelensky says

https://www.cnn.com/2026/11/14/europe/us-ukraine-zelensky-nato-intl
6•MilnerRoute•49m ago•4 comments

EnvOpt: Automated Optimization for Agent Environments

https://bespokelabs.ai/blog/envopt
2•matt_d•51m ago•0 comments

Mechazilla Catches Starship

https://twitter.com/SpaceX/status/2121715216597827756
3•pretext•52m ago•0 comments

Show HN: A throwaway CTF using Node, Ruby, and PHP

https://breakinifyoucan.com/
1•elenchist•52m ago•0 comments

InstantSlate – A native macOS/iOS Markdown editor

https://apps.apple.com/us/app/instantslate/id6828666766
1•seln•55m ago•1 comments