JavaScript, Node, Deno
Welcome to the Comprehensive Guide for Flagship JavaScript / TypeScript / NodeJS & Deno SDK!
This documentation is your one-stop resource for integrating Flagship into your JavaScript ecosystem, whether it's client-side or server-side. Our library comes with preconfigured methods designed to simplify the implementation of the Decision API or Bucketing Mode. Let's get started on enhancing your development experience with Flagship!
- Installation: Step-by-step instructions to set up Flagship in your environment.
- Quick Start: Get up and running with Flagship in no time.
- Reference: Detailed API documentation for in-depth understanding.
SDK features
This version of the SDK lets you :
- Set a visitor ID
- Update visitor context
- Assign campaigns via the Decision API or via Bucketing Mode
- Get flag
- Manage visitor consent
- Use Experience Continuity
- Activate campaigns
- Send hits to our Universal Collect
- Manage visitor cache
Prerequisites
NodeJS | Deno |
---|---|
- Your server/device must have an access to the internet. - Node.js: version 6.0.0 or later - NPM: version 3.0.0 or later | - Your server/device must have an access to the internet. - Deno: 1.10.3 or later |
Good to know
NodeJS | Deno |
---|---|
- Github repository: https://github.com/flagship-io/flagship-ts-sdk - SDK runs on both Client and Server-side - Typescript code supported | - Github repository: https://github.com/flagship-io/flagship-ts-sdk - Deno land: https://deno.land/x/flagship_io_js_sdk |
Javascript SDK - Engine compatibility
Our Javascript SDK is compatible with :
- V8 Engine
- Node.js runtime
- Deno
Versions
The latest version of our Javascript SDK is 4.0.2.
Change logs
Find the versions change logs on our Github Repository
Former versions
The documentation of the past versions are available here.
Contact us
Feel free to contact us if you have any questions regarding this documentation.
Updated 4 months ago