Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
import * as flagshipIoJsSdk from "https://deno.land/x/flagship_io_js_sdk@4.0.1/mod.ts";

Classes

The Flagship class represents the SDK. It facilitates the initialization process and creation of new visitors.

Represents a collection of flags.

c
HitAbstract
abstract

The Visitor class represents a unique user within your application. It aids in managing the visitor's data and fetching the corresponding flags for the visitor from the Flagship platform .

Enums

Define the strategy that will be used for hit caching

Enum representing the reasons for fetching Flags.

Represents the status of the flags in the Flagship SDK.

Represents the status of the flags in the Flagship SDK.

Enum representing the status of the Flagship SDK.

Variables

Customer app version code

Customer app version name

Carrier operator

Current device locale

Current device model

Current device type tablet, pc, server, iot, other

Flagship SDK client name

Flagship SDK version name

Current visitor id

Current customer app interface name

Internet connection type : 4G, 5G, Fiber

Device public ip

Current visitor city

Current visitor country

Current visitor latitude

Current visitor longitude

Current visitor region

OS name

OS version code

OS version name

Interfaces

Represents the configuration options for the Flagship SDK.

This class represents a flag in the Flagship SDK. It helps you retrieve the flag value, access flag metadata, expose the flag, verify the flag's existence, and get the flag status

Represents a collection of flags.