The world's easiest, smallest and powerful visitor identifier for browsers.
npm install @clickwithclark/broprint.jsThe world's easiest, smallest and powerful visitor identifier for browsers.
This package generates a unique ID/String for different browsers. Like chrome, Firefox or any other browsers which support canvas and audio fingerprinting. You can easily do the browser fingerprinting with this library. Its small and minimal.
murmurhash3_32_gc, cyrb53 and javaHashCode. Code is inside .src/code/EncryptDecrypt.js.
JavaScript
//Install:
npm i npm i @rajesh896/broprint.js
`
Using Yarn:
`Javascript
//Install:
yarn add npm i @rajesh896/broprint.js
`
:tada: Examples
>### In Reactjs
`javascript
import { getCurrentBrowserFingerPrint } from "npm i @rajesh896/broprint.js";
getCurrentBrowserFingerPrint().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.
})
`
>### Using this script in the html files
1. Execute npm i npm i @rajesh896/broprint.js
2. Then -
`html
FingerPrint
`
- From version 1.1.0 onwards we have a dependency crypto-js. If you do not want to have this dependency then use the earlier versions of this library.
If you want to use it in simple .html file, please read the index.html` file in the root directory.