AWS V4 Signature for HTTP POST using Javascript standard library

Hi folks! I have an API I’d like to interact with in the Scripting block which requires AWS V4 signing in the headers. There are a dozen ways to do this very easily using npm libraries but I’m wondering if anyone has some guidance or resources on how to do that with the standard library instead. I imagine there are standard library functions for hmac and the like.