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•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.

The potential sources of a low-frequency sound that only a few can perceive

https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0326818
1•bookofjoe•34s ago•0 comments

The Terminal, the TTY, and the Shell

https://lfg.popovicu.com/series/the-shell-as-a-language/terminal-tty-and-shell/
1•janvdberg•52s ago•0 comments

Meta Added Face-Recognition Code for Its Smart Glasses to Phones

https://www.wired.com/story/meta-smart-glasses-face-recognition-nametag-connections/
1•cdrnsf•2m ago•0 comments

What we learned shipping VS Code weekly (without breaking everything)

https://build.microsoft.com/en-US/sessions/BRK204
1•annjose•3m ago•0 comments

Meta's ships facial recognition on smart glasses

https://www.buchodi.com/meta-glasses-facial-recognition/
2•buchodi•3m ago•0 comments

Entropy – A habit tracker built on a thermodynamics metaphor (iOS)

https://apps.apple.com/us/app/habit-tracker-entropy/id6770117288
1•apparenelle•3m ago•0 comments

Google's Gemini App Is Native, in a Google Way, but Annoyingly Presumptuous

https://daringfireball.net/linked/2026/06/04/google-gemini-mac
1•frizlab•4m ago•0 comments

How I Use LLMs?

https://pauldambra.dev/2026/06/how-i-use-llms-5.html
1•speckx•6m ago•0 comments

Words do not have determined meanings

1•spacebacon•6m ago•0 comments

Spherify – convert stereo masters into editable object-based spatial audio

https://sonusimmersivus.com/products/spherify
1•bulyaki•6m ago•0 comments

"80% of the economic value of LLMs come from 20% of the tokens"

https://xcancel.com/PeterBerezinBCA/status/2062498419478782163
2•somic•6m ago•0 comments

wolfSSL Announcing wolfCOSE: COSE on FIPS-Validated WolfCrypt

https://www.wolfssl.com/wolfcose-cbor-and-cose-on-fips-validated-wolfcrypt-announcing-wolfcose-fo...
1•aidangarske•8m ago•0 comments

Code Is Cheap(er)

https://htmx.org/essays/code-is-cheap/
1•unindented•9m ago•0 comments

Show HN: Review-oriented DOCX extraction toolkit for Rust

https://github.com/artemnistuley/docx-review
1•nistuley•9m ago•0 comments

Enterprises start questioning the return on AI investments

https://www.youtube.com/watch?v=Rn_UpO68WVU
2•root-parent•10m ago•1 comments

How Long Does It Take for a QQuickItem to Become Visible?

https://www.kdab.com/how-long-does-it-take-for-an-item-to-become-visible/
1•jandeboevrie•10m ago•0 comments

Claude -p drop-in replacement after Jun 15th

https://github.com/desplega-ai/claude-bridge
1•tarasyarema•12m ago•1 comments

Show HN: Nexus, ask AI about sensitive spreadsheets locally

https://github.com/scottshapiro142/nexuscli
1•scottbuilds•12m ago•0 comments

Open Letter to President of Russian Federation from President of Ukraine

https://www.president.gov.ua/en/news/vidkritij-list-prezidentu-rosijskoyi-federaciyi-vid-preziden...
3•defly•12m ago•1 comments

Show HN: Digger Solo – Local AI File Explorer

https://solo.digger.lol
1•sean_pedersen•14m ago•0 comments

Codex for Everything Exfiltrates Connected Data

https://www.promptarmor.com/resources/codex-for-everything-exfiltrates-connected-data
1•ILOVEZOA•14m ago•0 comments

Rayfin, Back end-as-a-Service (BaaS) platform built for the agentic era

https://github.com/microsoft/rayfin
1•vampiregrey•15m ago•0 comments

"Hi" Is Home Improvement, Not Hawaii

https://www.definite.app/blog/ontology-ai-analytics
1•mritchie712•15m ago•1 comments

Cable lobby warns of chaos if FCC doesn't relax ban on foreign routers

https://arstechnica.com/tech-policy/2026/06/cable-lobby-warns-of-chaos-if-fcc-doesnt-relax-ban-on...
1•stalfosknight•15m ago•0 comments

Machines Don't Press Play

https://spiraldb.com/deep-dives/video
9•weatherreport•15m ago•1 comments

Thieves are targeting the copper. This phone company is fighting back

https://www.npr.org/2026/06/03/nx-s1-5838875/copper-wire-theft-att-lawsuit
1•bryan0•16m ago•0 comments

AutoLab: Can Frontier Models Solve Long-Horizon Auto Research Engineering Tasks?

https://arxiv.org/abs/2606.05080
1•Anon84•17m ago•0 comments

LLM-Guided Runtime Parameter Optimization for Energy-Efficient Model Inference

https://arxiv.org/abs/2604.27032
1•PaulHoule•18m ago•0 comments

The Biggest Tell That Something Was Written by AI

https://www.theatlantic.com/technology/2026/05/how-to-tell-ai-writing/687345/
1•andrewstuart•18m ago•0 comments

The Cloud Circle – earn rewards on your AWS, GCP, and Azure spend

https://thecloudcircle.io/
1•americosjr•18m ago•0 comments