Socket
Book a DemoInstallSign in
Socket

@belvo/belvo-configcat-client

Package Overview
Dependencies
Maintainers
0
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@belvo/belvo-configcat-client

``` npm install @belvo/belvo-configcat-client ```

0.3.7
latest
Source
npmnpm
Version published
Weekly downloads
169
-37.64%
Maintainers
0
Weekly downloads
 
Created
Source

configcat-client-wrapper

Install package

npm install @belvo/belvo-configcat-client

Import

import FeatureFlagClient from '@belvo/belvo-configcat-client'

How to use it

Auto Poll (120s)

FLAG_LIST = [{ name: 'flagKeyName', user: {}}]

const config = { featureFlags: FLAG_LIST, emittedEventName: 'onFeatureFlagValueChanged', configCatApiKey }
const featureFlag = FeatureFlagClient(config)
featureFlag.client.handler.on('onFeatureFlagValueChanged', onValueChanged)

Manual Poll

const config = {
  apiKey,
  mode: 'manual_poll'
}
const featureFlagClient = new FeatureFlagClient(config)
await featureFlagClient.client.forceRefreshAsync()
this.featureFlagClient = featureFlagClient

Then when you want to fetch the value:

const featureFlagValue = await this.featureFlagClient.client.getValueAsync(featureFlag, false, userProps)

## :busts_in_silhouette: Contributing


If you wish to submit a pull request, please be sure check the items on this list:
- [ ] Tests related to the changed code were executed
- [ ] The source code has been coded following the OWASP security best practices (https://owasp.org/www-pdf-archive/OWASP_SCP_Quick_Reference_Guide_v2.pdf).
- [ ] Commit message properly labeled
- [ ] There is a ticket associated to each PR. 

FAQs

Package last updated on 22 Jul 2025

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.