@novashield/client
v1.0.5
Published
Device fingerprinting
Downloads
409
Maintainers
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>