I'm trying to implement 2FA in my app during login process, and I wish to send them the operating system and name of device of which the login request is coming from, but I have tried searching around for a solution to determine this, the one I found was only for the backend(nodejs os module). Is there any npm module or way around for me to archive this.
Use Sniffr package to get information from the user-agent from headers in request...

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With