Skip to content

Latest commit

 

History

History

js-sdk

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Pirsch Analytics JS SDK Demo

This demo shows how you can use the JavaScript/TypeScript SDK to access Pirsch.

Configuration

Create a file called .env inside the demo folder and adjust the hostname, client ID, and secret.

HOSTNAME=<hostname>
CLIENT_ID=<client id>
CLIENT_SECRET=<client secret>

Usage

Install the SDK using npm i and run the demo using npm run demo inside the demo directory. You'll see the output in your terminal.