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.

AI URI Scheme Internet-Draft

https://www.ietf.org/archive/id/draft-sogomonian-ai-uri-scheme-01.html
1•todsacerdoti•4m ago•0 comments

WhatsApp API flaw let researchers scrape 3.5B accounts

https://www.bleepingcomputer.com/news/security/whatsapp-api-flaw-let-researchers-scrape-35-billio...
1•janandonly•7m ago•1 comments

Press Conference in the Netherlands Dec 15, 2pm, Leeuwarden court

https://sashalatypova.substack.com/p/announcement-press-conference-on
1•latypova•13m ago•1 comments

Show HN: Shell Breaker – Learn Linux by fixing broken real systems

https://shellbreaker.com/
3•ayaansst•17m ago•0 comments

Kimi K2 1T model (4-bit quant) 2x512GB M3 Ultras with mlx-lm and mx.distributed

https://xcancel.com/awnihannun/status/1943723599971443134
1•_____k•18m ago•0 comments

JSDoc *Is* TypeScript

https://culi.bearblog.dev/jsdoc-is-typescript/
2•culi•18m ago•0 comments

Do Dyslexia Fonts Actually Work? (2022)

https://www.edutopia.org/article/do-dyslexia-fonts-actually-work/
2•CharlesW•19m ago•0 comments

Samsung to halt SATA SSD production, leaker warns

https://www.notebookcheck.net/Samsung-to-halt-SATA-SSD-production-leaker-warns-of-up-to-18-months...
7•walterbell•21m ago•0 comments

"Just doing things" is not a path to value

https://productpicnic.beehiiv.com/p/action-without-critical-thinking-is
2•gpi•22m ago•0 comments

Teaching Postgres to Facet Like Elasticsearch

https://www.paradedb.com/blog/faceting
1•jamesgresql•24m ago•1 comments

Show HN: Smart Widgets to Optimise Conversion

https://getrevdock.com
1•imadbkr•24m ago•0 comments

EU Ombudswoman on von der Leyen's disappearing texts

https://www.euronews.com/my-europe/2025/12/12/documents-shouldnt-disappear-eu-ombudswoman-weighs-...
4•HelloUsername•28m ago•0 comments

Hash tables in Go and advantage of self-hosted compilers

https://rushter.com/blog/go-and-hashmaps/
2•f311a•29m ago•0 comments

Turn Your Google Pixel into a Linux Desktop [video]

https://www.youtube.com/watch?v=yzDO-GS-Bm8
2•LucidLynx•29m ago•0 comments

The Worm Hunters of Southern Ontario

https://thelocal.to/ontario-nightcrawler-worm-industry-immigration-labour-climate-change/
1•NaOH•30m ago•0 comments

Invoice Made Easy

https://invoice-parser.netlify.app
1•Slowrodreguez•32m ago•0 comments

Show HN: duel, an online, terminal-based 1v1 game

https://github.com/clarkfannin/cli-duel
1•clarkfannin•33m ago•0 comments

Reddit Answers (Currently in Beta)

https://support.reddithelp.com/hc/en-us/articles/32026729424916-Reddit-Answers-Currently-in-Beta
2•saikatsg•37m ago•0 comments

Treating LLMs as "Stochastic CPUs" Instead of Chatbots (Undergrad)

https://zenodo.org/records/17924469
2•MFOUR_LABS•40m ago•1 comments

The Future of Remote Work

https://staysaasy.com/management/2023/08/05/the-future-of-remote-work.html
2•dailymorn•46m ago•0 comments

Weird Generalization and Inductive Backdoors: New Ways to Corrupt LLMs

https://arxiv.org/abs/2512.09742
3•_tk_•47m ago•0 comments

Paris Pneumatic Clock Network

http://www.douglas-self.com/MUSEUM/COMMS/airclock/airclock.htm
4•reconnecting•49m ago•1 comments

Show HN: Sourcewizard – Turn user feedback into tickets, plans, and PRs

https://edit-me-two.vercel.app
2•doctorslimm•50m ago•3 comments

HyperCard on the Macintosh

https://stonetools.ghost.io/hypercard-mac/
4•rcarmo•52m ago•1 comments

GNU recutils: Plain text database

https://www.gnu.org/software/recutils/
3•polyrand•52m ago•0 comments

The Compact EV That Fits Dense Cities Better Than a Scooter or a Car

https://chargingstack.com/scuter-electric-cabin-ev/
1•simonebrunozzi•53m ago•2 comments

Freakpages

https://freakpages.org/
4•bookofjoe•54m ago•0 comments

Show HN: GameTran – Your language assistant in computer games

https://github.com/ivanyu/GameTran
1•ivanyu•55m ago•0 comments

Auto-Grading Ten Years of Earnings Calls for Prescience and Delusion

https://knowtrend.ai/blog/hindsight-analysis
1•codevs•58m ago•1 comments

Postfix Macros and Let Place

https://nadrieril.github.io/blog/2025/12/09/postfix-macros-and-let-place.html
1•todsacerdoti•58m ago•0 comments