Similar to soynode but with a different interface. In fact, the soynode npm package is the jar delivery mechanism.
Essentially you want to extend
SoySet and override
SoySet#_getSoyRoots function. (Possibly
SoySet#_options as well.)
While there are tests, it's not really the most mature thing in the world, yet.