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

Comments

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

Watch Mortal Kombat creators invent Scorpion's Kunai Spear in real time [video]

https://www.youtube.com/watch?v=fzWsWqPluus
1•nvader•4m ago•0 comments

Collections: The Late Bronze Age Collapse, a Brief Introduction

https://acoup.blog/2026/01/30/collections-the-late-bronze-age-collapse-a-very-brief-introduction/
2•Tomte•7m ago•0 comments

Show HN: I made tool to convert photo from day to dusk

https://www.aivirtualstaging.net/day-to-dusk
1•atharvtathe•9m ago•0 comments

Sunspots (Economic)

https://en.wikipedia.org/wiki/Sunspots_(economics)
2•downboots•9m ago•0 comments

TikTok keyword search through billions of comments, video transcripts, users

https://tt-tools.lolarchiver.com/keyword_search
2•Xafnor•11m ago•1 comments

News Tower

https://store.steampowered.com/app/1649950/News_Tower/
2•doener•13m ago•0 comments

Ask HN: Are posting my ideas/prototypes allowed here?

https://x.com/radcraftor
2•radcraftor_•14m ago•1 comments

Show HN: EditorWatch – Detect AI cheating by analyzing how students write code

https://github.com/Vic-Nas/EditorWatch
2•vicnas•14m ago•0 comments

Show HN: BmuS is a powerful free backup program for Linux, Mac and Windows

https://github.com/back-me-up-scotty/bmus
2•bmus•17m ago•0 comments

OpenAI Codex 0.93 adds SQLite backed log database

https://github.com/openai/codex/releases/tag/rust-v0.93.0
2•tosh•23m ago•0 comments

School Is Worse for Children Than Social Media

https://unpublishablepapers.substack.com/p/school-is-way-worse-for-kids-than
3•barry-cotter•24m ago•0 comments

Bob Iger to Step Down as Disney CEO Before End of 2026

https://variety.com/2026/biz/news/bob-iger-step-down-disney-ceo-before-end-of-2026-1236646611/
2•coolandsmartrr•26m ago•0 comments

'Reverse Solar Panel' Generates Electricity at Night

https://www.extremetech.com/science/reverse-solar-panel-generates-electricity-at-night
3•defrost•29m ago•0 comments

Layoffs are piling up, heightening worker anxiety

https://apnews.com/article/amazon-ups-layoffs-economy-washington-71bfde72b358fddb9a22c15aa13fe848
2•rustoo•29m ago•0 comments

YouTube blocks background video playback on Brave and other Browsers

https://piunikaweb.com/2026/01/28/youtube-background-play-samsung-internet-brave/
4•croes•33m ago•0 comments

Show HN: Oyster Bot – AI assistant for your phone, powered by Claude Code

https://github.com/TimFinnigan/oyster-bot
1•timfinnigan•35m ago•0 comments

Using project genie feels kinda like a game

https://project-genie.net/
2•ri-vai•37m ago•1 comments

The End of Transformers (2025)

https://arxiv.org/abs/2510.05364
1•teleforce•38m ago•0 comments

AI isn't making you faster. It's making you forgetful

https://jpcaparas.medium.com/ai-isnt-making-you-faster-it-s-making-you-forgetful-2d1ce729e321
2•zenoware•47m ago•1 comments

Eneloop

https://en.wikipedia.org/wiki/Eneloop
1•tosh•49m ago•0 comments

All 13 Episodes of Kenneth Clark's Civilisation: A Personal View

https://antigonejournal.com/2023/02/kenneth-clark-civilisation/
2•pajop•50m ago•0 comments

Show HN: AI knowledge base that auto-updates from your codebase

https://bunnydesk.ai
2•mkapoor26•51m ago•0 comments

The Lesser Evil of Compliance: Enterprise SBoM Strategy for CRA Readiness

https://nesbitt.io/2026/01/20/the-lesser-evil-of-compliance.html
1•lifeisstillgood•51m ago•0 comments

China edges up with 3 of top chipmaking gear suppliers

https://asia.nikkei.com/business/tech/semiconductors/china-edges-up-with-3-of-world-s-top-20-chip...
2•SanjayMehta•52m ago•1 comments

Forget Postman and JMeter: Test APIs with natural language prompts

https://github.com/onurkanbakirci/prompmeter
1•onurkanbkrc•53m ago•0 comments

An explorable agent architecture with persistent internal state&self-observation

https://github.com/sivanhavkin/Entelgia
2•sivanhavkin•53m ago•1 comments

Sumerian Star Map Recorded the Impact of an Asteroid (2024)

https://archaeologyworlds.com/5500-year-old-sumerian-star-map-recorded/
4•griffzhowl•55m ago•0 comments

Lackluster superintelligence and the infinite data plane

https://fowler.dev/posts/2026-01-30/
1•Descon•55m ago•0 comments

Show HN: Interactive Equation Solver

2•dharmatech•56m ago•0 comments

Epstein files: Musk planned to visit sex offender's island, host him at SpaceX

https://www.cnbc.com/2026/01/30/epstein-files-show-elon-musk-planned-visit-to-island-host-at-spac...
11•SilverElfin•56m ago•2 comments