Socket
Socket
Sign inDemoInstall

@braze/web-sdk-core

Package Overview
Dependencies
0
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @braze/web-sdk-core

Core Braze SDK (no UI) for web sites and other JS platforms.


Version published
Weekly downloads
3.5K
decreased by-23.36%
Maintainers
1
Install size
218 kB
Created
Weekly downloads
 

Changelog

Source

3.5.1

Changed

Readme

Source

Install

$ npm install --save @braze/web-sdk-core

This will install the Braze Web SDK files into ./node_modules/@braze/web-sdk-core 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

Note that this core version of the SDK does not contain any of Braze's built-in UI capabilities (any appboy.display methods). You will need to implement your own UI for In-App Messaging and Content Cards. Note that our UI elements are fully customizable via css, so we generally recommend integration of the complete library instead.

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

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

Keywords

FAQs

Last updated on 24 Mar 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc