@the-minimal/fingerprint
v0.0.2
Published
Minimal cross-environment fingerprinting TypeScript library
Downloads
4
Maintainers
Readme

Install
npm add @the-minimal/fingerprintHighlights
- Small (~ 325 bytes)
- Low runtime overhead
- Unique output
- If
globalthen append keys ofglobal - If
windowthen append keys ofwindow - If
performancethen appendperformance.toJSONorperformance.timeOrigin - If
Intlthen append timezone - If
processthen appendpid,ppid,arch,platformand values ofenv - If
navigatorthen appenduserAgent,languagesandplatform - If
screenthen appendwidthandheight
- If
- Singleton
- Consequent calls return the same fingerprint
Example
const fingerPrint = createFingerPrint();