How to use the unleash-client.initialize function in unleash-client

To help you get started, we’ve selected a few unleash-client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github wellcometrust / wellcomecollection.org / common / services / unleash / feature-toggles.js View on Github external
function init(options) {
  return initialize(Object.assign(options, {
    url: 'https://weco-feature-flags.herokuapp.com/api/',
    refreshInterval: 60 * 1000,
    strategies: [new ActiveForUserInCohort(), new UserEnabled()]
  }));
}

unleash-client

Unleash Client for Node

Apache-2.0
Latest version published 17 days ago

Package Health Score

86 / 100
Full package analysis