Lucas Lemos
Lucas Lemos
What are the dependency issues? The package doesn't have any production dependencies, only jest to run tests. I didn't use any other library to build it.
I don't think that this would be possible, since the communication between NTP servers is done by UDP protocol. But even if you had a server that accepts NTP requests...
You should check the return of the data.slice to see if it's being returned as a instance of the Buffer class, if it's not, you should find some other way...
Besides, the input of the parse function shouldn't be a ArrayBuffer, it should be a Buffer, they're different classes.
I can't work in the browser compatibility now, but if anyone has the time to do it I would be glad to review and help. I'm gonna leave this issue...