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

Comments

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

Intel appoints noted technologist Dr. Craig Barratt as Board achair

https://www.intc.com/news-events/press-releases/detail/1762/intel-board-chair-frank-d-yeary-to-re...
1•osnium123•3m ago•1 comments

OpenAI is developing alternative to Microsoft's GitHub

https://www.reuters.com/business/openai-is-developing-alternative-microsofts-github-information-r...
2•0in•5m ago•0 comments

Scaling up enhanced rock weathering for equitable climate change mitigation

https://www.nature.com/articles/s44458-026-00034-w
1•PaulHoule•5m ago•0 comments

Sam Altman says OpenAI is renegotiating Pentagon 'opportunistic and sloppy' deal

https://fortune.com/2026/03/03/sam-altman-openai-pentagon-renegotiating-deal-anthropic/
1•jacquesm•6m ago•0 comments

Show HN: I built a human rights evaluator for HN (content vs. site behavior)

https://observatory.unratified.org
2•9wzYQbTYsAIc•6m ago•2 comments

The Supreme Court doesn't care if you want to copyright your AI-generated art

https://www.engadget.com/ai/the-supreme-court-doesnt-care-if-you-want-to-copyright-your-ai-genera...
1•latexr•8m ago•0 comments

Google Chrome switches to two-week release cycle

https://developer.chrome.com/blog/chrome-two-week-release
1•mkurz•10m ago•0 comments

ChatGPT Health 'under-triaged' half of medical emergencies in a new study

https://www.nbcnews.com/health/health-news/chatgpt-health-under-triaged-half-medical-emergencies-...
1•0in•12m ago•0 comments

Universal-3 Pro Streaming

https://www.assemblyai.com/universal-3-pro-streaming
1•handfuloflight•15m ago•0 comments

Show HN: Dracula-AI – A lightweight, async SQLite-backed Gemini wrapper

https://github.com/suleymanibis0/dracula
1•suleymanibis•16m ago•0 comments

Show HN: Sovereign Trace Stamp – Frozen triple-time cryptographic timestamp

https://github.com/AionSystem/AION-BRAIN/tree/main/projects/sovereign-trace
1•sheldonksalmon•19m ago•0 comments

Cancel ChatGPT AI boycott surges after OpenAI pentagon military deal

https://www.euronews.com/next/2026/03/02/cancel-chatgpt-ai-boycott-surges-after-openai-pentagon-m...
8•nothrowaways•22m ago•0 comments

Show HN: Demarkus – De-centralized Markup for Us:memory for AI agents and humans

https://github.com/latebit-io/demarkus
1•ontehfritz•25m ago•0 comments

Quantifying the Swiss Marriage Tax

https://gendx.dev/blog/2026/03/02/swiss-marriage-tax.html
1•birdculture•27m ago•0 comments

Migrating 11,000 JavaScript files to TypeScript over 7 years at Patreon

https://www.patreon.com/posts/seven-years-to-typescript-152144830
2•satvikpendem•28m ago•0 comments

Engineering over Enforcement (2023)

https://www.contraption.co/engineering-over-enforcement/
1•mooreds•29m ago•0 comments

The jellyfish knows how to survive uncertain times

https://herbertlui.net/the-jellyfish-knows-how-to-survive-uncertain-times/
1•herbertl•31m ago•0 comments

Obama is right about aliens

https://www.doomsdayscenario.co/p/obama-is-right-about-aliens
1•mooreds•34m ago•0 comments

Life in the Endless Scroll: What We're Losing

https://www.medscape.com/viewarticle/life-endless-scroll-what-were-losing-2026a10005od
2•wjb3•34m ago•0 comments

Zen of AI Coding

https://nonstructured.com/zen-of-ai-coding/
2•vinhnx•34m ago•0 comments

Intent-Based Access Control (IBAC) – FGA for AI Agent Permissions

https://ibac.dev
1•ERROR_0x06•35m ago•0 comments

Moving to 199-day validity for public TLS certificates

https://knowledge.digicert.com/alerts/public-tls-certificates-199-day-validity
1•thread_id•38m ago•0 comments

The Wealth of Wall Street with Oren Cass [video]

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

Eurosky.social accounts – launching early February

https://www.eurosky.tech/register
2•doener•40m ago•0 comments

Spain says we have the necessary resources to contain US trade embargo

https://www.marketscreener.com/news/spanish-government-on-trump-threat-to-cut-trade-we-have-the-n...
4•rguiscard•40m ago•2 comments

Four Decades of Inquiry into the Genetic Bases of Specific Reading Disability

https://pubs.asha.org/doi/epdf/10.1044/2025_JSLHR-25-00050
2•wjb3•40m ago•0 comments

Show HN: Finqual – Free SEC-based API for fundamentals, insider and 13F data

https://finqual.app/
1•myztika•41m ago•0 comments

Reverse engineering "Hello World" in QuickBASIC 3.0

https://marnetto.net/2026/03/01/brun-hello-world
1•avadodin•41m ago•0 comments

Ask HN: Are you running a free product (pre-revenue)?

1•LeanVibe•42m ago•0 comments

Interactive Fiction Theory and Criticism

https://the-rosebush.com/
1•agnishom•42m ago•0 comments