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.

Musician says AI company is cloning her music, filing claims against her

https://twitter.com/i/status/2040577536136974444
1•lando2319•54s ago•0 comments

Emilia Britannia (public domain freedom mascot)

https://github.com/Joy-less/EmiliaBritannia
2•Joy-less•1m ago•0 comments

Show HN: RPLY - one Inbox for iMessage, WhatsApp, Slack, and Gmail on macOS

https://www.heynox.com
2•mcantillon•7m ago•2 comments

Track what top investors own (13F) and why they own it (10K AI Analysis)

https://superinvestorsbelike.com
3•oodelally•8m ago•0 comments

Framework? I sure hope it does

https://blog.valknight.xyz/framebroken.html
1•coinfused•13m ago•0 comments

Artemis II Tracker – Live Mission Control

https://artemis.cdnspace.ca/
1•rbanffy•14m ago•0 comments

Days Since OpenClaw CVE

https://days-since-openclaw-cve.com/
1•verandaguy•17m ago•0 comments

Show HN: MailMark – Cold email tool where you own your domain and mailboxes

1•debasishbarai•18m ago•1 comments

Show HN: Arbory – Native iOS dashboard and widgets for Plausible Analytics

https://arbory.io/
2•jorijn•24m ago•0 comments

An elegant Pomodoro timer for your terminal

https://github.com/kaushalvivek/pom
1•kaushalvivek•25m ago•0 comments

/Render – 3D Model Skill for Claude Code

https://github.com/mfranzon/render
3•mfranzon•27m ago•0 comments

Can We Measure Software Slop? An Experiment

https://pscanf.com/s/352/
1•RohanAdwankar•28m ago•0 comments

Chinese Chip Firms Hit Record High Revenue Driven by the AI Boom and U.S. Curbs

https://www.cnbc.com/2026/04/03/chinese-chip-firms-record-revenue-ai-boom-us-curbs.html
1•karakoram•29m ago•0 comments

Why Your Engineering Team Is Slow (It's the Codebase, Not the People)

https://piechowski.io/post/codebase-drag-audit/
2•BerislavLopac•30m ago•0 comments

Journalist detained for booing Trump at Kennedy Center Chicago performance

https://www.advocate.com/news/kennedy-center-journalist-detained-trump
5•wahnfrieden•30m ago•0 comments

Securing AI infrastructure to prevent backdoors and sabotage

https://www.the-substrate.net/p/securing-ai-infrastructure-to-prevent
2•erwald•33m ago•0 comments

Code Is Worthless

https://nathanielfishel.substack.com/p/your-code-is-worthless
1•birdculture•33m ago•0 comments

YAML is (not) my preferred configuration format

https://belkadan.com/blog/2026/03/YAML-Is-Not-My-Preferred-Configuration-Format/
3•frizlab•35m ago•0 comments

Eggplant

https://xn--gi8h42h.ws/
1•memalign•37m ago•1 comments

Look Back on Some of Apple's Forgotten Legacies at 50 Years

https://spectrum.ieee.org/apple-50th-anniversary
1•pseudolus•38m ago•0 comments

Port of LA turns to electric terminal trucks to to slash dwell times

https://electrek.co/2026/04/04/port-of-la-turns-to-electric-terminal-trucks-to-to-slash-dwell-times/
2•toomuchtodo•40m ago•0 comments

Ask HN: I don't get why Anthropic is limiting usage

2•ud0•41m ago•4 comments

DPRK Malware Modularity: Diversity and Functional Specialization

https://dti.domaintools.com/research/dprk-malware-modularity-diversity-and-functional-specialization
1•campuscodi•42m ago•0 comments

Satellite firm Planet Labs to indefinitely withold Iran war imagery

https://www.reuters.com/business/media-telecom/satellite-firm-planet-labs-indefinitely-withhold-i...
2•anigbrowl•43m ago•0 comments

The Triumph of the Embryo: Some Thoughts on Lewis Wolpert's Embryology Book

https://chillphysicsenjoyer.substack.com/p/the-triumph-of-the-embryo
1•crescit_eundo•45m ago•0 comments

An open source CLI for saving your X / Twitter bookmarks locally

https://www.fieldtheory.dev/cli/
1•afar•45m ago•0 comments

Your developer environment needs a CLI

https://stanislav.blog/your-devenv-needs-a-cli/
1•spanferov•48m ago•0 comments

Good APIs Age Slowly

https://yusufaytas.com/good-apis-age-slowly/
11•karakoram•49m ago•1 comments

Slow Software

https://www.inkandswitch.com/slow-software/
1•leephillips•50m ago•0 comments

Way to protect your phone from a warrantless search in 2026

https://www.zdnet.com/article/how-to-protect-your-phone-from-warrantless-search/
1•ohjeez•51m ago•0 comments