@chronhq/chron-js
v0.0.2
Published
Chron JS library
Downloads
3
Readme
@chronhq/chron-js
Overview
ChronJS is our foundational JavaScript client for building customised user experiences on your websites and applications.
Getting Started
Installation
npm install @chronhq/chron-js
Once you have installed the package, you will need to import the ChronJS object constructor into your code and pass it your Publishable Key as a parameter.
import Chron from '@chronhq/chron-js';
const chronPublishableKey = 'pk_[publishable_key]';
const chron = new Chron(chronPublishableKey);
await chron.load({
// Set load options here...
});