seges
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Usage

  1. Install

npm install seges

  1. Import
import {SegesClient} from 'seges';
  1. Configure
const config = {
  "baseUrl": "https://dev.seges.app",
  "apiToken": "from backend",
  "deviceExternalId": "from backend",
  "maxQueueSize": 1000,
  "sendBatchSize": 50,
  "sendIntervalSeconds": 30
}
SegesClient.configure(config)
  1. Send Events
SegesClient.emit('screen.view', {"screen.name": "home"})

Readme

Keywords

none

Package Sidebar

Install

npm i seges

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

13.3 kB

Total Files

9

Last publish

Collaborators

  • hbu50