Th JS agent is not available as a npm package at the moment but there have been asks and engg. team are working on it. No fixVersion for this one yet.
I've seen you have exposed agent in npm for server-side node.js applications, which is great
would it make sense to do the same with 'client side' agent? eg this one: