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

Comments

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

AirDrop is coming to more Android phones, and I'm here for it

https://9to5mac.com/2026/04/29/airdrop-is-now-widely-available-on-android-phones-and-im-here-for-it/
2•omer_k•3m ago•0 comments

Serra – A Magic: The Gathering life counter using DRM/KMS

https://git.sr.ht/~cmt/serra
1•nan60•4m ago•0 comments

Qualcomm, Apple, and Nuvia alumni form CPU startup – Nuvacore

https://www.tomshardware.com/pc-components/cpus/legendary-qualcomm-apple-and-nuvia-alumni-form-ne...
1•gnabgib•4m ago•0 comments

Show HN: SigMap – 81.1% retrieval hit 5, 96.9% token reduce,zero deps

https://github.com/manojmallick/sigmap
1•manoj079•12m ago•0 comments

Gen Z is outsourcing hard conversations to AI. Why it matters

https://www.rnz.co.nz/life/relationships/gen-z-is-outsourcing-hard-conversations-to-ai-why-it-mat...
3•billybuckwheat•13m ago•0 comments

Joby Kicks Off NYC Electric Air Taxi Demos with Historic JFK Flight

https://www.flyingmag.com/joby-nyc-electric-air-taxi-jfk-airport/
2•Jblx2•13m ago•0 comments

Dex Raised $5.3M to Hire Your AI Engineers Without the LinkedIn Parade

https://www.siliconsnark.com/dex-raised-5-3m-to-hire-your-ai-engineers-without-the-linkedin-parade/
1•SaaSasaurus•15m ago•1 comments

Mike: open-source legal AI

https://mikeoss.com/
1•noleary•19m ago•0 comments

Google to sell TPU chips to 'select' customers in latest shot at Nvidia

https://finance.yahoo.com/markets/stocks/article/google-to-sell-tpu-chips-to-select-customers-in-...
2•wslh•23m ago•0 comments

100k-Year Problem

https://en.wikipedia.org/wiki/100,000-year_problem
1•red369•24m ago•0 comments

China pushes EU capitals to scrap 'Made in Europe' law or face retaliation

https://www.euronews.com/my-europe/2026/04/29/china-pushes-eu-capitals-to-scrap-made-in-europe-la...
3•ericmay•25m ago•0 comments

Integer Overflow Checking Cost

https://danluu.com/integer-overflow/
1•iwsk•27m ago•1 comments

Meta Shares Plunge as AI Investments Raise Spending Outlook [video]

https://www.youtube.com/watch?v=4z5OA-NFtgQ
1•mgh2•27m ago•0 comments

Sophie Germain and Prime Numbers – James Maynard (Oxford Mathematics) [video]

https://www.youtube.com/watch?v=yq4zHsdOy54
1•vismit2000•28m ago•0 comments

Efficient Video Intelligence in 2026

https://v-chandra.github.io/efficient-video-intelligence/
1•gmays•32m ago•0 comments

Digital Nomads: In Somaliland where 95% of the country has internet (2020)

https://techcabal.com/2020/03/20/digital-nomads-somaliland/
1•warbaker•34m ago•0 comments

LLMs are the worlds most powerful autocomplete

https://alfredvc.no/blog/intro-what-is-an-llm
1•alfredvc•35m ago•0 comments

Your Rust Clippy Config Should Be Stricter

https://emschwartz.me/your-clippy-config-should-be-stricter/
1•emschwartz•35m ago•0 comments

Software Developers Are Replacing Software Engineers

https://newsletter.productdriven.com/p/software-developers-are-replacing
2•spo81rty•35m ago•0 comments

Anthropic could raise a new $50B round at a valuation of $900B

https://techcrunch.com/2026/04/29/sources-anthropic-could-raise-a-new-50b-round-at-a-valuation-of...
2•ZeidJ•36m ago•0 comments

A.I. Bots Told Scientists How to Make Biological Weapons

https://www.nytimes.com/2026/04/29/us/ai-chatbots-biological-weapons.html
1•wslh•36m ago•1 comments

The crystals that wiped out an HIV medication, almost overnight [video]

https://www.youtube.com/watch?v=ksn5yrsC3Wg
2•FridayoLeary•38m ago•0 comments

Chloe vs. History: AI influencers are here.

https://www.youtube.com/channel/UCZB1r1In9RfE7tpVrYgcjLQ
2•WheelsAtLarge•42m ago•0 comments

Transcomputational Problem

https://en.wikipedia.org/wiki/Transcomputational_problem
1•jonbaer•42m ago•0 comments

Naval Ravikant: Apple is dead, SaaS is next, you have 18 months

https://twitter.com/mustufa4socials/status/2049518414377480218
4•jbredeche•45m ago•1 comments

Glitch Image Generator

https://blog.adafruit.com/2026/04/29/glitch-image-generator
1•omer_k•45m ago•0 comments

USDA rejects women picked for soybean board, appoints men instead

https://www.reuters.com/world/americas/trump-administration-rejects-women-picked-soybean-board-ap...
10•petethomas•45m ago•6 comments

Show HN: Yiitap – AI-native Notion-style block editor

https://github.com/pileax-ai/yiitap
2•pileax•47m ago•2 comments

Ask HN: Do you think AI will end up like dotcom?

1•dicksent•50m ago•0 comments

Rivian allows you to disable all internet connectivity

https://rivian.com/support/article/can-i-disable-all-data-collection-from-my-vehicle
2•Cider9986•53m ago•1 comments