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.

A new Postcrossing stamp from the USA

https://www.postcrossing.com/blog/2026/03/31/a-new-postcrossing-stamp-from-the-usa
1•Tomte•1m ago•0 comments

New digital hall passes track bathroom breaks, gather data in NYC schools

https://gothamist.com/news/new-digital-hall-passes-track-bathroom-breaks-gather-data-in-nyc-schools
1•gnabgib•6m ago•0 comments

Show HN: Mrg – Clean miscellaneous files created by macOS

https://github.com/ilotoki0804/mrg
1•ilotoki0804•6m ago•0 comments

Review into mental health conditions, ADHD and autism: interim report

https://www.gov.uk/government/publications/independent-review-into-mental-health-conditions-adhd-...
1•irickt•7m ago•1 comments

New microwave frying technique could make French fries much healthier

https://www.sciencedaily.com/releases/2026/04/260402042803.htm
3•AdmiralAsshat•7m ago•0 comments

Show HN: Run Claude Code autonomously inside your Docker Compose stack (OSS)

https://github.com/sayil/dangerously
2•sayil•7m ago•0 comments

DiscoDB – Relational database stored 100% in a Discord guild

https://github.com/lasect/discodb
1•jedeusus•9m ago•0 comments

Staff SWE and Staff DS Roles at Pomelo Care

https://www.pomelocare.com/
1•liaskevofilax•10m ago•0 comments

We Built a Language for AI Pipelines

https://2389.ai/posts/why-we-built-a-language-for-ai-pipelines/
1•harper•11m ago•0 comments

Show HN: Large scale hallucinated citation problem in published literature

https://www.nature.com/articles/d41586-026-00969-z
1•cyclecycle•12m ago•0 comments

Tcpdump Is the Network Debugging Tool You Should Have Learned Years Ago

https://keninkujovic.com/blog/tcpdump
2•speckx•12m ago•0 comments

Web 0.1 (2006)

https://thedailywtf.com/articles/web_0_0x2e_1
1•LorenDB•14m ago•0 comments

Stolen KitKat Tracker

https://nestlecorporate.qualifioapp.com/quiz/1776864_2455/CDCG-KITKAT-STOLEN-FORM.html
2•haunter•14m ago•0 comments

Rio Terminal v0.3.0 Released

https://github.com/raphamorim/rio/releases/tag/v0.3.0
1•bobdylanswe•21m ago•0 comments

I saved a doomed Windows laptop by embracing Linux

https://www.theverge.com/tech/905946/windows-11-forced-obsolescence-linux-thinkpad
4•mariuz•22m ago•0 comments

Show HN: Arxitect – Agentic Plugin for Architecture and Design Patterns

https://github.com/andonimichael/arxitect
2•iamandoni•24m ago•0 comments

Colorado's New Speed Camera System Makes Waze Nearly Useless

https://www.motor1.com/news/792050/colorado-automated-speed-limit-cameras/
5•c420•24m ago•1 comments

Chip-scale optical wireless system hits 362 Gbps at half the energy of Wi-Fi

https://www.spiedigitallibrary.org/journals/advanced-photonics-nexus/volume-5/issue-02/026018/Chi...
4•prabal97•26m ago•0 comments

Bid to name a street in San Francisco

https://paintastreet.com/auction
1•akalin•28m ago•0 comments

Breaking Down the Cerebras Wafer Scale Engine

https://wafer.substack.com/p/breaking-down-the-cerebras-wafer
1•matt_d•29m ago•0 comments

Why Artemis 2 is going to the moon – and what NASA hopes to find

https://www.telegraph.co.uk/news/2026/04/02/nasa-hopes-secret-to-life-on-earth-on-dark-side-of-moon/
2•Stratoscope•30m ago•1 comments

Show HN: Simple Audio Sweeper

https://github.com/PJDude/sas
1•pjdude•30m ago•0 comments

Artemis II crew take 'spectacular' image of Earth

https://www.bbc.com/news/articles/ce8jzr423p9o
2•andsoitis•30m ago•1 comments

JSONata Comes to ColdFusion: Query and Transform JSON Like a Pro

https://www.mycfml.com/articles/jsonata-comes-to-coldfusion-query-and-transform-json-like-a-pro/
1•rmason•34m ago•0 comments

Show HN: A memory layer for AI agents that organizes itself

2•srisanth_temprl•34m ago•0 comments

Fun with CSF firmware RK3588 GPU firmware

https://thepixelspulse.com/posts/fun-with-csf-firmware-rk3588-gpu-firmware/
3•mfilion•35m ago•0 comments

The need for better compiler frontend benchmarks: Carbon's benchmarking approach

https://discourse.llvm.org/t/the-need-for-better-frontend-benchmarks/90257
1•matt_d•36m ago•0 comments

Do All Languages Cost the Same? Tokenization in the Era of Commercial LLMs

https://arxiv.org/abs/2305.13707
1•Anon84•37m ago•0 comments

Metal Gear Solid V – Graphics Study

https://www.adriancourreges.com/blog/2017/12/15/mgs-v-graphics-study/
5•aggrrrh•38m ago•0 comments

PIGuard: Prompt Injection Guardrail via Mitigating Overdefense for Free

https://injecguard.github.io/
3•mettamage•39m ago•0 comments