1.0.5 • Published 11 months ago
@novashield/client v1.0.5
NovaShield Client SDK
A JavaScript SDK for integrating NovaShield's device fingerprinting API.
Installation with NPM
npm install @novashield/clientimport 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>