JSPM

browser-canvas-fingerprinting

1.0.4
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 14
    • Score
      100M100P100Q48985F
    • License MIT

    A simple canvas fingerprinting implementation in browser with specific information used to generate fingerprint

    Package Exports

    • browser-canvas-fingerprinting
    • browser-canvas-fingerprinting/src/main.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (browser-canvas-fingerprinting) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    browser-canvas-fingerprinting

    A simple canvas fingerprinting implementation for browsers.

    Installation

    npm i browser-canvas-fingerprinting

    Usage

    import fingerprint from 'browser-canvas-fingerprinting';
    console.log(await fingerprint()); // a unique string

    APIs

    export default async function fingerprint(Optional_OutputOption = 0)

    Get the fingerprint or the data.

    Optional_OutputOption

    • 0 (default): Get a unique string.
    • 1: Get the Data.
    • 2: Get the canvas element.

    export async function getData()

    Get the data used to generate the fingerprint.

    Returns an array of string.

    License

    MIT