@sprig-technologies/sprig-browser
TypeScript icon, indicating that this package has built-in type declarations

2.31.2 • Public • Published

Install with NPM/Yarn

Use the following shell command to install the Sprig SDK. We recommend you update the package regularly for improved functionality and bug fixes. With this installation method, Sprig will be bundled with the rest of your frontend application and be immediately accessible upon page load.

npm install --save @sprig/sprig-browser

Then, in your application, initialize Sprig with your ENVIRONMENT_ID:

import sprig from '@sprig/sprig-browser';
// or with require() syntax:
// const sprig = require('@sprig/sprig-browser');

export const Sprig = sprig.configure({
  environmentId: 'ENVIRONMENT_ID',
}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @sprig-technologies/sprig-browser

      Weekly Downloads

      28,266

      Version

      2.31.2

      License

      See LICENSE file

      Unpacked Size

      692 kB

      Total Files

      21

      Last publish

      Collaborators

      • sprigtechnologiesdev