Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@maurosala/use-fingerprint

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maurosala/use-fingerprint

Get canvas fingerprint and browser signature

  • 1.1.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

React useFingerprint hook

A simple React hook to get canvas fingerprint and browser signature.

Installation

npm install @maurosala/use-fingerprint

Usage

import useFingerprint from '@maurosala/use-fingerprint'

const fp = useFingerprint()
console.log(fp)

output:

{
  "browser": "dd5b420791fe9a7dc9ebd8deb648692f76d68b839b3d04cae30702f76c31bc14",
  "id": "B48D36C2",
  "ms": 20.4
}
  • browser: browser signature
  • id: canvas fingerprint
  • ms: time in milliseconds to get the fingerprint

FAQs

Package last updated on 19 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc