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

Comments

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

China 15th 5 Year Plan (Official English Translation)

https://www.news.cn/politics/20260313/085af5de5a4b4268aa7d87d90817df2f/c.html
1•hunglee2•3m ago•0 comments

Age Verification Lobbying: Dark Money, Model Legislation, Institutional Capture

https://tboteproject.com
2•mefengl•3m ago•0 comments

Ask HN: How do you guys deal with enshittification mentally?

1•dvrp•4m ago•0 comments

James Nachtwey: War Photographer (2001) [video]

https://www.youtube.com/watch?v=FUiohIC1dYU
1•doener•7m ago•1 comments

Chinadocs: Public Database of Official Gov Documents of PRC

https://www.chinadocs.org/?v=2966bda86bca80f39001000c49fb5fee
1•hunglee2•8m ago•0 comments

Show HN: TriGame – Guess the area of a triangle made by cities

https://6kotnk.github.io/TriGame/
1•6Kotnk•9m ago•0 comments

Underwater data center powered by tidal energy proposed off the coast of Maine

https://www.quoddytides.com/proposed-tidal-project-would-power-underwater-ai-data-center/
1•giuliomagnifico•9m ago•0 comments

Show HN: Connections Game in 195 Languages

https://apps.apple.com/us/app/lingopop-language-learning/id6759921592
1•pnhoang•9m ago•0 comments

Psi-Commit – Cryptographic Commitments Anchored to Bitcoin via OpenTimestamps

https://psicommit.com
1•RayanROghabian•9m ago•1 comments

Room 641A

https://en.wikipedia.org/wiki/Room_641A
1•mxmilkiib•9m ago•0 comments

Show HN: HN Buddy – a Hacker News Chrome extension

https://github.com/karnagebitcoin/HN-Buddy
1•a1n•10m ago•0 comments

LearnCro Mobile and web application for learning the Croatian language– level B1

https://b1.ffzg.hr/
1•taubek•11m ago•0 comments

Send a Beautiful Digital Bouquet

https://digibouquet.net/
1•td2375671•12m ago•1 comments

Show HN: Markitdown in Go

https://github.com/conductor-oss/markitdown
1•opiniateddev•12m ago•0 comments

Show HN: ProjectFalcon – First Native Java at Protocol Implementation

https://github.com/JohannaWeb/ProjectFalcon
1•JohannaWeb•12m ago•0 comments

Give Agents Maximum Freedom. The less you assume, the more it works

https://browser-use.com/posts/agent-freedom
1•gregpr07•12m ago•0 comments

Star Wars Bounty Hunter Names – Mercenary Name Guide and Generator for Fans

https://starwarsnamegenerator.com/blog/bounty-hunter-names-ideas
1•Jaxon_Varr•13m ago•1 comments

Show HN: Vector databases are the wrong primitive for AI agents

https://github.com/brainfish-ai/ReasonDB
1•ajainvivek•13m ago•0 comments

Introducing, the British Cræft Prize

https://nationofartisans.substack.com/p/introducing-the-british-crft-prize
1•jdefelice•13m ago•0 comments

Autoresearch Hub

http://autoresearchhub.com/
1•EvgeniyZh•20m ago•0 comments

Ask HN: What newsletters do you read every day or week?

1•chistev•21m ago•0 comments

State Department slashes fee to renounce US citizenship by 80%

https://apnews.com/article/us-citizenship-state-department-ab78db7aced64919edff3de26eebb681
1•Propelloni•23m ago•0 comments

A self-hosted intelligence terminal that watches the world for signals

https://github.com/calesthio/Crucix
1•calesthio•24m ago•1 comments

Show HN: One MCP server that gives your AI agent access to 25,000 tools

https://nerq.ai/gateway
1•Agentindex•24m ago•1 comments

Restoring the first recording of computer music (2018)

https://www.bl.uk/stories/blogs/posts/restoring-the-first-recording-of-computer-music
1•OJFord•27m ago•0 comments

Stackco.st – see what other founders pay for their SaaS tools

https://www.stackco.st
1•pertti_studio•28m ago•1 comments

Supply-chain attack using invisible code hits GitHub and other repositories

https://arstechnica.com/security/2026/03/supply-chain-attack-using-invisible-code-hits-github-and...
2•joozio•34m ago•0 comments

Lessons learned converting a classic truck to EV

https://old.reddit.com/r/EVConversion/comments/1rs1ass/lessons_learned_converting_a_classic_truck...
1•y1n0•35m ago•0 comments

Be Human

https://www.usebox.net/jjm/blog/be-human/
1•reidrac•36m ago•0 comments

M5 MacBook Air review: Still the best MacBook for almost everybody

https://arstechnica.com/gadgets/2026/03/m5-macbook-air-review-still-the-best-macbook-for-almost-e...
2•y1n0•37m ago•0 comments