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:
- Install all dependencies:
yarn install
. - Replace the
token
with your FingerprintJS Pro token inindex.js
. - Build the bundle:
yarn build
. - Start the webserver in the directory:
python3 -m http.server
starting a server requires that you have Python3 installed and available in $PATH - Open your browser and go to
http://localhost:8000
- Open browser console and see the response in it.
The code is MIT licensed (see license file).
Copyright (c) 2020 FingerprintJS Pro.