# @seontechnologies/seon-javascript-sdk

> SEON JavaScript SDK for collecting session and device data

Latest version **6.12.0** (published 2026-09-09) · SEE LICENSE IN LICENSE license · 0 weekly downloads

## Install

```sh
npm install @seontechnologies/seon-javascript-sdk
pnpm add @seontechnologies/seon-javascript-sdk
yarn add @seontechnologies/seon-javascript-sdk
bun add @seontechnologies/seon-javascript-sdk
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 6.12.0 |
| Published | 2026-09-09 |
| First published | 2023-04-25 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN LICENSE |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 978.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | SEON Technologies Ltd. |
| Maintainers | balintdali, mate.kungl, gzsamboki-seon, zoltan.toth, zsomborbarabas, robert.orsulics, seontechnologies-publisher |
| Keywords | fraud, fraud detection, fraud prevention, bot, bot detection, automation tools, automation detection, fingerprint, browser, identification, browser fingerprint, device fingerprint |

## Links

- npm: https://www.npmjs.com/package/@seontechnologies/seon-javascript-sdk
- Homepage: https://seon.io/
- npm.io page: https://npm.io/package/@seontechnologies/seon-javascript-sdk

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 6.12.0 (latest) — 2026-09-09
- 6.11.1 — 2026-07-08
- 6.11.0 — 2026-06-24
- 6.10.11 — 2026-06-11
- 6.10.10 — 2026-05-21
- 6.10.9 — 2026-05-12
- 6.10.8 — 2026-03-31
- 6.10.7 — 2026-03-24
- 6.10.6 — 2026-03-19
- 6.10.5 — 2026-03-09
- 6.10.4 — 2026-01-20
- 6.10.3 — 2025-12-18
- 6.10.2 — 2025-11-11
- 6.10.1 — 2025-10-21
- 6.10.0 — 2025-10-01
- … 30 more at https://npm.io/package/@seontechnologies/seon-javascript-sdk/versions

## README

# SEON JavaScript SDK v6

To successfully utilize this library, you must have a SEON account set up. (https://seon.io)

## Installation

You can either use one of our CDNs, or this npm package to load the SDK.

### CDN

It is preferred to use one of our CDNs directly, because this way you will always receive the latest version.

```html
<script src="https://cdn.dfsdk.com/js/v6/agent.umd.js"></script>
<!-- or -->
<script src="https://cdn.deviceinf.com/js/v6/agent.umd.js"></script>
<!-- or -->
<script src="https://cdn.seonintelligence.com/js/v6/agent.umd.js"></script>
```

Then in your JavaScript you can use the `window.seon` object:

```javascript
// On page load
window.seon.init();

// Later when the fingerprint is needed
const session = await window.seon.getSession();
// 'session' variable holds the encrypted device fingerprint as a base64 encoded string
```

For more information about the config options, please visit https://docs.seon.io/api-reference/fraud-api#javascript-agent-v6 .
This will give you the collected device info in an encrypted format. You can not decrypt it yourself,
you have to send it as the `session` parameter to SEON's proprietary Fraud API (see https://docs.seon.io/api-reference/fraud-api).
The Fraud API will return the device fingerprint in the `device_details` field.

### NPM

**Note that with this method you will have to keep the package updated yourself to include our latest features and bugfixes.**

```bash
npm install @seontechnologies/seon-javascript-sdk
# or
yarn add @seontechnologies/seon-javascript-sdk
```

### Note:

In our package we do not include polyfills but we rely on newer browser features like Promise functionality (namely Promise.allSettled) support. Including polyfills are required for older browser support.

Usage:

```javascript
import seon from '@seontechnologies/seon-javascript-sdk';
// or
// const seon = require('@seontechnologies/seon-javascript-sdk');

// On page load
seon.init();

// Later when the fingerprint is needed
const session = await seon.getSession();
// 'session' variable holds the encrypted device fingerprint as a base64 encoded string
```

For more information and configuration options, visit our public GitHub [repository](https://github.com/seontechnologies/seon-web-sdk-public) and consult the [API reference](https://docs.seon.io/api-reference/fraud-api#javascript-agent-v6).

---
_Source: https://npm.io/package/@seontechnologies/seon-javascript-sdk · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
