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

Comments

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

The Fundamentals Still Haven't Changed: Typewriters to Tokens

https://bunworkspaces.com/blog/typewriters-to-tokens
1•smorsic•44s ago•1 comments

Discovered This Baby

https://plannex.app/
1•Novakinify•5m ago•0 comments

After 6 months of solo building, I just launched my first SaaS

https://cogitly.com/
1•behnamsherafat•6m ago•0 comments

Hungary and Russia struck 12-point plan for closer ties, documents show

https://www.politico.eu/article/hungary-and-russia-struck-12-point-plan-for-closer-ties-documents...
1•JumpCrisscross•9m ago•0 comments

Free 1700 tailwind blocks. Enjoy

https://opentailwind.dev/
1•babacklindo•11m ago•0 comments

Pydantic-resolve – define relationships once, reuse across REST, GraphQL and MCP

https://allmonday.github.io/pydantic-resolve/
1•tank-34•12m ago•0 comments

OpenAI says its new model GPT-2 is too dangerous to release (2019)

https://slate.com/technology/2019/02/openai-gpt2-text-generating-algorithm-ai-dangerous.html
8•surprisetalk•13m ago•1 comments

US Electricity Price Heat Map

https://electricity.heatmap.news/
1•toomuchtodo•13m ago•2 comments

Financial Information for ICANN

https://www.icann.org/resources/pages/governance/financials-en
1•greyface-•15m ago•0 comments

Show HN: Replaced Neo4j with pure vector search for Graph RAG

https://github.com/zilliztech/vector-graph-rag
1•zhangchen•15m ago•0 comments

Why the Persian Gulf has more oil and gas than anywhere else on Earth

https://theconversation.com/why-the-persian-gulf-has-more-oil-and-gas-than-anywhere-else-on-earth...
1•pseudolus•16m ago•0 comments

Maine Is About to Become the First State to Ban New Data Centers

https://www.wsj.com/us-news/maine-data-center-ban-e768fb18
2•toomuchtodo•17m ago•0 comments

Sam Altman on Building the Future of AI [video]

https://forum.openai.com/public/videos/event-replay-sam-altman-on-building-the-future-of-ai-2026-...
1•erickhill•19m ago•0 comments

Phillips Machine

https://en.wikipedia.org/wiki/Phillips_Machine
2•curio_Pol_curio•23m ago•0 comments

Show HN: Mdstitch – NPM for Markdown Files

https://github.com/tannerjames711/mdstitch
1•tannerjames711•23m ago•0 comments

Bill Phillips used flowing water to model the economy

https://www.npr.org/sections/planet-money/2026/04/07/g-s1-116575/how-bill-phillips-used-flowing-w...
4•curio_Pol_curio•25m ago•0 comments

Visual Hallucinations in Psychedelics vs. Schizophrenia

https://psychedelirium.substack.com/p/pharmacology-vs-pathology-of-altered
1•yenniejun111•34m ago•0 comments

'This Is Just Not How the Human Race Should Operate,' Says US Senator

https://www.commondreams.org/news/chris-murphy-trump-threat
8•hkhn•37m ago•0 comments

OpenSource: Native screen recorder extension for Chrome

https://github.com/mbarlow/chrome-recorder
1•moo-jason•41m ago•1 comments

Larger and more instructable language models become less reliable

https://pmc.ncbi.nlm.nih.gov/articles/PMC11446866/
4•gmays•41m ago•0 comments

America: A Bet Worth Taking If You're Built for It

https://code2net.com/usa
2•xyz_ielh•49m ago•3 comments

Nodepad

https://www.nodepad.space/
2•skogstokig•50m ago•0 comments

Show HN: Arrow – A Simple Airdrop Clone

https://github.com/aabiji/arrow
1•aabiji•51m ago•0 comments

Brands Adopt 'No AI' Disclaimers to Stand Out Amid the Slop

https://www.wsj.com/cmo-today/brands-adopt-no-ai-disclaimers-to-stand-out-amid-the-slop-a92352af
4•bookofjoe•52m ago•2 comments

Insurers' $1T Buildup in Private Credit Is Leaving Regulators in Dust

https://www.wsj.com/finance/regulation/insurers-1-trillion-buildup-in-private-credit-is-leaving-r...
4•petethomas•57m ago•0 comments

Show HN: Redos-analyzer – static ReDoS detection and auto-fix for Python

https://github.com/HarshithReddy01/redos-analyzer
1•kingkongsatan•57m ago•0 comments

Artemis delivers some exceptional, high-quality photos of the Moon

https://arstechnica.com/space/2026/04/the-artemis-ii-mission-sends-back-stunning-images-of-the-fa...
5•jonbaer•58m ago•1 comments

InstaMed – Oral Dissolving Peptides with InstaRelease Technology

https://store.getinstamed.com/
1•evo_9•59m ago•0 comments

RNA barcodes enable high-speed mapping of connections in the brain

https://news.illinois.edu/rna-barcodes-enable-high-speed-mapping-of-connections-in-the-brain/
1•geox•1h ago•0 comments

He designed C++ to solve your code problems

https://stackoverflow.blog/2026/04/07/he-designed-c-to-solve-your-code-problems/
2•chrisaycock•1h ago•0 comments