'Is it possible to get a unique device id for device i am using in nodejs

I am currently using nodejs as backend and I would like to get a unique device id for each device that access my website. Is there any npm package that do that. I tried node-machine-id but it gave me the same device id when i sumbitted the request through my phone and laptop which are two different devices yet i got the same Id any help



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source