
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@quotientjs/browser-fingerprint
Advanced tools
A lightweight, privacy-conscious browser fingerprinting library for identifying unique browsers.
A lightweight, privacy-conscious browser fingerprinting library for identifying unique browsers.
pnpm add @quotientjs/browser-fingerprint
import BrowserFingerprint from "@quotientjs/browser-fingerprint";
// Create a new fingerprinter
const fingerprinter = new BrowserFingerprint();
// Get the fingerprint (automatically saved to localStorage)
const fingerprint = fingerprinter.get();
console.log("Fingerprint hash:", fingerprint.hash);
// More options
const fingerprinter = new BrowserFingerprint(
{
// Fingerprint options
excludeComponents: ["canvas", "webgl"], // Exclude privacy-sensitive components
includeAudio: true,
includeCanvas: true,
includeWebGL: true,
includeFonts: true,
detectScreenOrientation: true,
},
{
// Storage options
storageKey: "my_app_fingerprint",
useSessionStorage: false, // Use localStorage by default
maxFingerprints: 10,
similarityThreshold: 0.85,
},
);
// Get fingerprint without saving
const fingerprint = fingerprinter.get(false);
// Access all stored fingerprints
const allFingerprints = fingerprinter.getAll();
// Access the storage for more advanced operations
const storage = fingerprinter.getStorage();
// Find the most common fingerprint
const mostFrequent = storage.getMostFrequent();
// Find the most recent fingerprint
const mostRecent = storage.getMostRecent();
// Find a specific fingerprint by hash
const specificFingerprint = storage.findByHash(fingerprint.hash);
// Find a similar fingerprint
const similarFingerprint = storage.findSimilar(fingerprint);
// Clear all fingerprints
fingerprinter.clear();
The main class for fingerprinting operations.
get(save = true): Gets or creates a fingerprintgetAll(): Returns all stored fingerprintsclear(): Clears all stored fingerprintsgetStorage(): Returns the storage instanceHandles storing and retrieving fingerprints.
getAll(): Returns all stored fingerprintssave(fingerprint, source): Saves a fingerprintclear(): Clears all stored fingerprintsgetMostRecent(): Gets the most recently seen fingerprintgetMostFrequent(): Gets the most frequently seen fingerprintfindByHash(hash): Finds a fingerprint by hashfindSimilar(fingerprint): Finds a similar fingerprintcreateFingerprint(options): Creates a new fingerprintcalculateSimilarity(fp1, fp2): Calculates similarity between fingerprintsisSameFingerprint(fp1, fp2, threshold): Determines if two fingerprints match# Install dependencies
pnpm install
# Run tests
pnpm test
# Build
pnpm build
Internal use only.
FAQs
A lightweight, privacy-conscious browser fingerprinting library for identifying unique browsers.
The npm package @quotientjs/browser-fingerprint receives a total of 2 weekly downloads. As such, @quotientjs/browser-fingerprint popularity was classified as not popular.
We found that @quotientjs/browser-fingerprint demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

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.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.