1.0.1 ā¢ Published 2 years ago
@rajesh896/browser-fingerprint v1.0.1
Built for Reactjs projects specially but not limited to it.
Current version is 1.0.0 very beginning
This package generates a unique string for different browser. Like chrome, firefox etc.
Use in Reactjs
import { getDeviceId } from "@rajesh896/browser-fingerprint";
getDeviceId().then((fingerprint) => {
// fingerprint is your unique browser id.
// This is well tested
// the result you receive here is the combination of Canvas fingerprint and audio fingerprint.
})
A simple example of using this script in html file
- Execute
npm i @rajesh896/browser-fingerprint
- Then -
<!DOCTYPE html> <html lang="en">
This package will be updated soon with ts
support and better functions and code handling. see you š
If you want to use it in simple .html
file, please read the index.html
file in the root directory.
Contributors - @Rajesh-Royal, @nareshprajapati