Where can I find a working implementation of ctr-drbg for javascript?

Asked this on software recs as well but didn’t get an answer.

I’m trying to use ctr-drbg (based on NIST 800-90A) for some work in nodejs, but the only drbg implementation that I could find is here, where you can see that ctr-drbg is proven to not work.

From what I know, this is a pretty common DRBG, so I feel like there must be other js-compatible implementations. Anyone know any other places that I could look? Alternatively, are there other DRBGs that you would recommend? This is going to be talking to a device running C, so I need something that’s supported in both languages.

Thanks!