Skip to content

fingerprintjs/fingerprintjs-rollupjs-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧱 FingerprintJS Pro + Rollup.js example

A simple example to get started with FingerprintJS Pro and Rollup.js.

It will create a single minified JS file that has FingerprintJS Pro bundled in it.

To get started, make sure you have yarn installed. Once you have it installed, follow these steps:

  1. Install all dependencies: yarn install.
  2. Replace the token with your FingerprintJS Pro token in index.js.
  3. Build the bundle: yarn build.
  4. Start the webserver in the directory: python3 -m http.server starting a server requires that you have Python3 installed and available in $PATH
  5. Open your browser and go to http://localhost:8000
  6. Open browser console and see the response in it.

The code is MIT licensed (see license file).

Copyright (c) 2020 FingerprintJS Pro.