@evan Thanks! Yeah, it seems to me like a high-quality library would solve the same problem, and we'd have to polyfill one anyway, for browsers that don't support MLS primitives natively yet. In the long run, it could increase performance by not having to download that code, of course.
I asked, because I had just looked into the library situation a couple of days ago, and it seems like there's nothing available in TS/JS at the moment: