Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@novashield/client

novapret24SEE LICENSE IN LICENSE1.0.5

Device fingerprinting

fingerprinting, novashield, novapret, fingerprintjs

readme

NovaShield Client SDK

A JavaScript SDK for integrating NovaShield's device fingerprinting API.

Installation with NPM

npm install @novashield/client
import NovaShield from "@novashield/client"

const novashield = NovaShield.init('YOUR_API_TOKEN')

// Get the request id
novashield.lookupDevice().then(requestId => console.log(requestId))

Installation with CDN

<head>
  ...
  <script src="https://cdn.jsdelivr.net/npm/@novashield/client@latest/dist/novashield.min.js"></script>
</head>
<script>
  const novashield = NovaShield.init('YOUR_API_TOKEN')

  // Get the request id
  novashield.lookupDevice().then(requestId => console.log(requestId))
</script>