It's not even 8.30 am and I already had ChatGPT translate a python module into a pure JavaScript one.
Then have my buddy refactor the awful implementation he had to translate (how do people get along with that shit will always beat me...) with a couple tips from my side and there I have: the functions I needed, in JavaScript, with a decent implementation.