0.0.2 • Published 1 year ago

@the-minimal/fingerprint v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Fingerprint image

Install

npm add @the-minimal/fingerprint

Highlights

  • Small (~ 325 bytes)
  • Low runtime overhead
  • Unique output
    • If global then append keys of global
    • If window then append keys of window
    • If performance then append performance.toJSON or performance.timeOrigin
    • If Intl then append timezone
    • If process then append pid, ppid, arch, platform and values of env
    • If navigator then append userAgent, languages and platform
    • If screen then append width and height
  • Singleton
    • Consequent calls return the same fingerprint

Example

const fingerPrint = createFingerPrint();
0.0.2

1 year ago

0.0.1

1 year ago