frontpage.
newsnewestaskshowjobs

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•1y ago

Comments

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

Project Brain2.0–curated project memory for ClaudeCode(+ any file-reading agent)

https://github.com/login
1•Slav_fixflex•1m ago•0 comments

Show HN: I built a WebAudio editor that coding agents can drive

https://audio.awsm.fun
1•dakom•1m ago•0 comments

World’s first crewed solid-state flight electrifies aviation's future

https://newatlas.com/aircraft/helios-horizon-first-crewed-solid-state-flight-aviation/
1•breve•2m ago•0 comments

Jjc: Non-interactive hunk-level operations for Jujutsu

https://tangled.org/akashina.tngl.sh/jjc
2•birdculture•5m ago•0 comments

Suunto Spark Review: The Perfect Pair for Runs and Rides

https://www.wired.com/review/suunto-spark/
1•joozio•5m ago•0 comments

Stack on a Budget (Free Tier Driven Development FTDD)

https://github.com/255kb/stack-on-a-budget
1•gslin•11m ago•0 comments

Does MSG Make Food Taste Better? [video]

https://www.youtube.com/watch?v=RCa43F2NQnY
1•Cider9986•12m ago•0 comments

UK police officer under criminal investigation over alleged use of AI

https://www.ft.com/content/514bab88-788c-4d48-a140-03597860bdb6
3•scrlk•13m ago•1 comments

Home Opus: Local Deployment of Frontier AI Weights (Post-Fable 5 Ban)

https://github.com/zanirou/home-opus-whitepaper
1•Zanirou•14m ago•0 comments

Relativity for Retired Engineers

https://arxiv.org/abs/2605.21660
1•raattgift•15m ago•0 comments

Silent but Deadly: Welrod Mk IIA

https://www.youtube.com/watch?v=d12AjvEsaHg
1•chistev•17m ago•0 comments

Free tool to download any YouTube video from inside YouTube itself

https://www.youtubexx.com/
1•freeinvoiceflow•19m ago•0 comments

Humans will soon be able to spend longer in space

https://www.telegraph.co.uk/news/2026/06/13/nasa-humans-spend-longer-in-space/
1•wjb3•21m ago•0 comments

There Is a Fake Job Scam Targeting Developers on Reddit

https://old.reddit.com/r/webdev/comments/1u5c2e9/there_is_a_fake_job_scam_targeting_developers_on/
1•speckx•21m ago•0 comments

Show HN: Wunjo Design as a browser vector editor with Git-style version control

https://wunjo.online/design
1•wladradchenko•22m ago•1 comments

Of Termites and Tokens

https://tomcritchlow.com/2026/06/08/termites-tokens/
1•kiyanwang•22m ago•0 comments

Wordsworth Way

https://www.ullswaterheritage.org/wordsworth-way
1•jruohonen•30m ago•0 comments

ContinuumNexus – Simple API monitoring with email alerts

https://continuumnexus.com/
1•fldivrus•30m ago•0 comments

Switching from Kagi Search to Uruky

https://rewiring.bearblog.dev/kagi-to-uruky/
1•Mossy9•32m ago•0 comments

Ask HN: Why does Deno Deploy block /wp-content?

1•tisizi•34m ago•2 comments

Post-Quantum Attestation in Production:Long-Lived Record Integrity – AffixIO

https://www.affix-io.com/whitepapers/post-quantum-attestation/
1•affixio•36m ago•0 comments

When asking for a date, aim for no

https://talk.bradwoods.io/blog/aim-for-no
1•bradwoodsio•39m ago•0 comments

ADHD Burnout vs. Normal Burnout: Why Rest Alone Doesn't Fix It

https://www.adhdwithsofia.com/blog/adhd-burnout-vs-normal-burnout-why-rest-alone-doesnt-fix-it
1•MelloS•48m ago•3 comments

Docfai.app is launched Get your 7 day free trial

https://docfai.app/features/
1•julien_base31•52m ago•1 comments

A Quick Primer on DuckDB, S3, and Plotly Studio

https://chris-parmer.com/duckdb-s3-and-plotly/
1•chriddyp•53m ago•0 comments

Oracle is reducing their free tier quota from 15th june

https://docs.oracle.com/en-us/iaas/Content/FreeTier/freetier_topic-Always_Free_Resources.htm
4•sairam_h•54m ago•9 comments

Crypto Platforms Sold Users on SpaceX IPO. The Tokenized Stocks Never Arrived

https://gizmodo.com/crypto-platforms-sold-users-on-spacex-ipo-access-the-tokenized-stocks-never-a...
1•giuliomagnifico•56m ago•0 comments

Mag 7? MANGOS? SpaceX forces name rethink on Wall Street's tech-stock moniker

https://www.reuters.com/legal/transactional/mag-7-mangos-spacex-forces-name-rethink-wall-streets-...
1•1vuio0pswjnm7•1h ago•0 comments

SpaceX Rented Out Computing After Own Teams Had Trouble Using It

https://www.bloomberg.com/news/articles/2026-06-12/spacex-rented-out-computing-after-own-teams-ha...
2•1vuio0pswjnm7•1h ago•0 comments

30 years of OpenBSD development, visualized

https://www.visualsource.net/watch/94d078dd-2a47-40e5-aaca-20b69b5f6af2
2•pro_methe5•1h ago•0 comments