Skip to content

CatChen/browser-id

Repository files navigation

browser-id Node Deno 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.

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.

import { browserID } from '@catchen/browser-id';