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.

Armed neighbor of school tests limits of Montana's lenient gun laws

https://www.washingtonpost.com/nation/2026/11/28/armed-man-patrolling-next-elementary-school-test...
1•mikhael•3m ago•0 comments

Newsavista (news aggregator) now deeply integrates with HN

https://newsavista.com/invite/ASAD68923E
1•cbeach•7m ago•1 comments

Lua as a Query Language

https://remy.wang/blog/lua-ql.html
1•remywang•8m ago•0 comments

Redact Docs: A Tunable, Local PII Scrubber

https://www.rickmanelius.com/p/redact-docs-a-tunable-local-pii-scrubber
1•mooreds•9m ago•0 comments

A World Without Youth: The Economics of a Shrinking World [video]

https://www.youtube.com/watch?v=BVtxv566UCQ
1•mooreds•10m ago•0 comments

The Camera Caps Kenyans Are Paid to Wear While Going About Daily Lives

https://www.tuko.co.ke/people/family/647605-nairobi-mysterious-camera-caps-kenyans-paid-wear-dail...
2•gnabgib•14m ago•0 comments

Hackers are exploiting Africa's digital identities

https://www.economist.com/middle-east-and-africa/2026/11/03/hackers-are-exploiting-africas-digita...
1•mooreds•17m ago•0 comments

ChatGPT plugin: Podcast Search and Transcription

https://chatgpt.com/plugins/plugin_asdk_app_6aecd9304b88819193ae95e7f9bcd92b
2•wenbin•18m ago•0 comments

Spyware posing as an Italian Interior Ministry app targeted asylum seekers

https://www.irpimedia.eu/en/spyware-posing-as-an-italian-interior-ministry-app-targeted-asylum-se...
1•DeepLogin•18m ago•0 comments

Patients sue surgeons over 'smart' knees implanted without consent

https://www.beckersspine.com/orthopedic/2-patients-sue-surgeons-over-smart-knees-implanted-withou...
3•ourmandave•19m ago•1 comments

Knight's Tour Chess Poster

https://chessposter.com
1•siglesias•19m ago•0 comments

Show HN: CircuitMill – web-based tool for PCB milling

https://circuitmill.com/en/
1•k1zmt•20m ago•0 comments

Dare I say the most feature-complete auth library for Go?

https://github.com/Plain-Org/plain-auth
1•NabilSince•21m ago•2 comments

"Self driving" Lidar domes now a status symbol in China, fakes for sale

https://carnewschina.com/2026/11/27/self-driving-lidar-domes-now-a-status-symbol-in-china-as-1-us...
3•edward•21m ago•0 comments

Prefill awareness: can LLMs tell when "their" message history has been modified?

https://www.alignmentforum.org/posts/jsFGuXDMxy5NZg9T2/prefill-awareness-can-llms-tell-when-their...
2•Aachen•23m ago•1 comments

Show HN: Agent HR Report – your coding agents file a complaint about you

https://github.com/loayabdalslam/HR-AGENT
1•loaiabdalslam•24m ago•0 comments

Life in Lists

https://mydecembers.com
1•polycycle•24m ago•0 comments

Ask HN: If you're not on Meta services, How do you share photos and updates?

1•Dathfionn•25m ago•1 comments

Notes on Bill Gates' "Internet Tidal Wave" Memo

https://dev.niceasthis.com/tablehub/read/?id=gates1995tidal
1•firasd•30m ago•1 comments

Show HN: GameFound – a catalogue of 375k games on Blazor Server and one VPS

https://game-found.com/
2•game-found•33m ago•0 comments

Florida Man Gets 47 Months for AI Streamer Impersonation Crypto Scam

https://www.justice.gov/usao-sdfl/pr/port-st-lucie-man-sentenced-47-months-prison-using-ai-impers...
2•gnabgib•35m ago•1 comments

TSMC's A14 1.4nm-class node is ready for chip design

https://www.tomshardware.com/tech-industry/semiconductors/tsmcs-a14-1-4nm-class-node-is-ready-for...
2•gmays•35m ago•0 comments

'Smart' Implants Are Driving Up Costs – Even When Patients Don't Ask for Them

https://kffhealthnews.org/health-industry/smart-joint-implants-knees-health-costs-patients-surpri...
1•dzdt•38m ago•0 comments

Government tech systems are failing – and Trump fired the tech experts

https://thehill.com/opinion/cybersecurity/6232948-gov-outages-staffing-crisis/
7•gnabgib•42m ago•0 comments

A public test corpus of synthetic email

https://github.com/postalsys/synthetic-email-corpus
1•andris9•44m ago•0 comments

Which insider-trading signals work? 21 rules tested on 2012–2018, then 2019–2025

https://arkanumdata.com/research/framework
1•arkanumdata•45m ago•1 comments

Show HN: Receiving End Game that tries to simulate what singularity feels like

https://reg.dendroids.com
2•dendroids•49m ago•0 comments

Philadelphia Experiment

https://www.history.navy.mil/research/library/online-reading-room/title-list-alphabetically/p/phi...
1•mindcrime•49m ago•0 comments

Salesforce: Turning a Freescale Dev Board into a Macintosh

https://bbenchoff.com/pages/Salesforce.html
1•HotGarbage•51m ago•0 comments

Emu68 Hatcher: Build ready-to-run SD cards with pre-configured Workbenchs

https://github.com/rootrootde/emu68-hatcher
2•doener•57m ago•0 comments