@the-minimal/fingerprint
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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();

Package Sidebar

Install

npm i @the-minimal/fingerprint

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

5.4 kB

Total Files

7

Last publish

Collaborators

  • yamiteru