js-client-sdk

Home > @eppo/js-client-sdk > getInstance

getInstance() function

Used to access a singleton SDK client instance. Use the method after calling init() to initialize the client.

Signature:

export declare function getInstance(): EppoJSClient;

Returns:

EppoJSClient

a singleton client instance