npm add @the-minimal/fingerprint
- Small (~ 325 bytes)
- Low runtime overhead
- Unique output
- If
global
then append keys ofglobal
- If
window
then append keys ofwindow
- If
performance
then appendperformance.toJSON
orperformance.timeOrigin
- If
Intl
then append timezone - If
process
then appendpid
,ppid
,arch
,platform
and values ofenv
- If
navigator
then appenduserAgent
,languages
andplatform
- If
screen
then appendwidth
andheight
- If
- Singleton
- Consequent calls return the same fingerprint
const fingerPrint = createFingerPrint();