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

Comments

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

Skip the todo – just write the prompt

https://zoputer.substack.com/p/skip-the-todo-just-write-the-prompt
1•erhuve•55s ago•0 comments

D-Wave Makes Gate-Model Power Move with Quantum Circuits Buy

https://www.nextplatform.com/2026/01/07/d-wave-makes-gate-model-power-move-with-quantum-circuits-...
1•rbanffy•1m ago•0 comments

Brew-vulns: CVE scanning for Homebrew

https://nesbitt.io/2026/01/08/brew-vulns-cve-scanning-for-homebrew.html
1•chmaynard•2m ago•0 comments

Scaling for Billions of Records: Sub-50ms Analytics with Elasticsearch

https://manuel.friger.io/blog/sub-50ms-analytics-how-we-scaled-reporting-for-billions-of-records/
1•Mnlfrgr•4m ago•0 comments

Simulate Buyer Personas: The Focus Group for Growth !!!

https://blog.vect.pro/simulate-buyer-persona-guide
1•WoWSaaS•4m ago•1 comments

Jet-validators is now the fastest non- compiled schema validation library

https://moltar.github.io/typescript-runtime-type-benchmarks/
1•spmaxwell7•7m ago•0 comments

Yearly Recap Insights for Google/Outlook Calendar

https://actordo.com/calendar-app-calendar-insights/
1•websku•7m ago•0 comments

The golden age of vaccine development

https://worksinprogress.co/issue/the-golden-age-of-vaccine-development/
1•ortegaygasset•7m ago•0 comments

Using unstructured data to fuel enterprise AI success

https://www.technologyreview.com/2026/01/08/1129506/using-unstructured-data-to-fuel-enterprise-ai...
1•fleahunter•7m ago•0 comments

Problems in the Theory of Ideology, by Joseph Heath [pdf]

https://induecourse.utoronto.ca/wp-content/uploads/2014/12/piti.pdf
1•lordleft•8m ago•0 comments

Join viewers worldwide for an unprecedented live experience

https://the-event.one
1•cranberryturkey•9m ago•0 comments

Gmail is entering the Gemini Era

https://blog.google/products-and-platforms/products/gmail/gmail-is-entering-the-gemini-era/
2•xnx•9m ago•1 comments

The data center rebellion is here, and it's reshaping the political landscape

https://www.washingtonpost.com/business/2026/01/06/data-centers-backlash-impact-local-communities...
1•1vuio0pswjnm7•10m ago•0 comments

Show HN: High deterministic real time in Python with copy and patch compiler

https://copapy.nonan.net
1•Saloc•11m ago•0 comments

Why most AI-generated content fails before it's published (how I test resonance)

https://blog.vect.pro/resonance-engine-guide
1•MMAFRAZ•11m ago•0 comments

Multithreading in PHP: Looking to the Future

https://medium.com/@edmond.ht/multithreading-in-php-looking-to-the-future-4f42a48e47fe
1•speckx•12m ago•0 comments

OpenAI putting bandaids on bandaids as prompt injection problems keep festering

https://www.theregister.com/2026/01/08/openai_chatgpt_prompt_injection/
1•_____k•13m ago•0 comments

Show HN: DeepDream for Video with Temporal Consistency

https://github.com/jeremicna/deepdream-video-pytorch
2•fruitbarrel•13m ago•0 comments

The Valley of the Shadow of Death (2008)

https://www.texasmonthly.com/true-crime/the-valley-of-the-shadow-of-death/
1•Tomte•13m ago•0 comments

Microsoft reshuffles teams to bolster GitHub as AI coding and agent wars heat up

https://www.businessinsider.com/microsoft-github-reshuffle-ai-coding-agents-2026-1
1•_____k•16m ago•0 comments

The Looting of US Foreign Policy

https://paulkrugman.substack.com/p/the-looting-of-us-foreign-policy
2•rbanffy•17m ago•0 comments

Using DistributedDataParallel to train a base model from scratch in the cloud

https://www.gilesthomas.com/2026/01/llm-from-scratch-29-ddp-training-a-base-model-in-the-cloud
1•ibobev•20m ago•0 comments

Migrating from Parcel to Vite

https://code.movie/blog/website-update-moving-from-parcel-to-vite.html
1•sir_pepe•21m ago•0 comments

LimeSDR Micro: An open M.2 and mPCIe software-defined radio

https://www.crowdsupply.com/lime-micro/limesdr-micro
1•ibobev•21m ago•0 comments

Show HN: A marketplace for indie ad spots

https://adventory.to
1•ugo_builds•21m ago•0 comments

Show HN: Video recordings turned with AI to slides ready for presentations

https://notefy.pro/
1•jimmydin7•22m ago•0 comments

Show HN: Plagiarismremover.ai – plagiarism remover focused on formatting

https://plagiarismremover.ai/
1•PlagiarismRem•23m ago•0 comments

Shortages Cause Sky-Rocketing RAM Prices

https://www.goto10retro.com/p/shortages-cause-sky-rocketing-ram
1•ibobev•24m ago•0 comments

How Did TVs Get So Cheap?

https://www.construction-physics.com/p/how-did-tvs-get-so-cheap
5•thelastgallon•24m ago•1 comments

NASA considers evacuating ailing crew member from International Space Station

https://arstechnica.com/space/2026/01/nasa-postpones-space-station-spacewalk-due-to-crew-members-...
1•falcor84•26m ago•0 comments