UNPKG

smart-browser-id

Version:

Unique ID for current browser (client).

17 lines (11 loc) 422 B
# browser-id `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. ```JavaScript import { browserID } from 'browser-id'; const id = browserID(); ``` The return value is always a `string` when using TypeScript. Use package name with scope when used in Deno with JSR. ```TypeScript import { browserID } from '@ashik/browser-id'; ```