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

Comments

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

Mapping out the hidden mechanics behind why some fads spread like wildfire

https://phys.org/news/2025-11-hidden-mechanics-fads-wildfire.html
1•PaulHoule•1m ago•0 comments

UI Finesse Playbook

https://github.com/jshmllr/ui-finesse-playbook
1•triphoppin•1m ago•0 comments

Model Evals Can Fix Education

https://sibylline.dev/articles/2025-12-31-how-agent-evals-can-fix-education/
1•CuriouslyC•2m ago•0 comments

Ask HN: What if social media was mapped on to a globe?

1•anon_anon12•3m ago•0 comments

Ask HN: How does one scrape a website?

1•terry_hc•4m ago•0 comments

America's fight back against China starts in Los Angeles

https://www.economist.com/christmas-specials/2025/12/18/americas-fight-back-against-china-starts-...
2•andsoitis•6m ago•0 comments

The Next Thing Will Not Be Big

https://blog.glyph.im/2026/01/the-next-thing-will-not-be-big.html
1•vortex_ape•7m ago•0 comments

Pebble Round 2 – The Most Stylish Pebble Ever

https://repebble.com/blog/pebble-round-2-the-most-stylish-pebble-ever
3•jackwilsdon•7m ago•0 comments

Show HN: Ultrasync – faster indexing, search, memory, and more for coding agents

https://ultrasync.dev
1•darvid•7m ago•0 comments

IPv6 just turned 30 and still hasn't taken over the world

https://www.theregister.com/2025/12/31/ipv6_at_30/
1•Brajeshwar•8m ago•0 comments

Chemical-Hygiene

https://karpathy.bearblog.dev/chemical-hygiene/
1•varunr89•9m ago•0 comments

So Long, GPT-5. Hello, Qwen

https://www.wired.com/story/expired-tired-wired-gpt-5/
1•voxleone•10m ago•0 comments

First new motion sickness drug arrives after nearly half a century

https://newatlas.com/disease/first-motion-sickness-drug/
2•Brajeshwar•11m ago•0 comments

Stranger Things 5 Finale Ending Explained

https://www.netflix.com/tudum/articles/stranger-things-5-episode-8-ending-explained
2•HelloUsername•17m ago•1 comments

Bees – Best-Effort Extent-Same, a btrfs dedupe agent

https://github.com/Zygo/bees
1•embedding-shape•20m ago•0 comments

Investigating and fixing a nasty clone bug

https://kobzol.github.io/rust/2025/12/30/investigating-and-fixing-a-nasty-clone-bug.html
1•r4um•21m ago•0 comments

Show HN: Linvisual – A simple to use Linear Algebra Visualization library

https://github.com/Jeditrix/Linvisual
2•jeditrix•22m ago•0 comments

Show HN: LoginLlama – behaviour-based login anomaly detection for small teams

https://loginllama.app
1•joshghent•27m ago•0 comments

ARKit Testing with RobotKit

https://www.chrisdavis.com/articles/arkit_robotkit.html
1•nthState•29m ago•1 comments

We Become What We Behold (2016)

https://github.com/ncase/wbwwb
1•Lwrless•30m ago•0 comments

You are already behind by not having read this post

https://christianheilmann.com/2026/01/02/you-are-already-behind-by-not-having-read-this-post/
2•ArmageddonIt•32m ago•1 comments

Show HN: I built a countdown app because system alarms gave my friend anxiety

https://apps.apple.com/us/app/duepal-visual-countdown-timer/id6756181712
1•elevenapril•32m ago•3 comments

Ask HN: Successful one-person online businesses in 2026?

2•vekker•32m ago•1 comments

Street Fighter 2 fixed a typo with a human leg [video]

https://www.youtube.com/watch?v=dUkLYOPRYH4
1•sd9•32m ago•0 comments

The Kimwolf Botnet Is Stalking Your Local Network

https://krebsonsecurity.com/2026/01/the-kimwolf-botnet-is-stalking-your-local-network/
1•todsacerdoti•33m ago•0 comments

Do you want a prompt saver and fantastic organizer?

1•SRMohitkr•34m ago•0 comments

Stardust study resets how life's atoms spread through space

https://www.chalmers.se/en/current/news/see-stardust-study-resets-how-life-s-atoms-spread-through...
3•geox•35m ago•0 comments

Matryoshka embeddings: How to make vector search 5x faster

https://sderosiaux.substack.com/p/matryoshka-embeddings-how-to-make
3•chtefi•36m ago•0 comments

Tesla sales fall for the second year in a row

https://www.businessinsider.com/tesla-sales-fall-second-year-ev-elon-musk-2026-1
4•jrpelkonen•37m ago•2 comments

DeepSeek's new AI training method is a 'breakthrough' for scaling

https://www.businessinsider.com/deepseek-new-ai-training-models-scale-manifold-constrained-analys...
2•ryan_j_naughton•37m ago•0 comments