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