In the early days of on-device AI, running large language models (LLMs) in JavaScript was only a dream. Developers relied on cloud-based APIs, and any form of local execution was limited to tiny, underpowered models. Fast forward to today, and the la...