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.

Unauthorized group has gained access to Anthropic's exclusive cyber tool Mythos

https://techcrunch.com/2026/04/21/unauthorized-group-has-gained-access-to-anthropics-exclusive-cy...
1•jnord•1m ago•0 comments

Submit your startup profile with Claude or ChatGPT. 60 seconds or less

https://www.startuphub.ai/agents/submit
1•compulsivebuild•3m ago•0 comments

Higher education's frozen yogurt moment

https://www.washingtonpost.com/opinions/2026/04/19/yale-report-shows-colleges-universities-face-r...
1•paulpauper•4m ago•0 comments

AI was ruining my college philosophy classes. So I assigned a new kind of essay

https://globeopinion.substack.com/p/ai-was-ruining-my-college-philosophy
1•paulpauper•4m ago•0 comments

A forty-year-old problem, briefly available

https://www.parahealth.ai/company/dispatch/thesis
1•dylburns•7m ago•0 comments

Ray-Ban Meta and Oakley Meta AI Glasses Officially Available in Singapore

https://cnalifestyle.channelnewsasia.com/style-beauty/ray-ban-meta-and-oakley-meta-ai-glasses-sin...
1•kelt•8m ago•0 comments

Learning Material for Idiomatic Rust

https://corrode.dev/blog/idiomatic-rust-resources/
1•lwhsiao•8m ago•0 comments

Show HN: gcx – The Official Grafana Cloud CLI

https://github.com/grafana/gcx
1•annanay•9m ago•0 comments

Lufthansa cuts 20k flights to save money, fuel

https://www.upi.com/Top_News/World-News/2026/04/21/lufthansa-flight-cuts/6391776813766/
3•petethomas•12m ago•1 comments

Cursor partners with SpaceX on model training

https://cursor.com/blog/spacex-model-training
2•gzer0•15m ago•1 comments

NASA's Webb Helped Rule Out Asteroid's Chance of 2032 Lunar Impact

https://science.nasa.gov/blogs/webb/2026/03/06/how-nasas-webb-helped-rule-out-asteroids-chance-of...
1•mooreds•20m ago•0 comments

Drunk Post: Things I've Learned as a Senior Engineer

https://luminousmen.substack.com/p/drunk-post-things-ive-learned-as
4•zdw•23m ago•1 comments

Bloom filters: the niche trick behind a 16× faster API – Blog – incident.io

https://incident.io/blog/bloom-filters
5•birdculture•24m ago•0 comments

Enriching MMDB files with your own data using Go (2020)

https://blog.maxmind.com/enriching-mmdb-files-with-your-own-data-using-go/
1•mooreds•29m ago•0 comments

Developing Theory about the Development of Theory [pdf]

https://mintzberg.org/sites/default/files/article/download/developing_theory_about_the_developmen...
3•rzk•33m ago•0 comments

How Much Do GPU Clusters Cost?

https://newsletter.semianalysis.com/p/how-much-do-gpu-clusters-really-cost
2•stosssik•34m ago•0 comments

New Lazarus Apt Campaign: "Mach-O Man" macOS Malware Kit Hits Businesses

https://any.run/cybersecurity-blog/lazarus-macos-malware-mach-o-man/
1•lnguyen•37m ago•0 comments

Fuck you, pay me" by mike monteiro

https://www.youtube.com/watch?v=jVkLVRt6c1U
1•fuzztester•37m ago•1 comments

AI bot buying what agents can buy in 2026

https://dialtoneapp.com/2026/april/ai-bot-buying-report
2•fcpguru•38m ago•0 comments

US Criminally Charges Southern Poverty Law Center, Blanche Says

https://www.reuters.com/world/us-criminally-charges-southern-poverty-law-center-blanche-says-2026...
5•petethomas•43m ago•0 comments

Does your boss have AI brain?

https://www.milkkarten.net/p/boss-obsessed-ai-marketing
4•coloneltcb•47m ago•0 comments

Google Ads Keeps Marking My Site Compromised

3•earonesty•48m ago•0 comments

Single-minded pursuit of profit can get firms in trouble. Same thing with AI

https://news.harvard.edu/gazette/story/2026/04/single-minded-pursuit-of-profit-can-get-firms-in-t...
2•lukaspetersson•48m ago•0 comments

The reason your kids aren't getting married isn't what you think it is

https://tommyfalk567.substack.com/p/the-reason-your-kids-arent-getting
1•TommyFalk•50m ago•0 comments

The Next Era of Software Architecture Is Data-First

https://aimdb.dev/blog/data-driven-design
2•lukastyrychtr•1h ago•0 comments

Ask HN: Are there any engineering orgs that use incentives?

2•jppope•1h ago•1 comments

Claude Code is no longer a part of the Pro plan

11•csoham•1h ago•0 comments

SpaceX cuts a deal to maybe buy Cursor for $60B

https://www.theverge.com/science/916427/spacex-cursor-potential-deal-acquisition
2•htrp•1h ago•1 comments

BYD Looking to Open 20 Dealerships in Canada This Year

https://gmauthority.com/blog/2026/04/byd-looking-to-open-20-dealerships-in-canada-this-year/
2•whynotmaybe•1h ago•0 comments

Apple has an opportunity to rediscover humanity

https://www.theregister.com/2026/04/21/apple_ternus_rediscover_humanity/
3•LorenDB•1h ago•1 comments