New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

fingerprint-loader

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fingerprint-loader

A simple function that returns FingerprintJS collectFingerprintData without extra setup

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

Trackaer

A simple JavaScript package to fetch fingerprint data using FingerprintJS without extra setup. The package automatically loads FingerprintJS and allows you to call collectFingerprintData() directly.

Installation

You can install the package using npm or yarn:

npm install fingerprint-loader

or

yarn add fingerprint-loader

Usage

Example in JavaScript / React / Angular

Import and use collectFingerprintData like this:

import collectFingerprintData from "fingerprint-loader";

async function getData() {
    const data = await collectFingerprintData({ accessKey: "your-access-key", userId: "user-id" });
    console.log("Fingerprint Data:", data);
}

getData();

How It Works

  • The package automatically loads FingerprintJS on first use.
  • Users can directly call collectFingerprintData() without worrying about script imports.
  • Returns fingerprint data when called with accessKey and userId.

API

collectFingerprintData(options: { accessKey: string, userId: string })

Fetches fingerprint data using FingerprintJS.

Parameters:

  • accessKey (string) – Your API access key.
  • userId (string) – Unique user identifier.

Returns:

A Promise resolving to fingerprint data.

License

This package is licensed under the MIT License.

Keywords

fingerprintjs

FAQs

Package last updated on 02 Apr 2025

Did you know?

Socket

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.

Install

Related posts