appboy-web-sdk

3.5.1 • Public • Published

Install

$ npm install --save appboy-web-sdk

This will install the Braze Web SDK files into ./node_modules/appboy-web-sdk where you can reference them locally. Note that the Braze Web SDK is meant to be used client-side in a web application and may not work as expected in a Node.js server environment.

Usage

var appboy = require('appboy-web-sdk');
appboy.initialize('YOUR-API-KEY', { baseUrl: 'YOUR-SDK-ENDPOINT' });
appboy.display.automaticallyShowNewInAppMessages();
appboy.openSession();

See the Public Github Repo for getting started instructions or our documentation pages for use-case based documentation.

Package Sidebar

Install

npm i appboy-web-sdk

Weekly Downloads

5,637

Version

3.5.1

License

SEE LICENSE IN https://github.com/Appboy/appboy-web-sdk/blob/master/LICENSE

Unpacked Size

629 kB

Total Files

7

Last publish

Collaborators

  • appboy