Rewrote a thing in typescript. Was easier than I thought. Was surprised node-fetch actually wants a string not a URL, but otherwise more or less what I expected.
Not sure if I should be testing the js or the ts… can see arguments both ways. Will leave the existing (still pass) js tests alone for now.