eyez
v1.0.6
Published
Browser fingerprinting library
Downloads
13
Maintainers
Readme
eyez
A comprehensive browser fingerprinting library for TypeScript and JavaScript projects, designed to enhance security and fraud detection in web applications.
Usage
To use the eyez
function in your project, follow these steps:
- Import the function
import eyez from 'eyez';
- Call the function to generate a fingerprint
async function generateFingerprint() {
try {
const fingerprint = await eyez();
console.log('Generated fingerprint:', fingerprint);
} catch (error) {
console.error('Error generating fingerprint:', error);
}
}
generateFingerprint();
The eyez
function returns a Promise that resolves to a string containing the unique browser fingerprint.