https://github.com/fingerprintjs/fingerprintjs-rollupjs-example
FingerprintJS Pro + Rollup.js example
https://github.com/fingerprintjs/fingerprintjs-rollupjs-example
browser-fingerprinting javascript rollup rollupjs
Last synced: 8 months ago
JSON representation
FingerprintJS Pro + Rollup.js example
- Host: GitHub
- URL: https://github.com/fingerprintjs/fingerprintjs-rollupjs-example
- Owner: fingerprintjs
- License: mit
- Created: 2020-02-06T22:02:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-11T23:41:13.000Z (about 4 years ago)
- Last Synced: 2025-02-16T14:11:52.114Z (8 months ago)
- Topics: browser-fingerprinting, javascript, rollup, rollupjs
- Language: JavaScript
- Size: 21.5 KB
- Stars: 2
- Watchers: 8
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🧱 FingerprintJS Pro + Rollup.js example
========================================A simple example to get started with [FingerprintJS Pro](https://www.npmjs.com/package/@fp-pro/client) and [Rollup.js](https://rollupjs.org/guide/en/).
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`.
2. Build the bundle: `yarn build`.
3. Start the webserver in the directory: `python3 -m http.server`
_starting a server requires that you have Python3 installed and available in $PATH_
4. Open your browser and go to `http://localhost:8000`
5. Open browser console and see the response in it.The code is MIT licensed (see license file).
Copyright (c) 2020 FingerprintJS Pro.