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.
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!