browser-id

Unique ID for current browser (client).

Usage no npm install needed!

<script type="module">
  import browserId from 'https://cdn.skypack.dev/browser-id';
</script>

README

browser-id Node.js CI codecov

browserID() function always gives you the same ID for the same browser. You can use it as a key to store user preferences on server side.

const id = browserID();